GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — fork(handoff): one owner per thread; project-off tests (#361) by scuttletoby · Pull Request #583 · scuttletoby/t3code Conversation
Owner
Fixes #361 Stacked on #582 (base The four points of #361
Tests (each fails on the old code; run and confirmed)
The handoff service also has new project tests: the table above, a project switched off while a handoff waits on a busy thread, and a project switched off while the idle timer sleeps. Mutation runs:
General vs projectGeneral: a fork feature that sits on upstream's own orchestrator and idle compaction, with no project facts. Project: none. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…line (#361) List-only change: server.ts's text is unchanged. Its ten pending fork lines (ceiling 10) move to a "files" entry with exactly those lines in "added", so the seam check now pins each one instead of only their count. One new line is announced for the follow-up pull request that lets the handoff service alone own a thread with handoff on (upstream idle compaction skips it). Part of #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> With handoff on for a thread (mode handoff from the server, its project or the thread's own entry), upstream's idle compaction now skips that thread, so a compaction and a handoff never both act on it. A thin wrapper of upstream's orchestrator (fork/handoff/handoffOwner.ts) skips only an idle compaction send to such a thread, decided at the send. IdleCompactionService.ts stays upstream's; server.ts gets the one line announced in the seam list, first in the runtime workers' pipe. threadHandoffSettings is now the one place that picks a thread's handoff settings, for both the wrapper and the handoff service. Tests: upstream's own idle compaction worker behind the wrapper (each mode, project and thread entry; switched on or off while it waits; the same run twice; the owner unreadable), the server.ts wiring, and the handoff service with a project switched off (past the size limit, while it waits on a busy thread, while the idle timer sleeps). Fixes #361 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. …thread # Conflicts: # .github/fork-seams.json This change adds the line to apps/server/src/server.ts, so the stale-list test refuses it under "announced". Move it to "added". Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
This was referenced
fork(handoff): test a missing thread and unreadable settings; document when neither acts (#586)
#605
Merged
scuttletoby
added a commit
that referenced
this pull request
* fork seams: server.ts is a declared seam; announce the handoff owner line (#361) List-only change: server.ts's text is unchanged. Its ten pending fork lines (ceiling 10) move to a "files" entry with exactly those lines in "added", so the seam check now pins each one instead of only their count. One new line is announced for the follow-up pull request that lets the handoff service alone own a thread with handoff on (upstream idle compaction skips it). Part of #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fork(handoff): one owner per thread; project-off tests (#361) With handoff on for a thread (mode handoff from the server, its project or the thread's own entry), upstream's idle compaction now skips that thread, so a compaction and a handoff never both act on it. A thin wrapper of upstream's orchestrator (fork/handoff/handoffOwner.ts) skips only an idle compaction send to such a thread, decided at the send. IdleCompactionService.ts stays upstream's; server.ts gets the one line announced in the seam list, first in the runtime workers' pipe. threadHandoffSettings is now the one place that picks a thread's handoff settings, for both the wrapper and the handoff service. Tests: upstream's own idle compaction worker behind the wrapper (each mode, project and thread entry; switched on or off while it waits; the same run twice; the owner unreadable), the server.ts wiring, and the handoff service with a project switched off (past the size limit, while it waits on a busy thread, while the idle timer sleeps). Fixes #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Seam list: the handoff idle-compaction line is now added, not announced This change adds the line to apps/server/src/server.ts, so the stale-list test refuses it under "announced". Move it to "added". Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
scuttletoby
added a commit
that referenced
this pull request
* fork seams: server.ts is a declared seam; announce the handoff owner line (#361) List-only change: server.ts's text is unchanged. Its ten pending fork lines (ceiling 10) move to a "files" entry with exactly those lines in "added", so the seam check now pins each one instead of only their count. One new line is announced for the follow-up pull request that lets the handoff service alone own a thread with handoff on (upstream idle compaction skips it). Part of #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fork(handoff): one owner per thread; project-off tests (#361) With handoff on for a thread (mode handoff from the server, its project or the thread's own entry), upstream's idle compaction now skips that thread, so a compaction and a handoff never both act on it. A thin wrapper of upstream's orchestrator (fork/handoff/handoffOwner.ts) skips only an idle compaction send to such a thread, decided at the send. IdleCompactionService.ts stays upstream's; server.ts gets the one line announced in the seam list, first in the runtime workers' pipe. threadHandoffSettings is now the one place that picks a thread's handoff settings, for both the wrapper and the handoff service. Tests: upstream's own idle compaction worker behind the wrapper (each mode, project and thread entry; switched on or off while it waits; the same run twice; the owner unreadable), the server.ts wiring, and the handoff service with a project switched off (past the size limit, while it waits on a busy thread, while the idle timer sleeps). Fixes #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Seam list: the handoff idle-compaction line is now added, not announced This change adds the line to apps/server/src/server.ts, so the stale-list test refuses it under "announced". Move it to "added". Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
1 of 8 tasks
scuttletoby
added a commit
that referenced
this pull request
* fork seams: server.ts is a declared seam; announce the handoff owner line (#361) List-only change: server.ts's text is unchanged. Its ten pending fork lines (ceiling 10) move to a "files" entry with exactly those lines in "added", so the seam check now pins each one instead of only their count. One new line is announced for the follow-up pull request that lets the handoff service alone own a thread with handoff on (upstream idle compaction skips it). Part of #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fork(handoff): one owner per thread; project-off tests (#361) With handoff on for a thread (mode handoff from the server, its project or the thread's own entry), upstream's idle compaction now skips that thread, so a compaction and a handoff never both act on it. A thin wrapper of upstream's orchestrator (fork/handoff/handoffOwner.ts) skips only an idle compaction send to such a thread, decided at the send. IdleCompactionService.ts stays upstream's; server.ts gets the one line announced in the seam list, first in the runtime workers' pipe. threadHandoffSettings is now the one place that picks a thread's handoff settings, for both the wrapper and the handoff service. Tests: upstream's own idle compaction worker behind the wrapper (each mode, project and thread entry; switched on or off while it waits; the same run twice; the owner unreadable), the server.ts wiring, and the handoff service with a project switched off (past the size limit, while it waits on a busy thread, while the idle timer sleeps). Fixes #361 Co-Authored-By: Claude Opus 5.5 <[email protected]> * Seam list: the handoff idle-compaction line is now added, not announced This change adds the line to apps/server/src/server.ts, so the stale-list test refuses it under "announced". Move it to "added". Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. handoff (HO2): one owner per thread vs idle compaction, project-off test, server.ts seams, docs (#320 follow-ups)Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |