ci: un-mask required real-infra gates (mc#1982) — continue-on-error:false #2152

Closed
molecule-code-reviewer wants to merge 2 commits from ci/unmask-required-real-infra-gates-mc1982 into main
Member

What

Flip continue-on-error: true -> false on both jobs (detect-changes + the integration/e2e job) in:

  • .gitea/workflows/handlers-postgres-integration.yml
  • .gitea/workflows/e2e-api.yml

Why (mc#1982)

These two real-infra contexts (Handlers Postgres Integration, E2E API Smoke Test) are already listed as required on branch protection. But continue-on-error: true made each job report success even when its steps failed — so the required gate could never actually block a bad merge. It was a green-on-red mask.

Flipping to false un-masks them: a failing run now reports failure and the required check does its job.

Expect red — that is the point

This PR's own CI will run both workflows. If the underlying real-infra tests are currently broken, this PR will go red, and that red is the signal we want — it surfaces the real failures the mask was hiding.

Merge requirement: do NOT merge until the underlying tests are green on this branch. If CI is red here, fix the underlying handlers-postgres / e2e-api failures first (separate change), then this un-mask lands clean.

Not a draft on purpose — we want the CI to run.

mc#1982 Phase 3 follow-through (root-fix + remove the mask, do not renew it silently).

## What Flip `continue-on-error: true` -> `false` on **both** jobs (`detect-changes` + the integration/e2e job) in: - `.gitea/workflows/handlers-postgres-integration.yml` - `.gitea/workflows/e2e-api.yml` ## Why (mc#1982) These two real-infra contexts (`Handlers Postgres Integration`, `E2E API Smoke Test`) are **already listed as required** on branch protection. But `continue-on-error: true` made each job report **success even when its steps failed** — so the required gate could never actually block a bad merge. It was a green-on-red mask. Flipping to `false` un-masks them: a failing run now reports failure and the required check does its job. ## Expect red — that is the point This PR's **own CI** will run both workflows. If the underlying real-infra tests are currently broken, **this PR will go red**, and that red is the signal we want — it surfaces the real failures the mask was hiding. **Merge requirement:** do NOT merge until the underlying tests are green on this branch. If CI is red here, fix the underlying handlers-postgres / e2e-api failures first (separate change), then this un-mask lands clean. Not a draft on purpose — we want the CI to run. mc#1982 Phase 3 follow-through (root-fix + remove the mask, do not renew it silently).
molecule-code-reviewer added 2 commits 2026-06-03 00:32:38 +00:00
Flip continue-on-error true->false on both jobs so this already-required
real-infra context can actually block instead of posting a green status
on a red run.
ci: un-mask e2e-api required gate (mc#1982)
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 8s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Failing after 1s
E2E Chat / detect-changes (pull_request) Successful in 11s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 9s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 3s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 3s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 3s
CI / Python Lint & Test (pull_request) Successful in 27s
E2E API Smoke Test / detect-changes (pull_request) Successful in 34s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 20s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 29s
qa-review / approved (pull_request_target) Failing after 13s
security-review / approved (pull_request_target) Failing after 13s
gate-check-v3 / gate-check (pull_request_target) Successful in 18s
sop-checklist / review-refire (pull_request_target) Has been skipped
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 52s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 58s
CI / Canvas (Next.js) (pull_request) Successful in 1s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 1s
CI / Platform (Go) (pull_request) Successful in 5s
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-tier-check / tier-check (pull_request_target) Successful in 10s
sop-checklist / all-items-acked (pull_request_target) Successful in 11s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Failing after 1m5s
CI / all-required (pull_request) Successful in 9s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 7s
E2E Chat / E2E Chat (pull_request) Successful in 7s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m18s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m11s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 1m2s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m31s
audit-force-merge / audit (pull_request_target) Has been skipped
3b817346e1
Flip continue-on-error true->false on both jobs so this already-required
real-infra context can actually block instead of posting a green status
on a red run.
Author
Member

MECHANISM: PR #2165 demonstrates a gate-honesty edge in the continue-on-error burn-down path: CI / all-required (pull_request) can be green while the continue-on-error meta-lints are red, because the main sentinel in .gitea/workflows/ci.yml:528-534 aggregates only changes, platform-build, canvas-build, shellcheck, and python-lint. The two CoE workflows are separate BP-exempt meta-lints: .gitea/workflows/lint-continue-on-error-tracking.yml:91-102 and .gitea/workflows/lint-pre-flip-continue-on-error.yml:95-103 both still declare continue-on-error: true as Phase 3 surface-only gates.

EVIDENCE: Direct status read for #2165 head f2c56b38 showed CI / all-required (pull_request) success while lint-continue-on-error-tracking failed and Lint pre-flip continue-on-error failed. The logs reported continue-on-error: true ... mc#1982 ... and 2/4 flip(s) failed pre-flip verification. This is expected interim-red for #2165, but it means a PM/CTO digest must not treat CI / all-required green as sufficient during the CoE burn-down window.

RECOMMENDED FIX SHAPE: Keep #2165 sequencing explicit: either leave the CoE meta-lints BP-exempt until their Phase-4 flip is deliberately approved, or add a separate required aggregate/status for CoE burn-down readiness. The responsible surfaces are molecule-core/.gitea/workflows/lint-continue-on-error-tracking.yml, lint-pre-flip-continue-on-error.yml, and the branch-protection/digest contract, not application code. The invariant should be: any PR that changes CoE masks is not READY-TO-MERGE unless the CoE meta-lints are green or the CTO has explicitly accepted the Phase-3 exception.

MECHANISM: PR #2165 demonstrates a gate-honesty edge in the continue-on-error burn-down path: `CI / all-required (pull_request)` can be green while the continue-on-error meta-lints are red, because the main sentinel in `.gitea/workflows/ci.yml:528-534` aggregates only `changes`, `platform-build`, `canvas-build`, `shellcheck`, and `python-lint`. The two CoE workflows are separate BP-exempt meta-lints: `.gitea/workflows/lint-continue-on-error-tracking.yml:91-102` and `.gitea/workflows/lint-pre-flip-continue-on-error.yml:95-103` both still declare `continue-on-error: true` as Phase 3 surface-only gates. EVIDENCE: Direct status read for #2165 head `f2c56b38` showed `CI / all-required (pull_request)` success while `lint-continue-on-error-tracking` failed and `Lint pre-flip continue-on-error` failed. The logs reported `continue-on-error: true ... mc#1982 ...` and `2/4 flip(s) failed pre-flip verification`. This is expected interim-red for #2165, but it means a PM/CTO digest must not treat `CI / all-required` green as sufficient during the CoE burn-down window. RECOMMENDED FIX SHAPE: Keep #2165 sequencing explicit: either leave the CoE meta-lints BP-exempt until their Phase-4 flip is deliberately approved, or add a separate required aggregate/status for CoE burn-down readiness. The responsible surfaces are `molecule-core/.gitea/workflows/lint-continue-on-error-tracking.yml`, `lint-pre-flip-continue-on-error.yml`, and the branch-protection/digest contract, not application code. The invariant should be: any PR that changes CoE masks is not READY-TO-MERGE unless the CoE meta-lints are green or the CTO has explicitly accepted the Phase-3 exception.
core-be closed this pull request 2026-06-03 04:47:02 +00:00
Some checks are pending
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 8s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Failing after 1s
E2E Chat / detect-changes (pull_request) Successful in 11s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 9s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 3s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 3s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 3s
CI / Python Lint & Test (pull_request) Successful in 27s
E2E API Smoke Test / detect-changes (pull_request) Successful in 34s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 20s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 29s
qa-review / approved (pull_request_target) Failing after 13s
security-review / approved (pull_request_target) Failing after 13s
gate-check-v3 / gate-check (pull_request_target) Successful in 18s
sop-checklist / review-refire (pull_request_target) Has been skipped
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 52s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 58s
CI / Canvas (Next.js) (pull_request) Successful in 1s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 1s
CI / Platform (Go) (pull_request) Successful in 5s
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-tier-check / tier-check (pull_request_target) Successful in 10s
sop-checklist / all-items-acked (pull_request_target) Successful in 11s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Failing after 1m5s
CI / all-required (pull_request) Successful in 9s
Required
Details
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 7s
E2E Chat / E2E Chat (pull_request) Successful in 7s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m18s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m11s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 1m2s
Required
Details
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m31s
Required
Details
audit-force-merge / audit (pull_request_target) Has been skipped
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2152