Repository navigation
fix(threads): show scheduled tasks as soon as agents create them - #818
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 15, 2026 10:43
This was referenced Nov 16, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 30, 2026
## Change Raise the per-file limit to 8.5 MiB for `runtime/canopy-gateway.js` on Windows x64. Keep the 8 MiB limit for all other sidecars and preserve the package budgets, deduplication threshold and release checks. The Windows gateway sidecar measured 8,359,417 B in Nightly #817 and 8,404,880 B in #818. The latter exceeded 8 MiB by 16,272 B, causing electron-builder's `afterPack` check to fail before the installer was built. Comparing the Bun module contributions is a follow-up. [Windows Package #817](https://github.com/itsoltech/canopy/actions/runs/46498146500/job/142133327006) · [Windows Package #818](https://github.com/itsoltech/canopy/actions/runs/46508889554/job/142171022548) ## Verification - Local: scoped oxfmt and oxlint, diff check, and eight `packageMetrics` cases covering the #818 bundle, the 8.5 MiB boundary, unaffected 8 MiB limits and deduplication. - CI: PR checks gate the merge. The PR workflow has Windows x64 source checks but does not package or install the Windows desktop release. Verify Windows packaging, signatures, installer smoke and upload in the first scheduled Release containing this change. Check publication separately.
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.
Change
Agent-created schedules could stay hidden when a failed thread-details refresh left a cached empty list, even while live updates arrived. Keep the thread stream authoritative for schedules, including desktop remote mode and removal of the last task; use the cached panel list only while the thread's home is unreachable.
Subscribe to schedule changes before reading the initial stream controls so schedules created during watch startup are delivered immediately instead of waiting for the periodic refresh.
Verification
bun run check:tmp ./tests/integration/thread-schedule-watch.test.ts: 3 passed, 30 assertions, clean temporary directory. Startup regressions fail before the fix; coverage includes once/recurring creation and cancellation through paired desktop TLS/gRPC.bun run --filter @canopy/web typecheck: 0 errors and warnings.git diff --checkpassed.Fixes: #559
Fixes: #541