-
Notifications
You must be signed in to change notification settings - Fork 0
fix: address late review threads on merged PRs (#368/#373/#374/#377/#378/#379/#385/#390) #408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7e34582
fix: address late review threads on merged PRs #368/#373/#374/#377/#3…
ScriptedAlchemy 3298444
fix(dev): lease before publishing contract status; align fixtures wit…
ScriptedAlchemy 2976ccc
chore(changeset): drop the Codex tool_response bullet already release…
ScriptedAlchemy f701116
fix(playground,test): withdraw a failed catalog publication before re…
ScriptedAlchemy 3d19529
chore(changeset): one-paragraph summary ending with the PR reference
ScriptedAlchemy 0eb4c32
fix(playground): recover a catalog staging link abandoned by an exite…
ScriptedAlchemy f7b7b99
fix(playground): fsync the catalog directory after withdrawing an aba…
ScriptedAlchemy 15baf3f
fix(dev): forward request _meta (progress token) through McpSession a…
ScriptedAlchemy bf1ba3e
fix(dev,playground): restart the adoption drain after a handoff race;…
ScriptedAlchemy 56c017e
ci: retrigger checks for the rebased head
ScriptedAlchemy 3bfc760
chore: drop the portable byte-lane changes superseded by #406; keep t…
ScriptedAlchemy c9bd5a2
fix(playground): restore the staging guard when a recovery fsync fails
ScriptedAlchemy 2e6c8d1
fix(playground): accept a concurrently restored staging guard (EEXIST…
ScriptedAlchemy b641117
fix(dev): recheck supersession after the adoption lease settles
ScriptedAlchemy 7cfbc67
fix(playground): keep a fresh pid-owned guard when recovery can neith…
ScriptedAlchemy d0861a1
fix(playground): fsync every compensating recovery guard before trust…
ScriptedAlchemy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| "agent-bundle": patch | ||
| --- | ||
|
|
||
| `agent-bundle dev` now leases the adopted epoch until another epoch replaces it | ||
| or the server closes, so store retention cannot delete the advertised last-good | ||
| build during a run of failing rebuilds, and an epoch that cannot be leased is | ||
| reported as `AB7211` instead of adopted; the `dev.contracts` matrix opens the | ||
| configured server on a target whose manifest carries it, applies the session | ||
| timeout per request, forwards each request's `_meta.progressToken` so generated | ||
| routes emit progress, and observes lifecycle progress through the session trace | ||
| (`ContractMatrixClient` from `agent-bundle/test` gains an optional | ||
| `observeProgress` seam, `ContractMatrixProgressSource`; `McpSession.callTool` | ||
| accepts `_meta`). Native Playground catalog readers wait for a hard-link | ||
| publisher to release its staging link before adopting the sidecar, return to | ||
| discovery when that publication is rolled back, and recover a staging link | ||
| abandoned by an exited publisher instead of rejecting the epoch forever. (#408) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a development lifecycle fixture expects progress,
callToolResultsupplies its generated token inparams._meta, but this adapter forwards onlyargumentsandname;McpSession.callToollikewise reconstructs the wire request without_meta. Generated routes enablesendProgressonly whencontext.mcpReq._meta.progressTokenis present, so these calls emit no matching notifications and every lifecycle fixture requiring progress fails the matrix, preventing the epoch from being adopted. Extend the session call options and wire request to preserve_meta.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in ee9ec2f:
McpSessionToolCallOptionsandMcpClient.callToolparams gain_meta(McpRequestMeta, withprogressToken),McpSession.#callToolEffectforwards it to the SDK client'scallToolparams, and the dev matrix adapter passesparams._metathrough. Tests:dev-contract-runner.test.tsasserts the adapter forwards the lifecycle progress token (and omits_metawhen absent); the McpSession timeout test now also asserts the wire params carry_metaonly when supplied.