Skip to content

fix(ci): commit all verifiable builds from one job - #511

Merged
metapileks merged 1 commit into
developfrom
pileks/verifiable-build-concurrency
Dec 3, 2026
Merged

metapileks merged 1 commit into
developfrom
pileks/verifiable-build-concurrency

Conversation

@metapileks

@metapileks metapileks commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Confidence Score: 5/5RetriggerView in Greptile

The PR appears safe to merge.

Summary

The workflow collects successful builds and commits them from one job.

  • The workflow commits successful program builds together.

No actionable issues found.

Reviews (1) · Last reviewed commit: "fix(ci): commit all verifiable builds fr..." · Reviewed by Greptile

@metapileks metapileks self-assigned this Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Repository Guard

  • Cargo.lock: pass
  • yarn.lock (sdk): pass
  • yarn.lock (root): pass
  • Repo guard: pass

Repository Guard

Cargo dependency pinning

  • Status: pass
  • Every programs/*/Cargo.toml dep uses =x.y.z, a path = .. workspace ref, or a git dep with a 40-char rev.

Cross-program Anchor/Solana version consistency

  • Status: pass
  • anchor-lang and anchor-spl are pinned to the version declared in repo-guard.toml across every program.

Anchor.toml solana_version

  • Status: pass
  • Anchor.toml declares solana_version = "4.3.0" (local-dev install for anchor test).

Crate minimum age

  • Status: pass
  • All Cargo deps changed by this PR are at least 14 days old on crates.io.

Yarn package.json pinning

  • Status: pass
  • All package.json deps use exact versions (no ^, ~, ranges).

npm minimum age

  • Status: pass
  • All npm deps changed by this PR are at least 14 days old.

Workflow toolchain consistency

  • Status: pass
  • Every workflow declares anchor-version: 0.32.2.
  • Per-file solana-cli-version values match [toolchain.workflow_solana_cli] in repo-guard.toml.

GitHub Action SHA pinning

  • Status: pass
  • Every third-party action is pinned to a SHA in [actions.sha_allowlist].

Sensitive program / config changes

  • Status: pass
  • No suspicious changes to program IDs, error enums, or sensitive files detected.

Overall status: pass

Lockfile freshness (Cargo.lock + yarn.lock) is checked by the workflow directly and cannot be bypassed. The sensitive-diff section is a review hint - CODEOWNERS handles the actual merge gate.

@greptile-apps

greptile-apps Bot commented Dec 3, 2026

Copy link
Copy Markdown

security Security Review

This PR appears safe to merge from a security standpoint.

What was checked
  • The workflow now gives build jobs a read-only token and only the commit job write access, so dependency build code can no longer push to the branch.
  • The commit job's write token is unreachable from fork PRs because the workflow only runs on pushes to production/develop or manual dispatch, which need repo write access.
  • Downloaded artifacts can only come from this run's fixed build matrix, so no outside job can slip a poisoned .so into the commit.
  • No GitHub-controlled value is interpolated into a shell script step, so there is no command injection path.
  • The branch-tip checkout in the commit job can commit a build made from an older commit, but that matches the old git pull --rebase behavior and anyone can still rebuild from source to compare hashes.

@metapileks
metapileks merged commit 4581097 into develop Dec 3, 2026
6 checks passed
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.

2 participants