Repository navigation
Fresh-clone fix: tests pass in any checkout dir name; final proof - #7
Merged
Merged
Conversation
Co-Authored-By: bot_apk <apk@cognition.ai>
Co-Authored-By: bot_apk <apk@cognition.ai>
Co-Authored-By: bot_apk <apk@cognition.ai>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
I ran
make proveon a fresh clone in~/fresh-mandateand all 112 tests errored at setup. The cause: the checkout root is the plugin package, and because of its root__init__.py, pytest makes a Package node for the root and imports__init__.py. When the directory name is not an identifier (herefresh-mandate), that file is imported standalone, andfrom .mandate_core.plugin import registerfails. CI and a defaultgit cloneboth usemandate, which is why this never showed up.make provedid exit non-zero (2) on the failure, so it was not hidden.fresh-mandateandmandate2clones.make provepasses on this branch (validate passed, 73/73 escapes, 0/4 off-policy calls executed while enforcing, 7/7 legit calls succeeded).proof/was regenerated on commitf35af95(the code commit). Later commits change only NOTES.md.Link to Devin session: https://app.devin.ai/sessions/8fa4e83187cf4cf39131a2aa5940f3b3
Open in Devin Desktop: https://app.devin.ai/desktop/session/8fa4e83187cf4cf39131a2aa5940f3b3?variant=devin