Repository navigation
ci: harden workflow reproducibility and evidence gates - #1587
Merged
Merged
Conversation
AlexStocks
requested review from
PsiACE and
Teingi
and
a lite review from Copilot
and removed request for
PsiACE and
Teingi
September 13, 2026 23:31
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The broad CI and security hardening changes warrant final human review.
Pull request overview
This PR hardens CI reproducibility, permissions, timeouts, and E2E evidence validation without changing product behavior.
Changes:
- Pins external actions and scanner images to immutable SHAs.
- Adds concurrency, timeouts, least-privilege permissions, and credential protections.
- Enforces fail-closed evidence scanning with bounded diagnostics.
File summaries
| File | Summary |
|---|---|
.github/workflows/release.yml |
Hardens release jobs and pins actions. |
.github/workflows/release-verify.yml |
Adds timeout and immutable action pins. |
.github/workflows/native-service.yml |
Adds CI safeguards across platforms. |
.github/workflows/master.yml |
Adds permissions, concurrency, timeouts, and pins. |
.github/workflows/license-check.yml |
Adds read permissions and pinned actions. |
.github/workflows/e2e-harness.yml |
Enforces secure evidence scanning and diagnostics. |
.github/workflows/deploy-docs.yml |
Hardens documentation deployment. |
.github/workflows/build-docker.yml |
Pins Docker tooling and hardens checkout. |
.github/workflows/build-artifacts.yml |
Pins build dependencies and hardens checkout. |
.github/actions/setup-python-env/action.yml |
Pins composite-action dependencies. |
Review details
- Files reviewed: 10/10 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
This maintenance PR brings the following CI hardening patterns from
powercontext-goto the Python repository:The existing Python workflow topology, SQLite/OceanBase acceptance matrix, release jobs, and product behavior are unchanged. Go-specific build and release gates are intentionally out of scope.
Verification
actionlinton all tracked workflow files: passedgit diff --check: passedmake contract-test: passed (48 tests)make harness-sync && make harness-check: passed (34 tests)make check: YAML, formatting, and Ruff checks passed; the existing baselinetystage remains blocked by 7 unrelated diagnostics insrc/powercontext/builtin/runtime/artifact_processing.pyandtests/builtin/runtime/test_artifact_processing.pyNo issue is referenced because this is a bounded CI maintenance change rather than an implementation of an existing issue.