Repository navigation
ci: hash-pinned installs for our own workflows, pip-install gate, unpinned_install rule (Part of #4918) - #4942
Conversation
….0 action bump and pre-full-extra versions (Part of #4918) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…install gate; SHA-pin remaining uses (Part of #4918) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… as GG-SAST-UNPINNED_INSTALL (Part of #4918) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ALL rule (+82 results on corpus YAML, nothing removed) (Part of #4918) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…hat the workflow installs the hashed set (Part of #4918) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
|
PR #4942 @ 6d496f2: 1 failed check(s) == graph-accuracy-audit (failure) -- real |
Part of #4918 (steps 2-4 + the #4931 review follow-ups). Step 1 landed in #4931.
What changed
GG_REFmoved from the branch commit to the ci: hash-pin the shipped surface: templates and action.yml (Part of #4918) #4931 merge commit37e7187(stamp_template_pins.py). Template/action comments now record that the@v2.4.0action bump waits for the release that shipstemplates/requirements/, and that an explicitversion:of a release older than thefullextra drops the ML engines.ci/requirements/*.in->*.txt(uv pip compile --generate-hashes --universal,tests/tools/pin_ci_requirements.sh): bootstrap (pip/setuptools/wheel/build), engines, pytest, test, yaml, treesitter (==1.20.0, the pin smoke/full-suite already used), docs, lint, callgraph. Everypip install <name>in.github/workflows/*andbitbucket-pipelines.ymlis nowpip install --require-hashes -r ci/requirements/<set>.txt;-einstalls keep working because the pins are installed first.gitgalaxy.ymland the root bitbucket file install the repo's owntemplates/requirements/*.txt. Dependabot gets a groupedpipentry for/ci/requirements. Pins only: no triggers, job logic or shepherd touched. Remaining non-SHAuses:(rosetta-audit, publish.yml'srelease/v1, the github template) are SHA-pinned.-r --require-hashesfiles, not-c.tests/core_engine/test_ci_install_pins.py: fails on apip installof a named package without==, a hashed requirements file or a local path, in workflows, templates,action.yml,bitbucket-pipelines.yml; self-tests that it flags unpinned examples; checks lockfiles are hashed, Dependabot watches them, and each-r <path>resolves from the step's cwd.gitgalaxy/security/pipeline_pins.py:unpinned_installon YAML (pip/npm/gem/go/cargo install with no version,curl | bash,uses:not a commit SHA), wired ingalaxyscope.py, SARIFGG-SAST-UNPINNED_INSTALLwith line numbers and a rule descriptor. Tests intest_pipeline_pins.py(each form, pinned forms, line numbers, hostile input, end-to-end SARIF, and "our own pipelines are clean").Evidence (self-scan, galaxyscope on the pipeline surface only)
37e718724^)action.yml, all 5 templates,bitbucket-pipelines.yml, 33 workflowsGolden masters
Both fixtures moved only in
12. Scan Output Snapshots/SARIF: +82GG-SAST-UNPINNED_INSTALLresults on corpus YAML, +1 rule descriptor, 0 removed (verified by diffing old vs new on both legs).Gates
pr_gates --fast5/5,--ratchets7/7 (none skipped),crucible_check.py --update --yesboth legs.Cross-repo
None.
Not covered (see report)
Dockerfile
RUN, shell outside YAML,apt/brew, GitLabimage:/include:, build-isolation setuptools fetched bypip install -e,tests/requirements-mypy.txtunhashed; whether Dependabot opens PRs foruv-compiled lockfiles is unverified until its first run.🤖 Generated with Claude Code