Skip to content

test: rename the tag to post-mingo and put the script-history cases behind it - #2220

Merged
giokur merged 1 commit into
mainfrom
test/post-mingo-phase
Sep 17, 2026
Merged

giokur merged 1 commit into
mainfrom
test/post-mingo-phase

Conversation

@giokur

@giokur giokur commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Two changes, one idea.

Rename: notificationpost-mingo

The phase added in #2211 is not about notifications. It is about running after the assistant phase,
and a second class now needs the same placement, so the tag should say what it means.

ScriptExecutionHistoryTest joins it

Read a script's execution history and facets has aborted on every nightly — 09-15, 09-16 and
09-17. Its own assumption says why:

No script in this tenant has been dispatched yet, so there is no execution history to read. Run a
script from a device suite first.

Same shape as the notification aborts. A pipeline run registers a fresh tenant, the only scripts ever
dispatched on it are the ones the mingo phase runs, and this class sits in the catch-all
functional phase, which is earlier.

It never turned a run red, because an abort is not a failure. That is precisely why it sat there for
three nightlies while the notification one next to it got fixed.

Why the tag is on the class, not the method

Only testScriptExecutions aborts. Its sibling Read a schedule's executions, runs and facets passes
today and does not need to move.

Tagging just the one method would split the class across two phases, and that is exactly what made
ExtApi: Archive customer fail on its second run against stale static fixture state (#2215). Keeping
a class inside a single phase is worth more than leaving one passing case where it is. The sibling
only gets richer data after mingo, so nothing is lost.

Sequencing — these must ship together

On its own this PR breaks the placement: the notification phase in saas-shared stops matching
anything, and both classes fall back into functional. The matching saas-shared rename is prepared
and will land with the pin bump to whatever release carries this commit, in one PR, the way #2141 did.

So: merge and release this, then the shared side goes in atomically. Nothing regresses in between
because the shared side is not merged until the release exists.

Verified

Module compiles. No @Tag("notification") remains anywhere in the test library.

🤖 Generated with Claude Code

…ehind it

Two changes, one idea.

`notification` -> `post-mingo` on NotificationsTest. The phase it selects is not
about notifications, it is about running after the assistant phase, and a second
class now needs the same placement.

ScriptExecutionHistoryTest gets the tag. `Read a script's execution history and
facets` has aborted on every nightly (09-15, 09-16, 09-17) with its own
assumption spelling out why: "No script in this tenant has been dispatched yet,
so there is no execution history to read." A pipeline run registers a fresh
tenant, the only scripts ever dispatched on it are the ones the mingo phase runs,
and this class sits in the catch-all `functional` phase, which is earlier. Exactly
the shape of the notification aborts fixed in #2211.

Tagged at class level rather than on the one aborting method. Its sibling,
`Read a schedule's executions, runs and facets`, passes today and does not need
to move, but splitting a class across two phases is what made
`ExtApi: Archive customer` fail on its second run against static fixture state
(#2215). Keeping the class inside a single phase is worth more than leaving one
passing case where it is.

Needs the matching saas-shared rename to land with the release that carries this;
on its own the `notification` phase stops matching and both classes fall back to
`functional`, so the two must ship together.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

🦩 Flamingo Code Review

No findings on the current head.

Mode: advisory


Need another pass? Commits pushed after this review are not reviewed automatically.

  • Review the new commits — the commits added since this review
  • Review the whole diff again — ignoring what was already reviewed

Prefer typing? Comment @flamingo-review, or @flamingo-review full. To review every push on this pull request, add the flamingo-review-always label.

React 👍/👎 on inline comments to teach the reviewer.

Started 2026-09-17 05:48 UTC · updated 2026-09-17 05:49 UTC · workflow run

@giokur
giokur enabled auto-merge (squash) September 17, 2026 06:29
@giokur
giokur merged commit 2701e45 into main Sep 17, 2026
11 of 12 checks passed
@giokur
giokur deleted the test/post-mingo-phase branch September 17, 2026 07:05
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.

2 participants