fix(ci): lint TRACKER_RE false-negative on mid-sentence tracker refs #750

Merged
hongming-pc2 merged 1 commits from ci/lint-tracker-regex-fix-v2 into main 2026-05-12 17:58:18 +00:00

1 Commits

Author SHA1 Message Date
22acf8721e fix(ci): lint TRACKER_RE false-negative on mid-sentence tracker refs
Some checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 4s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 7s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 10s
CI / Detect changes (pull_request) Successful in 15s
E2E API Smoke Test / detect-changes (pull_request) Successful in 16s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 21s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 22s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 23s
gate-check-v3 / gate-check (pull_request) Successful in 17s
qa-review / approved (pull_request) Failing after 11s
sop-checklist / all-items-acked (pull_request) [soft-fail tier:low] acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4
CI / Platform (Go) (pull_request) Successful in 6s
security-review / approved (pull_request) Failing after 12s
sop-checklist-gate / gate (pull_request) Successful in 13s
CI / Canvas (Next.js) (pull_request) Successful in 6s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 5s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m7s
sop-tier-check / tier-check (pull_request) Successful in 15s
CI / Python Lint & Test (pull_request) Successful in 7s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 1m14s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m26s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 8s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 9s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 5s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m27s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 5s
CI / all-required (pull_request) Successful in 4s
audit-force-merge / audit (pull_request) Successful in 9s
Two fixes bundled here (same bug class — TRACKER_RE misses trackers):

1. lint_continue_on_error_tracking.py: TRACKER_RE required a leading
   `#` comment marker followed by whitespace before the tracker slug.
   Fixed by removing the `\#\s*` anchor so the regex scans the
   entire comment line for the `mc#NNN` / `internal#NNN` pattern.

2. lint-continue-on-error-tracking.yml: Added inline tracker comment
   `# internal#350 Phase 3 mask — 14d forced-renewal cadence` to the
   lint job's own `continue-on-error: true` directive.

Both changes are Python/YAML only — no platform code changes.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-12 17:57:40 +00:00