Skip to content

fix: crucible_check.py zero-dep venv missing PyYAML - #727

Merged
squid-protocol merged 1 commit into
mainfrom
fix/crucible-check-zero-dep-pyyaml
Jul 29, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/crucible-check-zero-dep-pyyaml

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

crucible_check.py's zero-dep venv path never ran a plain pip install -e ., only the
--no-deps refresh, so it never picked up pyproject.toml's core dependencies (PyYAML is a
hard requirement, not a full-precision extra). Caught immediately dogfooding the script
against a clean main while verifying #617 -- produced a spurious single-field diff
(Missing Dependencies/pyyaml) with no real code behind it.

Test plan

  • Deleted and rebuilt .crucible_venvs/zero_dependency -- crucible_check.py --mode both
    now reports clean PASS on both legs against unmodified main.

🤖 Generated with Claude Code

Found while verifying #617 (yaml strict-parsing) end-to-end: the zero-dep
venv path never ran a plain `pip install -e .`, only the --no-deps refresh
step, so it never picked up pyproject.toml's core dependencies (PyYAML is
a hard requirement, not a "full-precision" extra like networkx/tiktoken).
This produced a spurious single-field golden_crucible diff ("Missing
Dependencies/pyyaml": expected False, got True) unrelated to any real code
change -- caught immediately by using the script against a clean main
checkout, i.e. exactly the kind of drift this script exists to catch.

Fix: run one full (non --no-deps) install at venv-creation time so core
deps land, before the "full precision" extras (if any) go on top. The
always-run refresh step stays --no-deps, since core deps are already
satisfied after creation.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 903e626 into main Jul 29, 2026
27 checks passed
@squid-protocol
squid-protocol deleted the fix/crucible-check-zero-dep-pyyaml branch July 29, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant