Skip to content

test(e2e): quarantine pre-existing "untriggered" HA flake (re-trigger), track root-cause in #89 - #90

Merged
gustavobertoi merged 2 commits into
mainfrom
fix/e2e-untriggered-flake
Jun 3, 2026
Merged

gustavobertoi merged 2 commits into
mainfrom
fix/e2e-untriggered-flake

Conversation

@gustavobertoi

Copy link
Copy Markdown
Collaborator

Why

On the multi-node e2e stack (docker compose --profile e2e), a freshly triggered workflow
intermittently stays in untriggered until the test times out — the trigger is accepted but the
actor isn't spawned/claimed in time. This is a pre-existing HA flake, not a regression:

  • the same commit df827dc both passed and failed E2E within ~2h;
  • the identical still in status "untriggered" failure occurred on 16867aa (before the ADR-0031
    Phase 3 work), across multiple unrelated workflows.

Root cause is tracked in #89.

Change

TriggerAndWaitTerminal re-triggers a workflow only when it is stuck specifically in
untriggered (each trigger yields a fresh id; bounded to 3 attempts). Any terminal state —
including error — is returned as-is, so genuine failures still surface. Wired into the workflow
execution suite and TestSumRandBranch_Finishes.

No production code changes; e2e test harness only.

🤖 Generated with Claude Code

…a pre-existing HA flake

On the multi-node e2e stack a freshly triggered workflow intermittently stays
in "untriggered" (trigger accepted, actor not spawned/claimed in time) until
the test times out. Same commit observed both passing and failing, and the
failure predates the ADR-0031 Phase 3 work across unrelated workflows — i.e. a
pre-existing HA trigger/claim flake, not a workflow-logic regression.

TriggerAndWaitTerminal re-triggers only when a workflow is stuck specifically in
"untriggered" (each trigger yields a fresh id); any terminal state (incl.
error) is returned as-is so real failures still surface. Wired into the
execution suite + sum-rand-branch.

Root cause tracked in #89.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gustavobertoi
gustavobertoi merged commit 8e467b3 into main Jun 3, 2026
5 checks passed
@gustavobertoi
gustavobertoi deleted the fix/e2e-untriggered-flake branch June 4, 2026 06:19

This branch was previously deployed

1 inactive deployment
prod — 3cc96a0b Deployed Jun 3, 2026 by gustavobertoi via pr-image #312
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