You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: two compileall command blocks pass a hyphenated package name, so they compile nothing and still exit 0 #3447
agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a templateagent-workingAn agent has claimed this issue (the claim comment names the branch)
Two docs/ command blocks run python3 -m compileall -q flybot-workspace tests. The package directory is flybot_workspace (underscore), so the hyphenated argument matches nothing: compileall prints Can't list 'flybot-workspace' on stdout (stderr stays empty) and still exits 0. The command looks green while the package is never byte-compiled.
.github/workflows/tests.yml:64 already uses the correct name (python -m compileall -q flybot_workspace tests), so this is documentation only; CI never exercises the typo.
Measured (local, not CI)
On fdf0b8603d327d7ee4522048efe63c6bd7071020 in a clean venv (Python 3.11.18, PyYAML present), copying the MANAGEMENT_API.md:12-20 block line by line:
Isolated to that single line: flybot_workspace/ gains 0__pycache__ directories, tests/ gains 2. The package is untouched.
With the correct name, python3 -m compileall -q flybot_workspace tests -> exit 0, stderr empty, and flybot_workspace/ gains 2 __pycache__ directories.
Same failure class as #3442: an exit code of 0 while the command did not do what it claims.
Acceptance
Neither doc contains compileall with flybot-workspace.
From a clean checkout, the corrected line exits 0 with empty stderr and leaves __pycache__ directories under flybot_workspace/.
Only these two documentation lines change (plus one guard test if step 4 is taken); no code, workflow, or other doc edit.
Recommended, droppable by the maintainer: a guard test that reads docs/**/*.md, finds every compileall -q <dir> <dir>, and asserts each directory exists at the repo root — so the next rename cannot silently bring this back.
Notes
docs/UI_SURFACES_DISPATCH.md:8 already says compileall -q under python -m without naming a directory; it needs no change.
Claiming this docs slice now that #3445 has landed (main 63b36a9193c77703079858fb6599412c4fb6120e, tree cb65483c), so the two compileall lines are cut from the current file contents rather than from a pre-#3445 tree.
Branch dev/3447-docs-compileall-underscore, cut from that commit. Scope: the two documented lines (docs/MANAGEMENT_API.md:13, docs/RUNTIME_IMPLEMENTATION.md:54) plus, if the maintainer keeps it, one guard test that reads the docs and asserts each compileall -q <dir> names an existing directory.
Out of scope: docs/UI_SURFACES_DISPATCH.md:8 (it names no directory), any change to .github/workflows/tests.yml (already correct), and any application code.
Evidence already on the table from the #3444 work, local and not CI: the hyphenated line exits 0 with stderr Can't list 'flybot-workspace' and leaves zero __pycache__ under flybot_workspace/; the corrected name exits 0 with empty stderr and compiles the package.
The report said the complaint is printed on stderr. It is not: compileall uses a bare print(), so Can't list 'flybot-workspace' goes to stdout - 30 B measured on the patched
tree, stderr 0 B, exit 0, and 0 __pycache__ directories under flybot_workspace/. With the
corrected argument both streams are empty, exit is 0, and flybot_workspace/ gains 2 __pycache__ directories (57 .pyc files on the merged tree). The issue body now carries the
corrected stream; the first revision of the pull request description carried the same mistake
and was corrected there too.
Landed as 28a5b2eb5a8250d15e69f7674db584e63b44fa59 (tree 03e3755c, parent 3b8d3fa6),
2 files +2/-2, blobs 4ddf2ed2 and 12c3f636; both blocks now read python3 -m compileall -q flybot_workspace tests at MANAGEMENT_API.md:14 and
RUNTIME_IMPLEMENTATION.md:54.
The wider class this belongs to - a command that exits 0 without doing what it claims - is not
closed by this change and is not claimed to be. This issue only fixes the two documentation
lines that taught the broken argument.
agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a templateagent-workingAn agent has claimed this issue (the claim comment names the branch)
Activity
Birfy commentedon Nov 29, 2026
Claiming this docs slice now that #3445 has landed (main
63b36a9193c77703079858fb6599412c4fb6120e, treecb65483c), so the twocompilealllines are cut from the current file contents rather than from a pre-#3445 tree.Branch
dev/3447-docs-compileall-underscore, cut from that commit. Scope: the two documented lines (docs/MANAGEMENT_API.md:13,docs/RUNTIME_IMPLEMENTATION.md:54) plus, if the maintainer keeps it, one guard test that reads the docs and asserts eachcompileall -q <dir>names an existing directory.Out of scope:
docs/UI_SURFACES_DISPATCH.md:8(it names no directory), any change to.github/workflows/tests.yml(already correct), and any application code.Evidence already on the table from the #3444 work, local and not CI: the hyphenated line exits 0 with stderr
Can't list 'flybot-workspace'and leaves zero__pycache__underflybot_workspace/; the corrected name exits 0 with empty stderr and compiles the package.docs: compile the real package directory in two run-the-tests blocks
Birfy commentedon Nov 29, 2026
Correction and close.
The report said the complaint is printed on stderr. It is not:
compilealluses a bareprint(), soCan't list 'flybot-workspace'goes to stdout - 30 B measured on the patchedtree, stderr 0 B, exit 0, and 0
__pycache__directories underflybot_workspace/. With thecorrected argument both streams are empty, exit is 0, and
flybot_workspace/gains 2__pycache__directories (57.pycfiles on the merged tree). The issue body now carries thecorrected stream; the first revision of the pull request description carried the same mistake
and was corrected there too.
Landed as
28a5b2eb5a8250d15e69f7674db584e63b44fa59(tree03e3755c, parent3b8d3fa6),2 files +2/-2, blobs
4ddf2ed2and12c3f636; both blocks now readpython3 -m compileall -q flybot_workspace testsat MANAGEMENT_API.md:14 andRUNTIME_IMPLEMENTATION.md:54.
The wider class this belongs to - a command that exits 0 without doing what it claims - is not
closed by this change and is not claimed to be. This issue only fixes the two documentation
lines that taught the broken argument.
Closing as completed.