Format Discord feedback tests - #271
Merged
Merged
Conversation
This was referenced Aug 1, 2026
zardus
added a commit
that referenced
this pull request
Aug 1, 2026
## Summary - recreate /run/dojo/sys/workspace/privileged for local pwnshop workspaces - expose the legacy standard-workspace value zero plus newline with mode 0444 - keep workspace practice mode separate from challenge privilege and runtime selection ## Why Production Dojo provides this file through its read-only DojoFS mount. The local Nix workspace does not. Legacy Green /usr/local/bin/vm helpers read it on every non-root invocation and otherwise fail with FileNotFoundError. Restoring this ambient workspace contract centrally avoids changing any challenge. ## Verification - targeted formatter check: clean - workspace-agent packages build with go test ./... - independent mainline workspace launch as uid 1000: value zero, mode 0444 - integration-stack real solves from kernel-security, speculative-execution, and system-exploitation: 3 challenges / 6 testcases ## CI prerequisite The formatter-only fix in #271 is merged into main.
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.
Format the Discord feedback unit test with the repository's configured Ruff formatter.
This is a mechanical one-file change needed to restore the repository-wide
nix-fmtcheck on currentmainand unblock otherwise-clean PRs.Validation:
nix fmt --no-write-lock-file -- tools/feedback/tests/test_discord_feedback.pynix develop --command python -m unittest tools/feedback/tests/test_discord_feedback.py(36 tests)