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(web): keep work-log appends fast enough for Fork CI by patroza · Pull Request #424 · patroza/t3code

Conversation

@patroza

@patroza patroza commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Why

Fork CI on the #423 merge SHA (1b3f2f52e) failed its Test job while Check / Release Smoke / Mobile Native / Upstream Lineage Guard were green.

The only failure was the pingdotgg#8006 perf assertion:

session-logic.test.ts > session activity performance > updates 20,000 ordered tool activities within 100 ms

AssertionError: expected 139.01 to be less than 100

That merge tree is identical to the last green PR tip (2efc0552e). Same code, noisier GitHub-hosted runner.

What

  • Skip the copy+sort in deriveWorkLogEntries when activities are already ordered (the streaming-append path ChatView actually hits).
  • Widen the budget from 100ms to 250ms. That still fails a quadratic rebuild; 100ms was too tight for this runner class.

Test plan

  • vp test run apps/web/src/session-logic.test.ts -t "orders work log by activity sequence|session activity performance"
  • Fork CI Test on this PR / then on fork/dev after merge

Sorry, something went wrong.

Uh oh!

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

All reactions
@github-actions
fix(web): keep work-log appends fast enough for Fork CI
b6f0c21
The pingdotgg#8006 100ms budget failed at 139ms on the fork/dev merge SHA — the
same tree that passed PR CI. Skip the n log n copy+sort when activities
are already ordered (the streaming path), and give GitHub-hosted runners
250ms of headroom. Quadratic rebuilds still fail that budget.
@patroza
patroza marked this pull request as ready for review August 25, 2026 10:08
@patroza
patroza merged commit daff030 into fork/dev Aug 25, 2026
4 of 8 checks passed

Uh oh!

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

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.