Skip to content

fix(ui): request one usage row for Model Providers cost aggregates - #136337

Closed
Grynn wants to merge 2 commits into
openclaw:mainfrom
Grynn:fix/model-providers-usage-limit
Closed

Grynn wants to merge 2 commits into
openclaw:mainfrom
Grynn:fix/model-providers-usage-limit

Conversation

@Grynn

@Grynn Grynn commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Author disposition — October 21, 2026

Withdrawing this obsolete implementation in favor of the merged compact-overview owner in #169660 (7aae49e8677b18ca992b72a49221e1b6de4b45e4). This is not a claim that this PR merged or that all Models-page performance work is finished.

Fresh source inspection at main f91bca9546f5 confirms:

The paired report #127245 has been updated to distinguish the superseded request path from remaining live latency validation. #174904 is still open; its prospective consumer removal is not being treated as a merged fix. The original contribution, screenshots, and historical before/after proof below are preserved.


Historical implementation and proof (prior to the compact-overview cutover)

What Problem This Solves

The Model Providers cost card (ui/src/pages/model-providers/load.ts loadModelProviderCost) only reads result.aggregates.byProvider from sessions.usage, but buildSessionUsageParams in ui/src/lib/sessions/usage.ts defaulted every no-key caller — including this aggregate-only one — to limit: 1000. The Gateway's sessions.usage handler (src/gateway/server-methods/usage.ts) aggregates every matched session row before applying limit: the accumulator runs unconditionally, while limit only bounds detailed sessions[] rows. Every Model Providers page load therefore serialized and transmitted up to 1000 rows that the caller immediately discarded. This is the remaining defect from #127245 after main already disabled context weight and added the route-data guard.

Why This Change Was Made

SessionUsageQuery now accepts the existing protocol's optional limit, and the Model Providers cost query sets it to 1, the smallest value allowed by packages/gateway-protocol/src/schema/sessions.ts. The shared Usage page omits this field and keeps its existing limit: 1000 default. This reuses the current Gateway contract; no protocol, configuration, persistence, or dependency surface changes.

User Impact

The Models settings page no longer asks the Gateway to return up to 1000 detailed session rows merely to read provider aggregates. The provider totals stay complete, while detailed response construction, serialization, and transfer are reduced to one row. The Usage page's detailed session list is unaffected.

Evidence

Current revision (October 4 status refresh)

The current head is 51810507a0c49d299973ec4b8e551c17946f384b, adapted to the inlined requestSessionUsage owner on base 82949354d73c. The September 30 author update records 28/28 loader/helper tests, 543/543 page tests, 12/12 progressive UI E2E cases and the changed-file gate passing on that rebased head; no new test run was made for this status refresh. Current GitHub checks are 53 success / 30 skipped / zero failed. The screenshots below retain their original source provenance and are prior-build visual evidence, not screenshots of this rebased head.

Fresh source inspection of main 147975c6c41d confirms the optimization is still absent: loadModelProviderCost reads only aggregates.byProvider, but its no-key call still requests 1,000 detailed rows. Existing maintainer review remains the next action; no CI rerun was requested merely to refresh status.

Built Control UI against a mock Gateway

Two independent production Control UI builds were served through the repository's Control UI E2E harness: the PR's main base (cd8c74889d21) and exact PR head (20038d5ac3e3). Each build was exercised separately in Chromium at desktop (1440x1000) and mobile (390x844). All four uploaded files have distinct MD5s and source-SHA provenance. Each viewport made exactly one sessions.usage request and rendered Anthropic at $4.20 / 1.5M tokens · 9 sessions and OpenAI JSON at $2.50 / 750k tokens · 5 sessions. The mobile viewport is scrolled so both aggregates are in frame.

Main production build — desktop 1440

Model Providers desktop from main production build

sessions.usage {"startDate":"2026-08-06","endDate":"2026-09-04","agentScope":"all","mode":"specific","timeZone":"UTC","utcOffset":"UTC+0","groupBy":"family","limit":1000,"includeContextWeight":false}

Source: cd8c74889d21ddcc9f3a2d47fe868224a0e44acb (also visible in the build footer). Rendered cost: $4.20.

In this PR — desktop 1440

Model Providers desktop from this PR's production build

sessions.usage {"startDate":"2026-08-06","endDate":"2026-09-04","agentScope":"all","mode":"specific","timeZone":"UTC","utcOffset":"UTC+0","groupBy":"family","limit":1,"includeContextWeight":false}

Source: 20038d5ac3e3ef7b2f574cf90dcff2afeb8db86c (also visible in the build footer). Rendered cost: $4.20.

Main production build — mobile 390

Model Providers mobile from main production build, scrolled to provider costs

sessions.usage {"startDate":"2026-08-06","endDate":"2026-09-04","agentScope":"all","mode":"specific","timeZone":"UTC","utcOffset":"UTC+0","groupBy":"family","limit":1000,"includeContextWeight":false}

Source: cd8c74889d21ddcc9f3a2d47fe868224a0e44acb. The scrolled frame visibly renders Anthropic $4.20 and OpenAI JSON $2.50.

In this PR — mobile 390

Model Providers mobile from this PR's production build, scrolled to provider costs

sessions.usage {"startDate":"2026-08-06","endDate":"2026-09-04","agentScope":"all","mode":"specific","timeZone":"UTC","utcOffset":"UTC+0","groupBy":"family","limit":1,"includeContextWeight":false}

Source: 20038d5ac3e3ef7b2f574cf90dcff2afeb8db86c. The scrolled frame visibly renders Anthropic $4.20 and OpenAI JSON $2.50.

The progressive E2E now asserts this request shape while covering cold, prewarmed, and cached navigation; all three modes pass.

Regression and repository checks

The loader regression was first run with the production fix removed. It failed at the owner boundary as intended: expected limit: 1, received limit: 1000 (1 failed, 12 passed). After restoring the fix:

  • node scripts/run-vitest.mjs ui/src/pages/model-providers/load.test.ts ui/src/lib/sessions/usage.test.ts → 2 files, 19 tests passed
  • node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/model-providers-progressive.e2e.test.ts → 3 tests passed; production UI built and served
  • OPENCLAW_VITEST_MAX_WORKERS=2 pnpm check:changed → exit 0 (format, translations, UI/core typecheck, lint, dead-code and repository guards)

Live Gateway payload comparison

The contributor's read-only live Gateway comparison used the same 30-day aggregate query issued by Model Providers:

limit response bytes wall time
1000 2,387,058 2.30s
1 79,925 2.95s

Because that live window was actively accruing sessions, a closed historical window (2026-06-01 through 2026-06-28) isolated the limit variable:

limit response bytes sessions[] length aggregates.byProvider
1000 782,647 1000 baseline
1 3,122 1 identical (diff clean)

This agrees with the Gateway owner: it aggregates before limiting detailed rows.

Prior CI failure classification

The prior-head run 33637688946 failed from runner infrastructure, not this change: five jobs lost the checkout fetch with fetch-pack: unexpected disconnect, and 17 self-hosted jobs lost runner communication in the same minute. No source or test assertion failed; the gate failure was derivative. This branch has since been rebased onto current main to trigger exact-head CI.

Fresh exact-head CI run 33822741510 completed with 122 successful and 13 intentionally skipped jobs. All three UI suites, all 12 Control UI E2E shards, the real-Gateway UI lane, UI performance, and UI i18n passed. Three unrelated prerequisites failed, plus the derivative aggregate gate:

  • security-fast: the external bulk advisory request exceeded its 60-second timeout. The exact command reproduced the same network timeout twice locally; it reported no dependency advisory.
  • browser-extension E2E: Chrome MCP's existing-session handshake to its local CDP endpoint timed out in extensions/browser/chrome-extension/bootstrap.chromium.test.ts.
  • core Node shard: the untouched src/gateway/local-request-context.session-tools.test.ts “unchanged” case hit its 120-second test timeout after 2,552 sibling tests passed.

None intersects this PR's four-file UI diff. That historical head did not have a green aggregate gate; the current-head status is recorded above.

Diff size

Production LOC: +3/-1 (net +2); tests: +29/-1. The two net production lines are the optional query field and its caller value. No new helper or parallel request path was added.

Risk and coverage

  • Aggregate completeness: the Gateway accumulates every matched row before applying the detail limit; the unit regression retains the exact aggregate object, and before/after built UI proof renders the same costs.
  • Usage-page behavior: its query does not set limit, so the helper's existing 1000 default and existing request-shape test remain unchanged.
  • Navigation/lifecycle: the focused Control UI E2E covers cold, prewarmed, and cached navigation; the loader suite retains abort and stale-request coverage.
  • Remaining scope: this reduces detailed-row construction/serialization/transfer. The Gateway must still scan matched usage records to compute complete aggregates.

Provenance

In this PR, @Grynn reported #127245 and authored the original fix. The maintainer follow-up preserves that contributor commit and authorship, rebases it onto main, removes duplicate implementation-coupled tests, and adds loader-boundary plus built-Control-UI coverage.

Refs #127245

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@Grynn
Grynn marked this pull request as ready for review September 2, 2026 13:45
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR limits the Model Providers cost request to one detailed session row while retaining complete provider aggregates.

Example: Opening Models with Anthropic usage totaling $4.20 across nine sessions.

  • Before: The original implementation requests up to 1,000 detailed rows.
  • After: This PR requests one row and displays the same $4.20 aggregate.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The original patch is narrow, correct, and supported by behavior evidence; its remaining value needs disposition after main’s overlapping implementation.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Prior production Control UI builds exercised the Models page in Chromium with recorded request parameters and inspected before/after cost images; the supplied live Gateway comparison independently demonstrates identical aggregates with fewer detail rows, and the rebased patch preserves that behavior.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Needs a maintainer decision · Fix scope: Complete
User problem: Opening Models originally transferred detailed session data that its provider cost cards discarded.
Reason: The original benefit is demonstrated, but main’s newer overview substantially changes the value of landing this implementation.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep open for maintainer disposition: main has replaced the expensive detailed request with a compact overview, substantially reducing this PR’s remaining value, and GitHub reports a merge conflict.

Priority: P3
Reviewed head: 51810507a0c49d299973ec4b8e551c17946f384b
Owner decision: Required. See Decision needed.

Decision needed

  • Question: Should this PR be retired after the compact-overview cutover, or retained to eliminate the remaining unused compact rows?
  • Recommendation: Retire the overlapping optimization: Credit the contribution and reconcile its paired report against the merged overview implementation before closing.
  • Why: The original large detailed response is gone, the server fixes overview pages at 50 rows, and another open change removes this consumer entirely; the assigned, paired contribution requires explicit disposition.

Before merge

  • Complete next step - If retained for merge, resolve GitHub’s reported conflict while preserving main’s compact overview and validate the affected request path.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

None.

Agent review details

How this fits together

The Models cost loader sends a date-scoped sessions.usage request through the shared UI helper and displays the Gateway’s provider aggregates; current main instead requests its compact overview projection.

flowchart LR
  A[Models page] --> B[Cost loader]
  B --> C[Shared usage request]
  C --> D[Gateway usage owner]
  D --> E[Complete provider aggregates]
  D --> F[Bounded session rows]
  E --> A
Loading

Technical review

Best possible solution:

Have the assignee retire the overlapping optimization or sponsor a focused follow-up through the current overview owner.

Do we have a high-confidence way to reproduce the issue?

Source inspection disproves the original 1,000-detail-row trigger on current main: Models now requests a compact 50-row overview; no target code was executed.

Is this the best way to solve the issue?

The patch correctly trims the original legacy response, but preserving main’s overview requires a different implementation because the server overrides its row limit.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f585b0421821.

Provenance checked

  • Shared usage request keeps the original intent (65e1232: The UI architecture refactor centralized usage requests; later work preserved complete history and selected-context behavior.)
  • Default detailed-row request keeps the original intent (d9f3d88: Reduce expensive usage loading while retaining selected-session context and complete exports.)
  • Independent Models cost loading keeps the original intent (55f127f: Render core provider controls before supplemental quota and cost reads complete, with cancellation and stale-result ownership.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • sunlit-deng: Raw commit 55f127f adds ui/src/pages/model-providers/load.ts:139 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 55f127f10294; files: ui/src/pages/model-providers/load.ts)

PR surface

Source +2, Tests +28. Total +30 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 2 3 1 +2
Tests 2 29 1 +28
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 32 2 +30

Review metrics

Metric Value Why it matters
Production versus test LOC Production +3/-1; tests +29/-1 The original implementation is small and reuses the existing request owner; production growth is justified for its original baseline.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #127245
Summary: The original report links duplicate and oversized usage responses; merged overview work overlaps this optimization, while proposed Models cleanup removes its consumer.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P3: Main already avoids the original 1,000-row detailed response; the remaining opportunity concerns unused compact rows.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • remove P1: Current review triage priority is P3, so this older priority label is no longer current.
  • remove rating: 🦞 diamond lobster: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • P3: Main already avoids the original 1,000-row detailed response; the remaining opportunity concerns unused compact rows.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-04T00:50:48.394Z sha 20038d5ac3e3ef7b2f574cf90dcff2afeb8db86c :: blocked before merge. :: none
  • reviewed 2026-09-04T01:10:09.709Z sha 20038d5ac3e3ef7b2f574cf90dcff2afeb8db86c :: blocked before merge. :: none
  • reviewed 2026-09-04T02:18:32.503Z sha 20038d5ac3e3ef7b2f574cf90dcff2afeb8db86c :: blocked before merge. :: none
  • reviewed 2026-09-04T13:59:31.654Z sha 20038d5ac3e3ef7b2f574cf90dcff2afeb8db86c :: blocked before merge. :: none
  • reviewed 2026-09-05T02:05:09.797Z sha e64bbc29bd32ea46ae74cb659721770fbd689a63 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-23T01:45:09.931Z sha e64bbc29bd32ea46ae74cb659721770fbd689a63 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-30T22:15:55.670Z sha 5181050 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-04T14:03:48.582Z sha 5181050 :: needs maintainer review before merge. :: none

Reviewed October 18, 2026, 7:13 AM ET / 11:13 UTC (Revision 10).

@vyctorbrzezowski vyctorbrzezowski self-assigned this Sep 3, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the fix/model-providers-usage-limit branch from 9150cc8 to 20038d5 Compare September 4, 2026 00:40
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 4, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the fix/model-providers-usage-limit branch from 20038d5 to e64bbc2 Compare September 5, 2026 01:57
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Sep 23, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Sep 30, 2026
@Grynn

Grynn commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

Still needed: checked current main at 182f79b. loadModelProviderCost still consumes only aggregates.byProvider, while requestSessionUsage requests limit: 1000 for this non-key call. The one-row optimization has not been incorporated or made redundant. The helper has since been refactored, so the patch may need adapting to requestSessionUsage. Could a maintainer please take another look and keep this PR open?

Grynn and others added 2 commits October 1, 2026 03:17
The Model Providers cost card only reads sessions.usage's
aggregates.byProvider, but requestSessionUsage defaulted to limit:1000
for its aggregate-only caller. The Gateway aggregates every matched
session row before applying limit (src/gateway/server-methods/usage.ts),
so the detailed 1000-row page was serialized and discarded on every
load, starving the Gateway HTTP path with multi-MB responses.

Add an optional limit to requestSessionUsage's options (used only for
the no-key/aggregate path; the shared Usage page keeps its detailed
1000-row default) and pass limit:1 from loadModelProviderCost — the
smallest legal value per the sessions.usage schema minimum.

Refs openclaw#127245
@Grynn
Grynn force-pushed the fix/model-providers-usage-limit branch from e64bbc2 to 5181050 Compare September 30, 2026 22:10
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 30, 2026
@Grynn

Grynn commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (82949354d73c); new head 51810507a0c4.

requestSessionUsage was inlined since this PR was written, so the conflict resolution adapts the change to it rather than restoring the old buildSessionUsageParams helper. SessionUsageQuery gains an optional limit alongside the new creatorKey, and the no-key branch sends limit: query.limit ?? 1000. Only loadModelProviderCost sets limit: 1. Keyed requests still use limit: 1, and the Usage page, export and detail callers still get the default 1000. Net diff is unchanged: 4 files, production +3/-1, tests +29/-1.

Local results on the rebased head:

  • node scripts/run-vitest.mjs ui/src/pages/model-providers/load.test.ts ui/src/lib/sessions/usage.test.ts → 28/28 passed. With the limit: 1 line removed, the new loader test fails as expected (expected 1, received 1000).
  • ui/src/pages/usage + ui/src/pages/model-providers suites → 38 files, 543 tests passed
  • ui/src/e2e/model-providers-progressive.e2e.test.ts (UI E2E config) → 12/12 passed, including the cold, prewarmed and cached request-shape assertions (~30s wall)
  • node scripts/check-changed.mjs --base upstream/main → exit 0 (format, i18n, tsgo core/UI lanes, dead-export scan, lint)
  • Test cost: pnpm test ui/src/pages/model-providers/load.test.ts --maxWorkers=1 → 1.6s Vitest / 3.1s wall. The E2E change adds one assertion to existing cases and no new browser boot.

Exact-head CI: 52 passed, 31 skipped, 0 failed; openclaw/ci-gate is green and the merge state is clean.

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Oct 1, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 1, 2026
@Grynn

Grynn commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Fresh stale review against main 147975c: this remains necessary. loadModelProviderCost still supplies no limit and reads only aggregates.byProvider; requestSessionUsage still sets limit:1000 for no-key calls (ui/src/pages/model-providers/load.ts:119-129; ui/src/lib/sessions/usage.ts:50). Current PR head remains 5181050, and its checks now show 53 success / 30 skipped / zero failed; the earlier exact-head tests and screenshot evidence remain in the thread. The patch is not absorbed upstream and there is no new contributor-facing code finding in the review. @vyctorbrzezowski, this assigned stale item is still wanted; please retain it for your maintainer review. No CI rerun or main-only rebase was requested.

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Oct 5, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 5, 2026
@Grynn

Grynn commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

Author update, 2026-10-11: this small optimization is still absent from main 48f3aa1af0b7c29aa605b14d281c72877c91f3f7. loadModelProviderCost still omits limit and consumes only aggregates.byProvider; the shared helper still defaults no-key requests to 1,000 detailed rows. This is a fresh source check, not a new runtime measurement.

The PR is unchanged at 51810507a0c49d299973ec4b8e551c17946f384b. Existing checks are successful/skipped, and the October 4 review accepted its proof with no before-merge findings. The body keeps the build provenance and measured aggregate-equality/payload evidence; I have not rebased or rerun CI just for age.

@vyctorbrzezowski, this assigned PR is still wanted for #127245. Could you retain it for maintainer review rather than stale closure? The remaining tradeoff is unchanged: limit detailed rows, not the scan needed to compute complete aggregates.

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Oct 12, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 12, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 18, 2026
@Grynn

Grynn commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Author disposition following the October 18 review: @vyctorbrzezowski, I am withdrawing this now-obsolete implementation rather than rebasing it over #169660's merged compact-overview owner. I have reconciled #127245 and updated this PR's description, preserving the original contribution and before/after proof.

At inspected main f91bca9546f5, Models requests projection: "overview" and the server fixes that page at 50 compact rows; this PR's limit: 1 would not reduce it. This is source-based supersession, not a new live performance result. #127245 remains open for updated-runtime measurements; #174904 remains open and is not being treated as merged.

@Grynn Grynn closed this Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS stale Marked as stale due to inactivity status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants