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 — fix(nightly-v2): prevent false cancellation by concurrent runtimes by saphid · Pull Request #87 · saphid/t3code

Conversation

@saphid

@saphid saphid commented Sep 23, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Owner

A second server using the same T3 home could cancel runs owned by the running server during startup recovery. The selected ownership fix acquires a separate SQLite ownership lock before runtime services are constructed and holds it through shutdown. The OS releases it on process exit. Both standalone and desktop-bundled servers need the fix; existing deliberate cancellations remain final.

This draft now includes current fork main and #100 by ancestry. Its 17-patch manifest uses immutable upstream 23309198ba004bd1e62bfd998d6784c7051f4f5d, the refreshed 16-patch baseline, then ownership delta 3bcef932ca. That delta preserves original source 0eca7a70b426321775e14fd82dbf77c1a10e0694; only the surrounding server activation import changed for the newer upstream. The source remains reachable on automation/nightly-v2-runtime-20261020. Fork main is release configuration; the assembled product source is separate.

Current verification on 20 October 2026:

  • Live resolver passed, followed by all 17 ordered assembler patches. Source tree 41caaf603fe88300826e5ee57ef7a41c38c672c4 matches the independently reconstructed ownership stack.
  • Five focused ownership, recovery, and startup test files: 27 passed. Coverage includes rejection before runtime construction, independent homes, directory aliases, cleanup ordering, failed startup, and process-exit release using only captured test children.
  • Exact PR head assembler tests: 22 passed.
  • The final planned 24-patch union with feat(nightly-v2): restore GPT Live voice #88 voice and fix(nightly-v2): keep runs alive when one provider event fails to ingest #91 ingestion also resolves and replays. Each later draft carries earlier PR ancestry, with all targets remaining main.

The PR remains draft under its existing CI hold. Current scoped typechecks are not green in the recovered cached dependency/toolchain environment; historical clean checks do not establish current acceptance. Packaged-runtime acceptance is still outstanding. Desktop keeps its existing capped retry behavior when ownership is rejected; clearer presentation of that error remains a follow-up. Shared server startup covers web, desktop, mobile, and all V2 providers without a wire-contract change.

Implementation and verification: GPT-6.1-Sol through the Codex harness in T3 Code. The earlier ownership source had a Claude Fable 5.1 review; that historical review is not a new review of this assembled revision.

Sorry, something went wrong.

Uh oh!

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

All reactions
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Sep 23, 2026
@saphid

saphid commented Sep 23, 2026

Copy link
Copy Markdown
Owner Author

Cross-vendor review completed through delegate_task using claudeAgent / claude-fable-5-1, effort high, for pinned source 0eca7a70b426321775e14fd82dbf77c1a10e0694. Verdict: no blocking findings. The reviewer independently ran the seven new tests, server typecheck, and focused lint successfully, and checked lock acquisition, scope finalization, service-update handoff and packaged-runtime support.

Advisory dispositions:

  • Desktop retries a rejected backend startup with its existing capped backoff rather than displaying the ownership error clearly. Recorded as a follow-up in the PR description. The rejected backend cannot reconcile or shut down the active owner's work.
  • The event store proves startup reconciliation caused the cancellations, but does not record the writer PID. The historical process capture supports the embedded-server explanation. The PR preserves that evidence limit and the requirement to upgrade both runtime installations.

Delivery remains blocked by CI runner availability, not by a known code defect. All four CI jobs request Blacksmith labels and have no assigned runner; the repository runner endpoint reports zero runners. Fork main already has a CI run queued since 2026-09-22 08:01Z. The GitHub-hosted Nightly validation job passed. No workflow-runner changes are bundled into this lifecycle fix.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions

github-actions Bot commented Sep 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Thread transfer impact

⚠️ The latest CI run did not produce a thread transfer result for 7088ec3.

This comment will update automatically after the next completed run.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions
fix(nightly-v2): prevent false cancellation by concurrent runtimes
7088ec3
@saphid
saphid force-pushed the agent/delegated-task-false-cancel branch from 9bd270e to 7088ec3 Compare September 28, 2026 23:44
@saphid saphid mentioned this pull request Sep 28, 2026
fix(nightly-v2): keep runs alive when one provider event fails to ingest #91
Draft
saphid and others added 3 commits September 30, 2026 21:06
@saphid @claude
fix(nightly-v2): refresh the patch stack onto the current OV2 branch
ecc57d6
The v2 stack stopped applying: one pin pointed at a commit that no longer exists, and five other patches conflicted with the upstream branch after it was rewritten.

Replay the stack on t3code/codex-turn-mapping at 8297ccf and pin the new commits, which live on automation/nightly-v2-20260930-stack. Two patches are dropped because upstream now has them (racy review index timestamps, ACP prompt settlement). Two are added: fixture updates for current test helpers, and a fix so a recovered run fails cleanly when its last start attempt fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@github-actions @claude
fix(nightly-v2): restack the patches onto upstream 2330919
e02be64
Upstream fast-forwarded t3code/codex-turn-mapping by 36 commits after the
previous refresh. Two patches needed changes:

- "recover from slow CLI health probes" conflicted with upstream's new
  OpenCode 1.x/2.x generation probe (pingdotgg#14239). Its server fallback is dropped
  and only the AI Enablers launcher is kept.
- The startup-recovery and orphaned-start patches now use the namespace
  imports upstream adopted in pingdotgg#14387.

The commits live on automation/nightly-v2-20261001-stack.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01AHKKXVog6PVQ1HEvdCKgxJ
@saphid
fix(nightly-v2): retain the tested source after branch deletion
5c7e5c8
@saphid saphid mentioned this pull request Oct 20, 2026
fix(nightly-v2): refresh the patch stack onto the current OV2 branch #100
Open
saphid added 2 commits October 20, 2026 11:04
@saphid
fix(nightly-v2): preserve current release configuration
41d3a5c
@saphid
fix(nightly-v2): replay runtime ownership after refreshed baseline
eb77919
@saphid

saphid commented Oct 20, 2026

Copy link
Copy Markdown
Owner Author

Repaired and normal-pushed eb77919474fd9f3657b0ac7dc68bd5ff24230de7; the remote head was read back. It contains current main and #100, and changes only the V2 manifest relative to current main.

The original ownership source is preserved as replay-safe delta 3bcef932ca0c3bc9ca3d885701c55c5945dca85f. Live resolution and all 17 ordered patches pass; source tree 41caaf603fe88300826e5ee57ef7a41c38c672c4 is exact. Ownership/recovery/startup: 27 tests pass; exact-head assembler: 22 pass. Draft/CI and packaged-runtime gates remain. Scoped typechecks are not green in the borrowed dependency environment.

Local proof: /home/saphid/.cache/t3-pr-fleet-20261020/runtime-repair-r2/87-assembly.json and 87-ownership-tests.log. GPT-6.1-Sol, Codex harness.

All reactions

Sorry, something went wrong.

Uh oh!

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

@saphid saphid mentioned this pull request Oct 20, 2026
feat(nightly-v2): restore GPT Live voice #88
Draft

This branch has not been deployed

No deployments
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:XS 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

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