Skip to content

fix(e2e): serialize suite teardown on process 1 (ARCH-07) - #57

Merged
konih merged 1 commit into
mainfrom
fix/e2e-synchronized-aftersuite-arch07
Jun 17, 2026
Merged

konih merged 1 commit into
mainfrom
fix/e2e-synchronized-aftersuite-arch07

Conversation

@konih

@konih konih commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace per-process AfterSuite with SynchronizedAfterSuite so only Ginkgo process 1 tears down the shared operator/CRD install after all parallel nodes finish (fixes ARCH-07 deploy race: mkurator-system deleted while other nodes still run specs).
  • Add maintainer task ci:e2e parity tip in docs/DEVELOPMENT.md (KURATOR_E2E_LABEL_FILTER, KURATOR_E2E_NODES=1 retry guidance).

Context

Local task ci:e2e @ 57ab0fe failed with 3 Ginkgo nodes (manager smoke + auth BeforeEach); CI E2E green on same SHA. Retry with KURATOR_E2E_NODES=1 passed smoke/MQ paths (15/16; slow metrics flake unrelated).

Test plan

  • task verify
  • task lint
  • task test:run (91.7%)
  • Local KURATOR_E2E_NODES=3 KURATOR_E2E_LABEL_FILTER='(smoke || mq) && !slow' task ci:e2e
  • CI E2E workflow

AfterSuite ran on every parallel Ginkgo process, so the first node to
finish deleted mkurator-system while others still ran smoke/MQ specs
(ARCH-07). Use SynchronizedAfterSuite so shared operator teardown runs
only after all nodes exit. Document maintainer ci:e2e parity flags.
@konih
konih merged commit bea6b20 into main Jun 17, 2026
14 checks passed
@konih
konih deleted the fix/e2e-synchronized-aftersuite-arch07 branch June 17, 2026 22:14
konih added a commit that referenced this pull request Jun 17, 2026
#57 SynchronizedAfterSuite; E2E green on bea6b20 before tag.
konih added a commit that referenced this pull request Jul 10, 2026
AfterSuite ran on every parallel Ginkgo process, so the first node to
finish deleted mkurator-system while others still ran smoke/MQ specs
(ARCH-07). Use SynchronizedAfterSuite so shared operator teardown runs
only after all nodes exit. Document maintainer ci:e2e parity flags.
konih added a commit that referenced this pull request Jul 10, 2026
#57 SynchronizedAfterSuite; E2E green on bea6b20 before tag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant