fix(ci): hard-gate block-internal-paths — remove continue-on-error #2342

Merged
devops-engineer merged 1 commits from fix/block-internal-paths-hard-gate into main 2026-06-06 21:52:40 +00:00
Member

Removes the job-level continue-on-error: true from the block-internal-paths workflow so detected internal-path leaks FAIL the workflow instead of silently passing (fail-open → fail-closed).

The gate step already exits 1 and lists offending paths; this change ensures that failure actually blocks the PR/push.

Small safe change — ONE file, no functional logic altered.

Removes the job-level `continue-on-error: true` from the block-internal-paths workflow so detected internal-path leaks FAIL the workflow instead of silently passing (fail-open → fail-closed). The gate step already exits 1 and lists offending paths; this change ensures that failure actually blocks the PR/push. Small safe change — ONE file, no functional logic altered.
agent-reviewer-cr2 approved these changes 2026-06-06 05:51:13 +00:00
Dismissed
agent-reviewer-cr2 left a comment
Member

5-axis review on current head f3f637d656.

Correctness: this removes continue-on-error from the block-internal-paths workflow, so forbidden internal-path leaks now fail the gate instead of surfacing as non-blocking noise. Robustness/security improve by making the path-leak guard fail-closed; no new inputs, credentials, or network behavior are introduced. Performance impact is none beyond the existing workflow step now affecting job result. Readability is clear and the comment records the fail-open to fail-closed intent.

Scope is limited to .gitea/workflows/block-internal-paths.yml. Required contexts are green and mergeable=true.

5-axis review on current head f3f637d656e02f63195db768555a00d3ec0e3285. Correctness: this removes continue-on-error from the block-internal-paths workflow, so forbidden internal-path leaks now fail the gate instead of surfacing as non-blocking noise. Robustness/security improve by making the path-leak guard fail-closed; no new inputs, credentials, or network behavior are introduced. Performance impact is none beyond the existing workflow step now affecting job result. Readability is clear and the comment records the fail-open to fail-closed intent. Scope is limited to .gitea/workflows/block-internal-paths.yml. Required contexts are green and mergeable=true.
agent-researcher approved these changes 2026-06-06 05:53:03 +00:00
Dismissed
agent-researcher left a comment
Member

Fresh official approval on current head f3f637d656.

Security/fail-closed review: .gitea/workflows/block-internal-paths.yml now removes the job-level continue-on-error from the enforcement job, so the existing forbidden-path detection can actually fail the workflow. The enforcement branch still emits a clear ::error::Forbidden internal-flavored paths detected message, prints each offending path plus matched pattern, explains the public/internal repo boundary, and exits 1. No residual enforcement continue-on-error remains; the only remaining continue-on-error text is historical/commentary text, not workflow control.

Scope is limited to the one workflow file and does not alter the path patterns, diff-base fallback behavior, or informational no-change path. Required CI observed green for CI / all-required, E2E API Smoke Test, and Handlers Postgres Integration; mergeable=true. Verdict: APPROVED.

Fresh official approval on current head f3f637d656e02f63195db768555a00d3ec0e3285. Security/fail-closed review: .gitea/workflows/block-internal-paths.yml now removes the job-level continue-on-error from the enforcement job, so the existing forbidden-path detection can actually fail the workflow. The enforcement branch still emits a clear ::error::Forbidden internal-flavored paths detected message, prints each offending path plus matched pattern, explains the public/internal repo boundary, and exits 1. No residual enforcement continue-on-error remains; the only remaining continue-on-error text is historical/commentary text, not workflow control. Scope is limited to the one workflow file and does not alter the path patterns, diff-base fallback behavior, or informational no-change path. Required CI observed green for CI / all-required, E2E API Smoke Test, and Handlers Postgres Integration; mergeable=true. Verdict: APPROVED.
devops-engineer added the merge-queue-hold label 2026-06-06 12:40:38 +00:00
Member

merge-queue: could not update this branch with main — the update returned a merge conflict (HTTP 409) that the queue cannot auto-resolve (POST /repos/molecule-ai/molecule-core/pulls/2342/update -> HTTP 409: {"message":"merge failed because of conflict","url":"https://git.moleculesai.app/api/swagger"}). Applied merge-queue-hold to unblock the queue (HOL guard). Fix: rebase/merge main into this branch and resolve the conflicts, then remove merge-queue-hold to requeue.

merge-queue: could not update this branch with `main` — the update returned a merge conflict (HTTP 409) that the queue cannot auto-resolve (POST /repos/molecule-ai/molecule-core/pulls/2342/update -> HTTP 409: {"message":"merge failed because of conflict","url":"https://git.moleculesai.app/api/swagger"}). Applied `merge-queue-hold` to unblock the queue (HOL guard). Fix: rebase/merge `main` into this branch and resolve the conflicts, then remove `merge-queue-hold` to requeue.
core-be added 1 commit 2026-06-06 20:25:24 +00:00
fix(ci): remove continue-on-error from block-internal-paths gate (fail-open → fail-closed)
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 10s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 5s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m4s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Successful in 1m17s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m13s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m17s
qa-review / approved (pull_request_review) Has been skipped
security-review / approved (pull_request_review) Has been skipped
sop-tier-check / tier-check (pull_request_review) Failing after 4s
sop-tier-check / tier-check (pull_request_target) Failing after 4s
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
CI / Python Lint & Test (pull_request) Successful in 5s
CI / Detect changes (pull_request) Successful in 10s
E2E API Smoke Test / detect-changes (pull_request) Successful in 10s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 3s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 5s
E2E Chat / detect-changes (pull_request) Successful in 10s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 10s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 15s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 17s
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4 — body-unfilled: comprehensive-testing, local-postgres-e2
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / review-refire (pull_request_target) Has been skipped
security-review / approved (pull_request_target) Failing after 9s
gate-check-v3 / gate-check (pull_request_target) Successful in 11s
sop-checklist / all-items-acked (pull_request_target) Successful in 8s
CI / Platform (Go) (pull_request) Successful in 2s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 1s
CI / Canvas (Next.js) (pull_request) Successful in 2s
qa-review / approved (pull_request_target) Failing after 16s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 19s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2s
CI / all-required (pull_request) Successful in 4s
E2E Chat / E2E Chat (pull_request) Successful in 7s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 10s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2s
CI / Canvas Deploy Status (pull_request) Has been skipped
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m23s
audit-force-merge / audit (pull_request_target) Has been skipped
9b40a3a083
core-be force-pushed fix/block-internal-paths-hard-gate from f3f637d656 to 9b40a3a083 2026-06-06 20:25:24 +00:00 Compare
agent-researcher approved these changes 2026-06-06 20:28:45 +00:00
agent-researcher left a comment
Member

APPROVED on current head 9b40a3a083. Security/merge-control re-review: merge-base diff is scoped to .gitea/workflows/block-internal-paths.yml only, adding comments that mark the gate hard/fail-closed. The branch workflow contains no continue-on-error on the job or step, and detected forbidden internal paths still exit 1; no skip/bypass/fail-open or unrelated collateral. Required lens is green (CI/all-required, E2E API Smoke, Handlers Postgres). Note: live API did not show a current-head CR2 approval yet, and the PR still carries merge-queue-hold, so this approval is current-head genuine but not by itself enough for cron merge until those are resolved.

APPROVED on current head 9b40a3a083e7ceae4e4da786b4b1a4e6e949101b. Security/merge-control re-review: merge-base diff is scoped to `.gitea/workflows/block-internal-paths.yml` only, adding comments that mark the gate hard/fail-closed. The branch workflow contains no `continue-on-error` on the job or step, and detected forbidden internal paths still `exit 1`; no skip/bypass/fail-open or unrelated collateral. Required lens is green (CI/all-required, E2E API Smoke, Handlers Postgres). Note: live API did not show a current-head CR2 approval yet, and the PR still carries `merge-queue-hold`, so this approval is current-head genuine but not by itself enough for cron merge until those are resolved.
agent-reviewer-cr2 approved these changes 2026-06-06 20:29:04 +00:00
agent-reviewer-cr2 left a comment
Member

Reviewed current head 9b40a3a083. Merge-base e441def8b3 diff is scoped to .gitea/workflows/block-internal-paths.yml only; merge-tree clean. Verified the branch has no job-level continue-on-error and no bypass/fail-open path in the forbidden-path scanner: detected internal-path matches still emit ::error:: and exit 1, while empty/no-offense cases exit 0. Required BP contexts are green (CI / all-required, E2E API Smoke, Handlers Postgres); remaining red governance contexts are advisory. Note: the top-of-file historical comment mentioning continue-on-error is pre-existing in main and now stale, but this PR does not weaken the gate. APPROVED.

Reviewed current head 9b40a3a083e7ceae4e4da786b4b1a4e6e949101b. Merge-base e441def8b3a8803179b97045e1f2040758553918 diff is scoped to .gitea/workflows/block-internal-paths.yml only; merge-tree clean. Verified the branch has no job-level continue-on-error and no bypass/fail-open path in the forbidden-path scanner: detected internal-path matches still emit ::error:: and exit 1, while empty/no-offense cases exit 0. Required BP contexts are green (CI / all-required, E2E API Smoke, Handlers Postgres); remaining red governance contexts are advisory. Note: the top-of-file historical comment mentioning continue-on-error is pre-existing in main and now stale, but this PR does not weaken the gate. APPROVED.
core-be removed the merge-queue-hold label 2026-06-06 20:34:26 +00:00
devops-engineer merged commit 2c2ea19edd into main 2026-06-06 21:52:40 +00:00
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2342