Skip to content

fix(frontend): the wizard journey gates on landing and the card in view, records the morph, and survives a retry (#1550) - #1551

Merged
athvin merged 2 commits into
mainfrom
fix/pr-1543-post-merge-morph-test
Dec 3, 2026
Merged

athvin merged 2 commits into
mainfrom
fix/pr-1543-post-merge-morph-test

Conversation

@athvin

@athvin athvin commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Closes #1550

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Post-merge fix-forward for #1543. The wizard journey now gates on what is deterministic:

  • it lands on the run;
  • the activation card is in the viewport while it works.

Whether the morph paired is recorded as an annotation, counted rather than sampled. Each retry gets its own source name. The wizard also prefetches the run page's code at activation start.

Why

#1543's morph assertion is not certain under load: with three parallel projects it pairs in about three runs of four. A failed first attempt then failed every retry, because the source name was fixed per project. It went red on #1542's WebKit shard, and as merged code it would flake for every PR.

Proof

  • Local, retries off, all three projects: grow.spec + dictionaries.spec + run-morph.spec → 69/69, twice.
  • Root cause, by probe and by elimination:
  • Also found: two activating journeys in the same wizard org overwrite each other's published config ("source … is not in the active config"), so the viewport check lives inside the existing journey, not a second publisher.
  • make skills-check ok.

Risk & rollback

One prefetch of a placeholder run path at activation start; the rest is test and docs. git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:eaf56929-ae96-435b-a527-2b9ebb65dd1e on brians-MacBook-Pro · 2026-12-03T01:48:00Z

  • main is green with this change on it — the merge SHA, and the run
    that proves it. A later head SHA with this commit as an ancestor counts;
    a cancelled run with zero jobs does not: merge 4d1109ff: rust 47013033586, frontend 47013033584, infra, devcontainer and marketing preview all success — main's frontend back to green after f7ed273d.
  • images built, or correctly never ran because nothing that goes into
    an image changed: images 47013033731 success: er-web built for 4d1109ff; er-api reused from f4c401d3, reuse verified (no Rust change).
  • deploy converged — proved by a line the running process emitted, not
    by the image digest and not by the workflow conclusion: deploy 47013310720 (for 4d1109ff, which descends from this merge) success, dev and prod: er-web: 4d1109ff -> sha256:1977bd46…; prod's serving process answers /api/healthz → {"ready":true,"upstream":"ok"} (2026-12-03T01:47Z).
  • the push-only surface no pull request can pre-test (deploy, drift,
    kind's nightly leg) is green, or knowingly red for a reason that is not
    this change: deploy as above. n/a for drift/kind — no Terraform or cluster object changed.
  • the board card reached Done through the automation rather than by
    hand, and the issue closed: The wizard-morph journey flakes on CI's WebKit, and a failed attempt makes every retry fail #1550 closed by the merge at 2026-12-03T01:36:59Z.
  • follow-ups are open for everything deferred here — numbers: n/a — none.
  • what was learned is written down where the next session will find it
    (a skill, a reference, memory) — or nothing new was learned: motion.md: a pushed morph is best-effort under load; assert it by counting view transitions, never gate a functional journey on it.

Specific to this change

Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Open the marketing preview

This link updates with new commits. The PR's previews are deleted when it closes or merges.

bmoore813 and others added 2 commits December 2, 2026 20:26
…retry on a fresh source (#1550)

The journey sampled the animation recorder for run-morph-surface, which on
CI's Linux WebKit once saw nothing but the working dots: the recorder
missed the frames, not the morph. It now counts view transitions, as
run-morph.spec does: every other name on both pages is none, so React
starts one on this navigation only if the card and the header paired.

A failed first attempt also made every retry fail at Next, because the
source name was fixed per project and already existed. Each retry and
repeat now takes its own name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ew, records the morph, and survives a retry (#1550)

#1543's journey asserted the wizard's morph into the run, and the morph is
not certain under load: with three parallel projects it paired in about
three runs of four (and on CI's Linux WebKit the animation sampler once saw
nothing at all). A failed first attempt then failed every retry, because
the source name was fixed per project and already existed.

- The journey now gates on what is deterministic: landing on the run, and
  the activation card in the viewport while it works (the upload is held a
  moment to measure it; this is the phone bug #1543 fixed). Whether the
  morph paired is recorded as a test annotation, counted by view
  transitions rather than sampled.
- Each retry and repeat takes its own source name.
- The wizard prefetches the run page's code when activation starts (a
  placeholder id; the code is the same for every run), which raised the
  pair rate under load. motion.md says the morph is best-effort and why.

grow + dictionaries + run-morph, all three projects, retries off: 69/69,
twice.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
marketing-preview — 385790d2 Deployed Dec 3, 2026 by athvin via publish marketing preview #314
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.

The wizard-morph journey flakes on CI's WebKit, and a failed attempt makes every retry fail

2 participants