ci: raise golangci-lint to 30m, job ceiling to 60m for cold runner headroom (mc#1099)
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Waiting to run
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Waiting to run
lint-required-no-paths / lint-required-no-paths (pull_request) Waiting to run
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Waiting to run
Secret scan / Scan diff for credential-shaped strings (pull_request) Waiting to run
sop-checklist / all-items-acked (pull_request) Waiting to run
sop-tier-check / tier-check (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 19s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 39s
CI / Detect changes (pull_request) Successful in 1m10s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 39s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 38s
E2E API Smoke Test / detect-changes (pull_request) Successful in 1m49s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 1m41s
gate-check-v3 / gate-check (pull_request) Failing after 53s
security-review / approved (pull_request) Failing after 53s
qa-review / approved (pull_request) Failing after 55s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 1m34s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Successful in 3m48s
lint-mask-pr-atomicity / lint-mask-pr-atomicity (pull_request) Successful in 3m49s
CI / Python Lint & Test (pull_request) Successful in 8m5s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 8s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 10s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 9s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 6s
CI / Platform (Go) (pull_request) Failing after 19m19s
CI / all-required (pull_request) Failing after 19m59s
CI / Canvas (Next.js) (pull_request) Successful in 20m19s
CI / Canvas Deploy Reminder (pull_request) Successful in 7s

This commit is contained in:
2026-05-15 11:04:02 +00:00
parent ff4c0b137a
commit 99b1c6be36
+10 -9
View File
@@ -146,11 +146,11 @@ jobs:
# Flip confirmed by CI / Platform (Go) status = success on main HEAD 363905d3.
continue-on-error: false
# Job-level ceiling. The go test step below runs with a per-step 40m timeout;
# this cap catches any step that leaks past that. Set well above 40m so
# the per-step timeout is the active constraint. Raised to 50m
# to account for golangci-lint ~10m on cold runner (--no-config) plus
# test suite ~16-20m on cold runner (mc#1099).
timeout-minutes: 50
# this cap catches any step that leaks past that. Set to 60m to account
# for golangci-lint ~15-20m on cold runner (--no-config, all default linters,
# plus 5-10m of pre-lint setup) plus test suite ~16-20m on cold runner
# = ~31-40m total (mc#1099).
timeout-minutes: 60
defaults:
run:
working-directory: workspace-server
@@ -176,10 +176,11 @@ jobs:
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.12.2
- if: success()
name: Run golangci-lint
# mc#1099: --no-config bypasses .golangci.yaml ceiling; --timeout 20m
# is the active constraint (raised from 10m after observing ~18m on cold
# runner — the entire budget before the test step even starts).
run: $(go env GOPATH)/bin/golangci-lint run --no-config --timeout 20m ./...
# mc#1099: --no-config bypasses .golangci.yaml ceiling; --timeout 30m
# is the active constraint. Cold runner: fetch-depth:0 clone (5-10m) + Go
# toolchain (5-10m) + mod download (2-5m) + build + vet + install lint
# (5m) = ~15-20m before linting even starts. 30m gives headroom.
run: $(go env GOPATH)/bin/golangci-lint run --no-config --timeout 30m ./...
- if: success()
name: Diagnostic — per-package verbose 600s
run: |