Files
spinifex/tests/e2e/harness
Josh Siviour 369025f86e fix(e2e): fail fast on reaped instance launch + emit APM error on MarkFailed (#531)
WaitForInstanceState now aborts immediately with the recorded StateReason
message when it observes a reaped state (shutting-down/terminated) while
waiting for a live target, instead of burning the full 5-minute timeout on
an instance that can never reach it.

MarkFailed takes a context and records the failure on the active span via
span.RecordError so a reaped launch surfaces in the APM error stream,
correlated by trace id. Only the LaunchRunInstances path carries a live
span; other callers pass context.Background() and the record is a no-op.

Surfaced by RCA of E2E run 29258398516 (TestAccountScoping/Step2).
2026-07-14 08:29:55 +10:00
..
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-17 09:52:50 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-23 09:59:54 +10:00
2026-06-12 12:38:31 +10:00
2026-07-09 09:43:29 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
fix
2026-06-24 16:37:58 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-23 16:19:10 +10:00
2026-06-12 12:38:31 +10:00
2026-06-11 21:09:50 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00
2026-06-12 12:38:31 +10:00