fix(ci): launch dependabot catalog sync through the contract launcher - #132
Merged
Merged
Conversation
The bare 'python3 -I trusted/scripts/sync_action_catalog.py' invocation predates the ci_workflows_tools verified-file-spec package migration, so every convergence run failed with ModuleNotFoundError. Build the trusted venv and launch the synchronizer through check_python_execution_contract like every other repository tool invocation. Signed-off-by: rldyourmnd <danil@nddev.it.com>
This was referenced Sep 21, 2026
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
dependabot-catalog-convergenceranpython3 -I trusted/scripts/sync_action_catalog.py— an invocation shape that predates theci_workflows_toolsverified-file-spec migration (Sep 7). Since then every real convergence run failed withModuleNotFoundError(e.g. runs 35569377712 and 35585947605); the job only fires on failed Dependabot PR runs, so the breakage went unnoticed.The fix mirrors
ci.yml: set up Python 3.13 + uv, build the trusted venv undertrusted/.venv, and launch the synchronizer throughcheck_python_execution_contract.py --launch— the canonical repository tool invocation.tools.ymlgains the twoused_byentries;CHANGELOG.mdrecords the fix under Unreleased.Test plan
validate_all.py --tier core— OK (tool-registry, python-execution-contract, workflow-contracts all green)generate_docs.py --check— OKactionlinton the workflow — cleanzizmor@1.26.1 --persona pedanticon the workflow — no findingsPermissions diff
None — no permission, trigger, or secret changes; two pinned setup actions added (both already registered in
catalog/tools.yml).Threat-model note
The job retains its trust boundary: the synchronizer still runs from the trusted default-branch checkout only, the candidate stays a data worktree, and no candidate code executes.
Generated with Devin