fix: ignore generated artifacts in the sample .mutiny directory - #86
Merged
CodewithJha merged 1 commit intoSep 24, 2026
Merged
Conversation
|
@fatihcvs is attempting to deploy a commit to the priyanshu's projects Team on Vercel. A member of the Team first needs to authorize it. |
CodewithJha
approved these changes
Sep 24, 2026
Owner
|
Merged — thank you @fatihcvs. Exactly the kind of contributor-workflow hygiene Mutiny needs: sample If you'd like to continue working on Mutiny, these would be good related areas to look at:
No pressure — only if you want another one. |
10 tasks
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
Fixes #73. Replace the recursive un-ignore of the sample .mutiny directory with an explicit allowlist for adapter.py and init.py. Bytecode and generated campaign regressions remain ignored; the shipped adapter sources remain tracked.
Type of change
Checklist
Test plan
mutiny runwith MUTINY_SAMPLE_OFFLINE=1 and model keys unset. It completed a local campaign and wrote.mutiny/tests/cli_discovered_violation.json.git check-ignore -v --no-indexnow confirms bytecode and generated JSON are ignored, while the two source files match explicit negations.git ls-files --error-unmatchconfirms both remain tracked. The sample tree stays clean in git status.pytest tests/unit -q --tb=short: 376 passed on Python 3.12.14. The existing tracked-trace side effect was reverted after testing; test: isolate persisted violation traces from committed examples #85 addresses that separately.git diff --checkpassed.Independent branch from main; includes neither #83 nor #85.