Skip to content

fix(side): recover comment pins after artifact frame replacement - #139

Merged
SSFSKIM merged 3 commits into
masterfrom
test/side-reload-evidence
Oct 24, 2026
Merged

SSFSKIM merged 3 commits into
masterfrom
test/side-reload-evidence

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Fix

Recover a previously pinned comment card when an artifact frame is replaced by Reload or a version switch. The existing e2e assertions, 10-second poll and 1 px tolerance are unchanged.

The shared re-pin path had an asymmetric recovery rule: a null locate answer was retried only while a card had never been located. A card with a pin from the old frame got one bounded bridge ask for the replacement frame; if that ask was lost or timed out, it kept the old coordinates indefinitely. HtmlFrame queued pre-load requests, but did not publish a new handle on its load/bridge-ready signal to trigger another ask.

  • HtmlFrame now announces a fresh locate function on every page load. The claimed card re-asks on that event, while the frame's monotonically increasing request IDs prevent an old reply from satisfying the new ask.
  • CardHost retries a null once even for a previously pinned or picked card. Two nulls still retain the last position; there is no unbounded retry and the bridge timeout is unchanged.
  • Unit regressions demonstrate both the old-coordinate failure after a transient null and the missing load-driven refresh. They failed before implementation in normal and compiled renderer modes; the four focused host/frame/viewer/bridge suites then passed 144/144 tests.

Evidence and retained diagnostics

The failure is intermittent, not a deterministic helper-selector regression:

  • Host 40118458114, job 120944669438, and guest 40112861862, job 120928539161, fail case 11 after Reload. The other 11 cases pass.
  • Guest 40118410253 passes the same application/test tree on the same lane (2e7801f22 and red host scratch d4d48f57e have no src or e2e diff). Untouched master 9a564bc43 also passes on the host in 40118919090 and 40119072844.
  • The supplied red archives contain HTML and error-context Markdown only, with no trace or screenshot in their embedded attachment manifests. Their failed geometry cannot be recovered.
  • Bounded captured host checks 40119080203, 40119424531, and 20 Reloads in 40119493994 stayed green. The latter trace has 20 locate replies and 21 distinct artifact frames.
  • A required side gate on the diagnostics-only candidate, 40120793945, exposed the same symptom in case 12 at the v2→v1 switch (pinned under the v1 heading). Case 11 passed. This red was read and is not counted as a green gate or a preemption.

Both cases 11 and 12 now retain explicit Electron traces, screenshots, and JSON with heading/card/host/frame bounds plus the card's inline style. Trace console events include locate replies and whether they came from the currently mounted frame. Collection is independent, best-effort and bounded to five seconds, so an evidence failure cannot prevent Electron/scratch cleanup. Three focused unit regressions cover rejected, stalled and successful collection.

Residue

Residual evidence gap Known failure count and runs Closure condition
The product recovery defect is reproduced and fixed in unit coverage, but the exact lost-message/geometry history of the earlier e2e failures was not retained. Both affected cases now capture it if the symptom recurs. 3 observed failures: case 11 host 40118458114 and guest 40112861862; case 12 host 40120793945. Closes when a captured failure shows the geometry.

Verification and review

Final product head: 90e674f1324be9e402dc1e25375dc3d10cfb1e37.

  • Local focused product/bridge/viewer suites: 144/144 passed, normal and compiled modes; ESLint and full typecheck passed through the machine slot. No local e2e or GUI automation.
  • The earlier diagnostics-only head 6a0ca852b passed host side 40120021613 and pool static 40120023976; these are not final-product-head evidence.
  • The diagnostics candidate's full pool class 1a 40120798738 passed; its host side checks 40120791091 and 40120796383 passed, while 40120793945 above is red. These are not final-product-head landing evidence.
  • Independent medium review found one material diagnostic-cleanup P2, fixed by a separate fix wave and accepted on follow-up. The expanded product range 9a564bc43..90e674f13 then received no material findings; the review accepted request-ID isolation, bounded retries, stale-response rejection and cleanup. Review has converged.
  • Final-head full pool class 1a 40121990836, attempt 1: green (static, probes, all four unit shards).
  • Final-head host side A 40121984354, attempt 1: green. Its downloaded report has trace, screenshot and geometry for both cases; each card's measured gap is exactly 4 px, left delta 0. Locate replies identify the current frame and keep distinct request IDs.
  • Final-head host side C 40121989082, attempt 1: green on ci-kit-mac-mini.
  • Final-head host side B 40121987013, attempt 1: green on ci-kit-mac-mini.

Three final-head host side runs are green, all on ci-kit-mac-mini, each 12/12, attempt 1. No final-head job required a preemption rerun. The PR remains open and unmerged.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
@SSFSKIM SSFSKIM changed the title test(side): retain evidence for intermittent Reload pin failures fix(side): recover comment pins after artifact frame replacement Oct 24, 2026
@SSFSKIM
SSFSKIM merged commit 0acb779 into master Oct 24, 2026
SSFSKIM added a commit that referenced this pull request Oct 24, 2026
…replaced (PR #139); the side row becomes the guest rejoin

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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