Repository navigation
b8-bugs: an empty interrupt pause ends (#790); an unchanged framed file is not reframed (#775); an artifact's machine travels with its id, frames name their machine (#783) - #812
Conversation
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…790) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…op and at a load (#790) The Stop's pause and hold run as one phase (MessageQueue.stop); once it is over, an interrupt pause with no queued or unacknowledged entry, no steer being withdrawn and no host sequence staged ends, so a message queued later behind a turn goes at its end. The same rule ends it when the last held row is removed or sent now, at a send, and when a state file another launch or build left loads. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ct it ended (#790) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…eft it as it was (#775) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…it as it was (#775) A framed file is read with its hash, as an open read already is; a change load that finds the hash the entry holds lands nothing and keeps the frame drawn or being asked, unless the frame was asked under other keys (the tab's mark moved). A file past the hashed read's ceiling keeps the earlier rule. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…ange change the file (#775) A revisit still asks a new token, as U6b-2 decided. The four cases that emitted an event over an unchanged file to get a second token now change the file first. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…d a settled hold (#790) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…errupted turn's end; a pending removal and a settled hold end or keep the pause rightly (#790) The branch review's three findings: queue.stop runs the session's interrupt inside its phase and, while the interrupted turn still runs at the answer, keeps it until that turn ends; a removal not yet saved counts as held; an empty interrupt pause ends when the submission it held back is dropped or acknowledged, at a turn's end, and when a late withdrawal gives its steer back. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…xt send (#790) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…t drops with no turn end (#790) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…alone; a dropped host sequence ends the empty pause (#790) The phase was judged by turnOpen, which also counts a staged clear and implement and an unstarted prompt; one that ends with no turn end left the phase latched, holding a later follow-up. The queue now takes the normaliser's current turn for the phase, and the sequence's failures tell the queue it dropped, so an empty pause it held ends there. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…hine (#783) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
#790) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Red tests: an adopted process keeps an interrupt pause while its restored turn is open; a Stop follows the turn it interrupted, not a successor; an unchanged event read during a frame ask retries an unframed answer; a bare link reuses the strip's one restored tab without recording a route; a page whose drawn copy may be another machine's gets no connector port. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The fold restores the live process's open turn before the queue adopts; an empty interrupt pause saved by the old manager's Stop now lasts until that turn ends, as the live Stop's phase would have, so a follow-up queued during it waits for Resume. Review finding sweep#3. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The queue counts main-lane turn ends; a Stop whose interrupted turn ended before its answer was read (the inbound drain also carried a successor's start) no longer latches onto the successor, so its empty pause ends and a message queued behind the successor goes at its end. Review finding scalpel-3#2. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
An event's re-read that finds the file as it was keeps only a drawn frame; while an ask is out it queues one more ask after the answer, as before ticket 775, so an answer main read from a mid-write moment (unframed) is retried rather than leaving the tab failed. Review finding scalpel-4#1. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
With no copy of the id on record, openArtifactTab opens on the one machine the strip already holds a tab of it on (a tab restored at launch), and records nothing: the tab is no confirmed copy. Tabs on several machines, or none, open this Mac's. Review finding scalpel-1#2. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The frame's URL names the artifact alone, and main draws the copy it placed the id on (its latest other machine, else this Mac). The HTML viewer now hands the page a connector port only while the copies on record show the drawn copy is the viewer's machine's: this Mac's when no other machine's is on record, another machine's when it is the only other one; checked again as the port is handed. Ticket 806 binds the URL to its machine. Review finding scalpel-2#1. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
No conflicts. The tracker: master's row on MessageQueue's latched interrupt pause (batch 7, group A) is removed, since ticket 790 on this branch ends an empty interrupt pause; the branch's row on the Stop's phase is closed by this fix wave; rows added for the third review's scalpel-3#3 and scalpel-3#5. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…(fixed on this branch) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…essage queued behind the next turn A turn runs; the square stops it with nothing waiting (the interrupt alone); the queue's pause ends with the stopped turn; the person sends the next turn and queues a message for after it; at that turn's end the message is written by itself, after the turn's result, with no Resume and no row reading Held. The replay (`stopThenQueueJournal`, built from `queueInterruptJournal`) holds the next turn open at the test's own context read, recorded before its result, and plays one human turn for the released message; the scene waits for the app's own context read after the stopped turn before sending, so the held read is the test's. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Red tests: a viewer's frame names its machine and main serves that copy alone, the connector port then the drawing machine's; a Stop takes its turn at the interrupt request; an adopted interrupt pause restores a Stop's phase only on the journal's word that the open turn was stopped. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The turn ends a Stop counts start when its interrupt goes out, not when the Stop begins: a turn that ended while the pause was saved or steers withdrawn, and a successor started then, leave the successor the interrupted turn, so the phase waits for its end and a follow-up sent meanwhile is held. Review finding 2 of the fix wave's review. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…790) The journal fold now reports whether a plain interrupt was written while the still-open turn ran (the normaliser's stop asked); adopt latches the Stop's phase only on that word, so a saved interrupt pause that outlived its turn, holding a row, does not latch onto an unrelated later turn. Review finding 3 of the fix wave's review. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…783) Ticket 806's frame bytes: the byte viewer frames maws-artifact://<id>/<rev>/<name>?machine=<ref>; main's scheme serves a URL naming this Mac from this Mac's store alone (its 404 included) and one naming another machine from that machine over its link, whatever the table places, so a page's connector port always carries the authority of the machine that drew it. The window-side drawnCopyIs guard is gone: this Mac's copy keeps its connectors while another machine holds the same id. e2e: frameAt compares without the query, and the library scene reads the named URL. Review finding 1 of the fix wave's review. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
# Conflicts: # docs/tech-debt-tracker.md
…d 790 (a page delegating its own grants by navigating; a crash between the pause's save and the interrupt) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
The square's click took the keyboard, so the next turn's words went to the button and the box stayed empty; nothing was sent. The scene clicks the box again before typing and checks that the box holds each message before it goes. (A replay of the same journal through a whole engine session sends the message at once after the Stop.) Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
#783) library: the PDF viewer's frame src carries `?machine=<ref>`. deliverables: the download the filter cancels is the frame's own URL, `pageUrlOf`'s with the machine's query, so the seam's line is matched by that prefix. Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
…has no header while nothing is paused Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)
# Conflicts: # docs/tech-debt-tracker.md
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8f036b6488
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const named = machineOfArtifactUrl(request.url) as MachineRef | null; | ||
| if (named !== null) return stage === 'placed' && named !== deps.local ? fetchFrom(named, request, true) : null; |
There was a problem hiding this comment.
Preserve the selected machine for frame subresources
When the same artifact ID exists locally and on a peer, the new machine-qualified URL selects the correct top-level HTML but not its relative resources: resolving app.js against index.html?machine=<local> drops the query. That request then falls through to the placement lookup below, which can still point to the peer. A local page can therefore load the peer's scripts, styles, or images even though its connector port is bound to the local machine. Preserve the frame's machine selection for subresource requests as well, rather than qualifying only the initial document URL.
Useful? React with 👍 / 👎.
Batch 8, group b8-bugs: three correctness tickets, each built from its body (pre-spec). Closes #790, closes #775, closes #783.
What it does
maws-artifact://<id>/<rev>/<name>?machine=<ref>), main serves that machine's copy alone, and the page's connector port is bound to that same machine. Main's id-only routing table,copyAssetand the version chip's cache stay with Artifacts: main's id-only table, the maws-artifact:// bytes and copyAsset still serve one copy for two machines' same id #806, which now also holds the review's two remaining routing findings.Proof
8f036b648onux-wave/b8-bugs, with mastere5c209f4bmerged in. The tracker conflicted twice and kept both sides each time;src/engine-host/ipc.test.tsmerged with b8-2 without a conflict.4b1fd6a8f..f4c496e08, then medium reviews of each fix round. The panel's P1 is fixed: one machine's HTML could be drawn with another machine's connector authority. So are its four regressions and the next round's three. The review converged on the third round.docs/tech-debt-tracker.mdrows, each with its reason:queue.test.ts,viewer.test.tsx,viewers.test.tsx,actions.test.ts,remote-scheme.test.tsandscheme.test.ts.e2e/composer.spec.ts: "ticket 790, Stop with nothing waiting: …", on a new replay journal,stopThenQueueJournal.b986d88b4, with the ticket 790 scene passing in both.513018212.0107c5750.0107c5750, against2c7044231and5e8534042. Against2c7044231its artifact and frame cases ran: file frames, outside files and spaces, both ways. The spec skips them for5e8534042.Sminos-Session: ux-wave#10d85d03 (MAWS on macbook)