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 — Import bounded web thread history from upstream #4018 by patroza · Pull Request #29 · patroza/t3code

Conversation

@patroza

@patroza patroza commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Source

  • Upstream PR: fix(web): paginate large thread history for remote clients pingdotgg/t3code#4018
  • Source SHA: de8fd65934768173819b93adcd6b92af3e8c7fc3

Imported

  • bound initial server thread activity snapshots
  • cursor-paginated older activity RPC
  • lazy web history loading with scroll anchoring
  • reconnect-safe page reset and deduplication
  • disable eager sidebar detail hydration in browser/headless clients

Adapted

  • preserved Tim thread lifecycle discrimination from tim-smart/t3code#17
  • preserved our composer hero/glass and timeline minimap behavior while resolving current-stack conflicts

Excluded

  • none of fix(web): paginate large thread history for remote clients pingdotgg/t3code#4018 behavior
  • native mobile pagination is intentionally not part of fix(web): paginate large thread history for remote clients pingdotgg/t3code#4018 and will be imported separately from fix(server): paginate large thread history to stop the server running out of memory pingdotgg/t3code#3510

Verification

  • 90 focused server/client/web tests
  • targeted contracts, client-runtime, web, and server typechecks

Sorry, something went wrong.

Uh oh!

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

All reactions
@patroza patroza mentioned this pull request Jul 25, 2026
Import mobile pagination and bounded replay from upstream #3510 #30
Closed
@patroza
patroza force-pushed the fork/candidates branch from dff6105 to ff3e748 Compare July 25, 2026 08:23
@patroza
patroza force-pushed the import/upstream-pr-4018 branch from 3646dd9 to e9fa8f6 Compare July 25, 2026 08:24
@patroza
patroza force-pushed the fork/candidates branch from ff3e748 to 98745c7 Compare July 25, 2026 08:30
@patroza
perf: import bounded web thread history (upstream pingdotgg#4018)
4defcdc
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
@patroza
patroza force-pushed the import/upstream-pr-4018 branch from e9fa8f6 to 4defcdc Compare July 25, 2026 08:31
@patroza
patroza merged commit 3a30e03 into fork/candidates Jul 25, 2026
5 checks passed

Uh oh!

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

@patroza
patroza deleted the import/upstream-pr-4018 branch July 25, 2026 08:38
patroza added a commit that referenced this pull request Jul 27, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
1a9f269
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 27, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
eb52aa4
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 28, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
782c190
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 29, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
edf3804
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 29, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
e7cf1c1
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 29, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
116aa72
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 29, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
7386aff
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 30, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
23a474f
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 31, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
66a0e7e
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Jul 31, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
8830aa5
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Aug 1, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
40f6d10
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Aug 4, 2026
@patroza
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
0b1b2c2
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Aug 5, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
60bc810
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Aug 5, 2026
@patroza
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
5c0cfad
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
patroza added a commit that referenced this pull request Aug 5, 2026
@patroza @github-actions
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
a618f5f
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
omegent-app Bot pushed a commit that referenced this pull request Aug 6, 2026
@patroza @omegent-app
perf: import bounded web thread history (upstream pingdotgg#4018) (#29)
180a6c7
Source: pingdotgg#4018
Source SHA: de8fd65

Imported: bounded server activity snapshots, cursor pagination, lazy web history loading, reconnect-safe reset/dedup, and disabled eager browser sidebar hydration.
Adapted: preserved Tim thread lifecycle handling and Omega composer/minimap behavior while resolving current-stack conflicts.
Excluded: none of the source PR behavior; native mobile pagination remains separate because pingdotgg#4018 intentionally excludes it.
@omegent-app omegent-app Bot mentioned this pull request Aug 7, 2026
sync(upstream): merge upstream/main 6b73b3def into fork/dev #368
Merged
@patroza patroza mentioned this pull request Aug 7, 2026
sync(upstream): merge upstream/main 1c7d059f5 into fork/dev #370
Closed
omegent-app Bot added a commit that referenced this pull request Aug 7, 2026
@omegent-app @patroza
sync(upstream): merge upstream/main 6b73b3d into fork/dev
a19d3ea
Eight commits, headlined by pingdotgg#5493 "paginate thread loading with user-anchored
turn windows" -- 2093 insertions plus a keyset index migration.

Candidate #29 ("perf: import bounded web thread history", upstream pingdotgg#4018) is
confirmed superseded: upstream never merged pingdotgg#4018 and ships loadOlderTurns
instead. The candidate is removed from web, mobile and client-runtime --
olderThreadActivities.ts deleted, ChatView and the mobile composer/feed/screens
rewired to upstream's loadEarlier model. The SERVER half stays: deployed mobile
builds still call orchestration.getThreadActivities, so the RPC, its schemas and
the activity window constant are retained as a compatibility surface and marked
as such.

All 24 textual conflicts resolved to upstream. The expensive work was what git
auto-merged wrong or left dangling, found by typecheck and tests, not markers:

- threads.ts: upstream's applyItemLocked header welded onto the fork's batch
  reducer body, referencing an out-of-scope identifier and silently dropping
  upstream's synchronized branch. The fork's batching layer (groupedWithin,
  reduceThreadStreamItems, eventBatchSize) is removed with its two tests; the
  fork's load-once HTTP fallback guard is reimplemented on upstream's model and
  its regression test passes again.
- ws.ts: the fork's reuseBaseBranch worktree flow and upstream's pingdotgg#5556
  no-origin fallback are combined; neither side alone compiled.
- ProjectionSnapshotQuery: upstream's new windowed message query lacked the
  fork's source_json column, failing decode on every windowed read; the bounded
  detail query destructured nine results from seven queries -- the fork's
  queued-messages and pending-turn-start members are restored.
- BranchToolbar/SidebarV2/MessagesTimeline/ChatView: prop and rename skews
  reconciled; fork surface-existence assertion updated for the new feed call.
- Migration ledger fixtures extended for upstream migration 037, which lands in
  the upstream namespace and does not collide with the fork's renumbered 037.
- Upstream's new tests adapted to fork-required fields (queuedMessages,
  pendingTurnStart) and the fork's projection-wait in bootstrap.

Verified: full recursive typecheck clean across 17 packages; 2264 tests pass
including upstream's 11 pagination and 7 windowed-detail tests. The single
failure (CodexTextGeneration structured output) predates this merge.

fork/tim touches threads.ts, ProjectionSnapshotQuery and contracts; no tim
commit is merged upstream, so review those diffs with tim provenance in mind.

Co-authored-by: Patrick Roza <[email protected]>
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

None yet

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

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