GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(prime): support abort_and_send_queued capability with fallback to abort by rynfar · Pull Request #723 · pylon-code/pylon

Conversation

@rynfar

@rynfar rynfar commented Sep 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Summary

Upstream Prime Agent added abort_and_send_queued to allow interrupting the current streaming turn while immediately pumping queued messages (PR #2426).

This PR adds preparatory runtime support for the negotiated capability abort_and_send_queued_v1. Pylon’s current user stop and cancellation paths still call abortAndClearQueue, so this PR does not yet expose send-queued behavior in the product:

  • Adds optional abortAndSendQueued to PrimeAgentDaemonConnection in PrimeAgentDaemonBridge.ts.
  • Exposes abortAndSendQueued on PrimeAgentDaemonSessionRuntime and wires abort to call connection.abortAndSendQueued() when negotiated capability abort_and_send_queued_v1 is enabled and available on the connection.
  • Preserves full backward-compatible fallback to connection.abort() when the capability is not advertised or when running against stock/older daemons.
  • Respects prompt lifecycle admission fencing and error handling invariants.

Testing

  • Unit tests added in PrimeAgentDaemonSessionRuntime.test.ts verifying:
    • Invoking abortAndSendQueued when abort_and_send_queued_v1 is negotiated.
    • Clean fallback to abort when capability is false/absent.
    • Clean fallback to abort when capability is true but method is missing.
    • Error propagation when the connection method rejects.
  • All provider test suites passing:
    • PrimeAgentDaemonBridge.test.ts (25/25 passing)
    • PrimeAgentDaemonSessionRuntime.test.ts (271/271 passing)
    • PrimeAgentDaemonAdapter.test.ts (293/293 passing)
  • pnpm --filter t3 typecheck and vp lint passed with 0 errors.

Relates to fork PR pylon-code/prime-agent#81.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rynfar
feat(prime): support abort_and_send_queued capability with fallback t…
a7fb782
…o abort
@vercel

vercel Bot commented Sep 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
pylon-marketing Ignored Ignored Preview Sep 22, 2026 1:04pm UTC
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Sep 22, 2026
@github-actions

github-actions Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.9 KiB 14.0 KiB +77 B (+0.5%) 15.1 KiB ✅
Codex Thread snapshot wire 7.2 KiB 7.2 KiB −4 B (−0.1%) 7.3 KiB ✅
Codex Live turn WebSocket wire 6.7 KiB 6.8 KiB +81 B (+1.2%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 58.0 KiB 58.0 KiB +88 B (+0.1%) 66.4 KiB ✅
Codex Live turn messages 8 10 +2 (+25.0%) 21 ✅
Claude Total thread wire 14.0 KiB 14.0 KiB +30 B (+0.2%) 15.1 KiB ✅
Claude Thread snapshot wire 7.2 KiB 7.2 KiB +1 B (+0.0%) 7.3 KiB ✅
Claude Live turn WebSocket wire 6.7 KiB 6.8 KiB +29 B (+0.4%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 58.9 KiB 58.9 KiB +44 B (+0.1%) 66.4 KiB ✅
Claude Live turn messages 9 10 +1 (+11.1%) 21 ✅

Baseline: 84f540c · PR result: a7fb782 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 115.6 KiB
  • Claude decoded thread snapshot: 116.3 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rynfar rynfar mentioned this pull request Sep 24, 2026
Upstream integration cycle: September 24 comprehensive catch-up and orchestration reliability #736
Closed
@rynfar
rynfar merged commit ba4e8e2 into pylon Sep 25, 2026
19 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rynfar
rynfar deleted the feat/pylon-abort-and-send-queued branch September 25, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rynfar
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.