test(e2e): guard staging orphan cleanup coverage #1784

Merged
hongming merged 1 commits from fix/e2e-orphan-guard into main 2026-05-24 06:19:47 +00:00
Owner

Summary\n- extend the required e2e cleanup hygiene lint to cover staging tenant org lifecycle scripts\n- require CP org lifecycle staging scripts to use an EXIT trap and a stale-sweeper-covered slug prefix\n- assert the scheduled stale e2e org sweeper still covers the canonical e2e-/rt-e2e- prefixes\n\n## Verification\n- bash tests/e2e/lint_cleanup_traps.sh\n- bash tests/e2e/test_aws_leak_check.sh\n- bash tests/e2e/test_model_slug.sh\n- find tests/e2e infra/scripts -type f -name '*.sh' -print0 | xargs -0 shellcheck --severity=warning && bash tests/e2e/lint_cleanup_traps.sh && bash tests/e2e/test_model_slug.sh

## Summary\n- extend the required e2e cleanup hygiene lint to cover staging tenant org lifecycle scripts\n- require CP org lifecycle staging scripts to use an EXIT trap and a stale-sweeper-covered slug prefix\n- assert the scheduled stale e2e org sweeper still covers the canonical e2e-/rt-e2e- prefixes\n\n## Verification\n- bash tests/e2e/lint_cleanup_traps.sh\n- bash tests/e2e/test_aws_leak_check.sh\n- bash tests/e2e/test_model_slug.sh\n- find tests/e2e infra/scripts -type f -name '*.sh' -print0 | xargs -0 shellcheck --severity=warning && bash tests/e2e/lint_cleanup_traps.sh && bash tests/e2e/test_model_slug.sh
hongming added 1 commit 2026-05-24 06:17:02 +00:00
test(e2e): guard staging orphan cleanup coverage
ci-arm64-advisory / fast-checks (pull_request) Waiting to run
CI / Python Lint & Test (pull_request) Successful in 11s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 12s
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Successful in 10s
E2E API Smoke Test / detect-changes (pull_request) Successful in 21s
CI / Detect changes (pull_request) Successful in 22s
E2E Chat / detect-changes (pull_request) Successful in 19s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 12s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 17s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 13s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 13s
gate-check-v3 / gate-check (pull_request) Successful in 7s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 11s
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / review-refire (pull_request) Has been skipped
sop-checklist / all-items-acked (pull_request) Successful in 13s
security-review / approved (pull_request) Failing after 13s
qa-review / approved (pull_request) Failing after 13s
sop-tier-check / tier-check (pull_request) Successful in 11s
CI / Platform (Go) (pull_request) Successful in 6s
CI / Canvas (Next.js) (pull_request) Successful in 4s
E2E Chat / E2E Chat (pull_request) Successful in 4s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 16s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m4s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 9s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
CI / all-required (pull_request) Successful in 1m40s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m8s
audit-force-merge / audit (pull_request) Successful in 7s
f1571a04ab
core-devops approved these changes 2026-05-24 06:19:21 +00:00
core-devops left a comment
Member

Approved. Focused CI hygiene change: extends the existing required e2e cleanup lint to ensure staging tenant E2E scripts use sweep-covered slug prefixes and EXIT traps. Local required shellcheck path passed, and live PR CI all-required is green.

Approved. Focused CI hygiene change: extends the existing required e2e cleanup lint to ensure staging tenant E2E scripts use sweep-covered slug prefixes and EXIT traps. Local required shellcheck path passed, and live PR CI all-required is green.
infra-sre approved these changes 2026-05-24 06:19:21 +00:00
infra-sre left a comment
Member

Approved. Focused CI hygiene change: extends the existing required e2e cleanup lint to ensure staging tenant E2E scripts use sweep-covered slug prefixes and EXIT traps. Local required shellcheck path passed, and live PR CI all-required is green.

Approved. Focused CI hygiene change: extends the existing required e2e cleanup lint to ensure staging tenant E2E scripts use sweep-covered slug prefixes and EXIT traps. Local required shellcheck path passed, and live PR CI all-required is green.
hongming merged commit 0fc1649a0c into main 2026-05-24 06:19:47 +00:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1784