Repository navigation
app: show ticket worker chats without restarting - #3461
Merged
Merged
Conversation
4 tasks done
AIFlowML
force-pushed
the
aiflow/3440-live-ticket-chats
branch
from
November 16, 2026 09:23
add0ebc to
0223c5d
Compare
Owner
|
Thanks @AIFlowML. Publishing a new worker thread to the window once it's saved, and only for a new thread, makes it show without a restart, and the test checks that resumed and refused workers don't publish. It touches the same lines of Nothing more is needed from you. It's in our landing queue.
|
ashhart
force-pushed
the
aiflow/3440-live-ticket-chats
branch
from
November 17, 2026 14:27
0223c5d to
0e5c61b
Compare
Owner
|
Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
3 of 4 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What this changes
New ticket worker chats now appear in the desktop sidebar as soon as they are created. Previously, the host persisted the thread and immediately streamed agent events without first publishing the full thread snapshot; an open renderer could not discover the chat until restart.
The host now sends the existing
thread:updatenotification after persisting a new worker thread and before its first timeline event. This applies to both solo and Room workers. Resumed workers retain their existing thread, and delivery uses the existing safe renderer boundary so a closed window cannot stop background work.main, basee7e24243d63e232b05d4892df4fa01c9a2d6c70b; 2 contribution commits.atc overlap --json: run after the final revision; broad coverage is explicitly incomplete (PR/file/time limits). Supplemental coverage at 2026-11-16T09:22:11.895781+00:00 inspected all 416 open PRs, with complete file pagination and previous filenames for 37 large/renamed PRs. Real merge checks against current main, the other 13 contribution heads and overlapping external fix(studio): open the model picker from Planning only #3357, app: pin nested repositories and refuse unprotected worktrees in the Linux sandbox #3364 and fix(app): don't open a blank Thread view for a missing ticket thread #3393 all pass (238/238 checks across this portfolio). Our own cumulative composition passes 36/36 focused files. No known conflicts; future upstream changes require a fresh check.Checks on this head
Verified 16 November 2026, 16:25 Asia/Bangkok. Base for this PR:
e7e24243d63e232b05d4892df4fa01c9a2d6c70b. The full-suite receipt below was measured atadd0ebccec248693cbf550a21de262029f9a165e. Production app source is unchanged; the publication test fixture now declares the Room-effort dependency and an empty seats list for compatibility with #3514. Every publication/order/reuse/rejection assertion is retained. Focused tests, types, build and mobile verification were repeated on this head. Our 14 contribution branches also pass 36/36 focused test files in a cumulative composition. This is a focused compatibility run, not a full combined-suite result.0223c5d6da1b2ac61d7cf46bde21b5ce13b6512a.python3 tools/pr_check.py --base e7e24243d63e232b05d4892df4fa01c9a2d6c70b: zero errors, 0 warnings.node node_modules/jiti/lib/jiti-cli.mjs electron/main/host/ticket-worker-publication.test.ts: 1/1 file passes. The same production-runtime fixture fails on the original code with0 !== 1at the missing thread snapshot assertion. It covers solo/Room creation, persistence/snapshot/event ordering, correct thread identity, reuse without duplicate creation, rejected startup and an unavailable renderer.node node_modules/jiti/lib/jiti-cli.mjs electron/main/host/ticket-worker-runtime.test.tsandelectron/main/host/renderer-events.test.ts: 2/2 files pass.npm run typecheck: passes.npm test: 855/856 files pass, 1 fails, none skipped by the runner. The existingsandbox-git-control.test.tsfailsgit commit still works, also reproduced on unchanged upstream. This change does not modify sandbox code or its test; the new publication test passes in the full run.npm run buildandnpm run verify:mobile: pass.git diff --check: passes.action_required; App and mobile checks:action_required; Zig format:action_required. All await upstream maintainer approval; no hosted CI pass is claimed.Receipt
811c38473e8bee2bccbe8ca7acb15ea9be81ae36, head above; Apple M5 Max, 128 GB RAM, macOS 27.2, Node 22.23.3, npm 10.9.8. Backend/checkpoint n/a for this app-only change.tools/bench_concurrent.py --alone --serialortoken_shaagainst"draft": false: n/a; no inference change.tools/bench_openai.py: n/a; no inference change.Checklist
Igor Lessio - AIFLOW LABS