Skip to content

artifact-shell is green again, and a suite no longer poisons the next one - #513

Merged
serenakeyitan merged 1 commit into
mainfrom
artifact-shell-selectors
Sep 9, 2026
Merged

artifact-shell is green again, and a suite no longer poisons the next one#513
serenakeyitan merged 1 commit into
mainfrom
artifact-shell-selectors

Conversation

@serenakeyitan

Copy link
Copy Markdown
Collaborator

Fixes #512.

artifact-shell failed 6 of 43 on main. None of them was a broken product — five were the suite looking where the shell stopped putting things, and one was the fixture no longer meeting its own premise. A seventh problem showed up while fixing them, and it is the interesting one.

The five drifts

test why it failed fix
comment card has a working Reply box asked for Delete in the card's ⋯ menu; every control in that menu is identity-gated and this rig browses anonymously, so the trigger correctly never renders assert what fits an anonymous reader — no menu is offered. Delete stays proved in the authed block.
agent comment: pin + resolved chip c_fixture_3 is resolved, and resolved threads left the margin when the reveal switch landed (defaults off) ask for them first, then put the key back
re-anchor: move anchor same menu, same gate — and not a card descendant since #432 moved into the authed block; opens the menu
dark mode keeps highlights painted the narrow tests above leave the window at phone width, where the theme control is in the overflow menu come back to the wide bar first
hover outline clips to its scroll container the reading template makes svg fluid, so the fixture's 2400px graph rendered at container width and the overflow being measured was gone fixture pins the width

The sixth: one suite poisoned the next

While verifying, ui.test.js — green when #511 merged, unchanged since — went red waiting for the paste step's terminal.

The local server writes journey state into the fixture root (.onboarding.json) and nothing ever cleared it. artifact-shell posts comments, which stamps commented. On the next run stepFromRecord returns sendback, so the wizard opens on its welcome-back screen and the paste-step markup never appears.

So the suites' results depended on what ran before them. resolveTarget now clears that scratch on every boot, and both scratch files are gitignored.

Verified in the order that used to fail: artifact-shell then ui — 43/0 then 12/0.

All gated suites

suite result
artifact-shell 43 / 0
ui 12 / 0
responsive 32 / 0 (4 published-only skips)
browser-editing 18 / 0
anchor-scenarios 10 / 0
csp-xss 7 / 0

npm test: 78 offline suites green.

Worth doing next, and out of scope here: these suites still run nowhere. Issue #512 suggests a schedule rather than per-PR, since they need a browser.

🤖 Generated with Claude Code

… one

Six failures on main, none of them a broken product. Five were the suite
looking in a place the shell stopped using, and one was the fixture no
longer meeting its own premise.

- Reply box: it asked for a Delete in the card's ⋯ menu, but every control
  in that menu is gated on the viewer being somebody and this rig browses
  anonymously, so the trigger correctly never renders. The claim moves to
  the assertion that fits an anonymous reader — no menu is offered — and
  Delete stays proved in the authed block that has an identity.
- Agent comment: c_fixture_3 is resolved, and resolved threads left the
  margin when the switch that reveals them was added, defaulting off. The
  test asks for them first.
- Move anchor: also behind the ⋯ menu, also identity-gated. It moves into
  the authed block and opens the menu instead of hunting for a button that
  has not been a card descendant since #432.
- Dark highlights: the narrow tests before it leave the window at phone
  width, where the theme control lives in the overflow menu. It comes back
  to the wide bar first.
- Hover outline: the reading template makes an svg fluid, so the fixture's
  2400px graph rendered at container width and the overflow the test exists
  to measure was gone. The fixture pins the width.

The sixth was not drift but contamination: the local server writes journey
state into the fixture root and nothing cleared it, so a run that stamped
`commented` sent the next suite's onboarding wizard to its welcome-back
screen — which is how a green ui suite turned red without a line changing.
The fixture server clears that scratch on every boot, and it is gitignored.

Gated suites, all green: artifact-shell 43, ui 12, responsive 32, browser
editing 18, anchor scenarios 10, csp-xss 7.

Fixes #512

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Preview

Open this: https://pr-513-tdoc-preview.jyshi1107.workers.dev/ — the homepage, this PR's code
carrying the landing version in this PR's checkout.
Or a document: https://pr-513-tdoc-preview.jyshi1107.workers.dev/d/conway-life/v/2

This link is unique to this PR. New commits update the same URL. It is not tdoc.dev.

Preview has no Durable Object — concurrent comments use the KV fallback. Data expires in 14 days.

@serenakeyitan
serenakeyitan merged commit 92274bf into main Sep 9, 2026
5 checks passed
@serenakeyitan
serenakeyitan deleted the artifact-shell-selectors branch September 9, 2026 19:07
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.

artifact-shell fails 6 of 43 on main — the gated suites have drifted

1 participant