Repository navigation
Conversation
…line aggregation Iterate request maps for max/average without materializing request-sized arrays. Preserve per-request attempt grouping and weighted other-series aggregation. Add high-volume and weighting regressions to the existing registered suite. Co-authored-by: luvs01 <27862058+luvs01@users.noreply.github.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueNo actionable comments were generated in the recent review. ℹ️ Recent review info
Walkthrough
Merge Risk:
|
|
✅ Deterministic PR hygiene checks passed. |
|
Recovery verification update: GitHub Actions Cross-platform CI run 40031176342 completed successfully for this PR head This supersedes the description's pending-hosted-validation note for this exact head. The local evidence remains the explicitly limited Node compatibility harness; no native local Bun or all-platform execution is claimed. Scope-skipped jobs are not counted as executed. The PR remains draft and unmerged; this update is not independent review approval, a release, or a deployment. |
…jun#7642) GHSA-mrhx-c7xc-m3w5 and GHSA-27r3-jxmh-p828 blocked the 2.92.0 publish. Leave the package version at 2.93.0 on dev. Co-authored-by: Cursor Agent <cursoragent@cursor.com>
|
No description provided. |
…e-jun#7644) Co-authored-by: lidge-jun <243035832+lidge-jun@users.noreply.github.com>
…idge-jun#7528) Settle async Windows ACL work and native-main owner locks before fixture removal, so hosted-Windows teardowns no longer fail with EPERM after passing assertions. No retry, sleep or timeout changes. Refs lidge-jun#7515
…deterministic (lidge-jun#7552) Make the codex-runtime, client-connect and loopback-listener tests deterministic: bounded child deadlines with process milestones, and a port-0 public listener in place of the free-port-then-bind race. No sleeps or timeout increases. Refs lidge-jun#7403 lidge-jun#7404 Co-authored-by: Shreyas652 <66720396+Shreyas652@users.noreply.github.com>
lidge-jun#7598) Keep the cold first-exec of a fresh Bun copy and the PowerShell start out of two timed cases: the PATH-fallback cases share one warmed Bun copy created in a budgeted beforeAll, and the CurrentUser Root certificate inspection is replayed once before its timed case. The 10s product deadline is unchanged; a new seam test drives a deadline breach to unknown on every platform. Refs lidge-jun#7578 lidge-jun#7569
…rk765-dev-bd5-20261024
|
Closing this tracking PR after carrying the validated change into the upstream review queue. Commit |
⏳ DRAFT
What to do
This pull request was already a draft. Its draft status will be preserved after every issue above is resolved. |
Summary
Recover the unfinished performance/resource audit on fork
devat306a88e08b387a7d3d2ee51bf04e72530285e5b4.Math.maxargument.flatMaparray when folding lower-ranked series intoother.This reduces temporary allocations and prevents argument-count/stack overflow for large buckets. It does not make the entire accumulator constant-memory: its existing request maps still scale with traffic. No whole-process RAM percentage or throughput improvement is claimed.
Verification
Current recovery environment: Node 22.16.0, no Bun installation and no container network/DNS access. Source files were read through the GitHub connection. Reconstructed original runtime, test and document bytes were checked against their Git blob SHAs before editing.
Executed: an algorithm-only Node harness transpiled the actual timeline module with injected attribution, label and total collaborators. Both baseline high-volume max cases threw
RangeError; the patched folded max, folded average, single-series max, weighted max and weighted average checks passed (two baseline reproductions, five patched checks). This is not a native Bun test pass and does not validate the production collaborators.Not executed in this environment: native Bun tests, repository typecheck, structure/privacy gates, full suite, Windows/macOS tests, live-provider requests. Earlier interrupted-session test reports are not credited as exact-head validation for these reconstructed test additions.
Required exact-head hosted validation includes:
bun run test --parallel=2 ./tests/usage/usage-timeline.test.ts ./tests/usage/anthropic2-usage-attribution.test.ts ./tests/cli/cli-companion-timeline.test.ts bun run typecheck bun run structure:check bun run privacy:scanDraft until native/exact-head validation is confirmed. No merge, deployment, live configuration or policy change.
Co-authored-by: luvs01 27862058+luvs01@users.noreply.github.com
Summary by CodeRabbit