Skip to content

test(control-ui): reproduce Team boot queries and warm snapshots - #175672

Merged
steipete merged 21 commits into
mainfrom
steipete/coldload-bench-live-fidelity
Oct 17, 2026
Merged

steipete merged 21 commits into
mainfrom
steipete/coldload-bench-live-fidelity

Conversation

@steipete

@steipete steipete commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Team-scale cold-load fixture answered different sessions.list queries with the same oversized rows, omitted the paginated cron workload, and did not reliably retain the Online view across reloads. These differences hid work observed during a signed-in reload of a dashboard deep link.

Use one parameter-driven session inventory for all bench requests, with canonical ordering, requested filters/pagination, owner-first rows/counts, and bounded row projections. Add 120 valid cron jobs (three compact pages of 50/50/20) and seven activating plugins. Before every measured reload, restore the original persisted sidebar and trimmed v8 chat snapshot. Replay follows app unload and preserves the HTTP cache; the Online browser regression waits for its committed snapshot.

This supersedes #175190 with the retained fixture fixes. It drops the bespoke fidelity reporter and its tests; L119's existing --cpu-profile and --cpu-profile-compare remain the sole profiler/comparison path. No application code, Gateway schema, configuration option, or durable server record changes.

Evidence

The supplied r149 board reference has five distinct session-list queries, three compact cron pages, and seven plugin activations. The revised gate compares those known counts (±1) and verifies that actual sidebar/chat snapshot restoration appears in the existing CPU profile. No cross-revision function-share threshold or speedup claim.

Validation on AWS Crabbox cbx_1a3227209604, fixed c7a.4xlarge, exact head below (run):

Focused file (pnpm test <file> --maxWorkers=1) Result Wall time
src/gateway/session-list-retention-scale.test.ts 1 passed 47.06 s
ui/src/test-helpers/control-ui-e2e.mock-gateway.test.ts 10 passed 3.78 s
ui/src/test-helpers/control-ui-team-scale-fixture.test.ts 5 passed 2.92 s
ui/src/lib/sessions/sidebar-list-churn.test.ts 1 passed 3.35 s
ui/src/e2e/team-scale-cold-load.e2e.test.ts 1 passed 55.34 s including build

Both targeted lint groups and all three targeted typechecks passed. Independent P0–P2 review is clean. Exact-head GitHub CI is green: run 39050827804. Focused regressions cover all five query shapes, independent pagination/filtering, bounded enrichment, canonical ordering, valid cron definitions and paging, seven activation reports, and Online/snapshot persistence through reload.

Fidelity gate

Seven profiled board reloads on the fixed AWS instance all match the complete r149 reference counts:

Method Live reference Each of 7 board reloads
sessions.list 5 5
cron.list 3 3
plugins.controlUi.report 7 7, all activated

Every measured reload starts from the same 80-message v8 chat snapshot (projection v3) and persisted 120-person sidebar. The probe records an IndexedDB snapshot hit and cached-transcript paint in all seven runs. Existing --cpu-profile output samples restoreSnapshotSession in 7/7 runs, restoreSidebarSnapshot in 1/7, applyChatCacheSnapshot in 4/7, and readStoredChatSnapshotRecord in 2/7. These are actual restore/read paths; short sampled functions need not appear in every run. The Online reload also preserves the selected view and all 120 people (4 session lists, 3 cron pages, 7 activated plugins). No function-share threshold or timing/speedup claim.

Complete board boot RPC census (identical in all seven runs)
Method Count
agent.identity.get 1
agents.list 1
board.get 1
canvas.document.view 1
chat.startup 1
config.get 1
connect 1
cron.list 3
cron.status 1
exec.approval.list 1
models.authStatus 1
models.list 1
openclaw.approval.list 1
plugin.approval.list 1
plugins.controlUi.list 1
plugins.controlUi.report 7
presence.activity 1
progressCard.get 1
question.list 1
session.members.listEvidence 1
session.reactions.list 1
sessions.branches.list 1
sessions.catalog.list 1
sessions.companion.state 1
sessions.describe 30
sessions.groups.defaults 1
sessions.groups.list 1
sessions.list 5
sessions.messages.subscribe 7
sessions.observer.visibility 1
sessions.subscribe 1
system.info 1
talk.catalog 1
talk.config 1
update.status 1
users.list 1

Only the three gate methods have complete comparable counts in the supplied r149 excerpt. The r147 message-cost capture is partial; absent methods are not treated as zero.

Full UI suite and broader checks

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts completed once on this head: 820 files passed, 3 failed, 1 skipped; 3,571 cases passed, 1 failed, 5 skipped, wall time 5,456.47 s. Two suites could not start because the lease lacked WebKit. After installing the matching browser, focused replays passed: tooltip-first-activation.e2e.test.ts 2/2 (23.86 s), workboard-native-bundle.e2e.test.ts 2/2 (30.25 s). No full-suite replay was used to chase green.

The remaining QA-lab case (control-ui-automation-management.real-gateway.e2e.test.ts, configured owners/admin management) fails with Private mutation boundary is writable by another POSIX principal. The identical test file (same Git blob on both revisions) reproduces the same error on pinned main bebee58450d179e806e4e1e85074444c391de2bf, using its own frozen dependency install and matching build. No filesystem protection was relaxed.

node scripts/check-changed.mjs completed in 2,059.43 s. Changed-file formatting/lint, UI types, scripts types, controller/API guards, and script unused-export scan passed. Four broader gates fail identically on that pinned main baseline:

Gate Matching baseline evidence
Max-lines suppression ratchet Same three untouched files: chat-message.test.tsx, config-page-state.ts, sessions-page-state.ts
Core graph boundary Same pre-existing root counts: gateway-root 728 and infra 736, over 720
UI chat test typecheck Same three undefined snapshot-store constants in session-snapshot-store.test.ts
Production/full-tree unused exports Same eight production exports and three test-support exports; scripts scan clean

The snapshot-store unit file also reproduces its undefined-constant failure on pinned main (31 passed, 1 failed). These failures are outside this diff; exact-head GitHub CI is green. Local proof retains each failed command, exit code, baseline comparison, and the complete CPU/bench summaries.

Size and ownership

Head: 9159fd1e18512b4781d4abcc3c593375fb162f04. The campaign non-test diff filter reports 586 additions and 236 deletions: +350 tooling lines. Application runtime delta: 0. Growth belongs to the query/inventory and warm-state fixture owners; frozen query responses and the custom report are removed.

The campaign lead owns landing. Do not merge automatically.

The following list records the initial full-suite result; the two WebKit setup failures were subsequently repaired and their focused files passed as noted above.

Full UI suite: file pass/fail list

Names below omit the shared .e2e.test.ts suffix (except .tsx files, shown in full). PASS means the file completed without failures; SKIP means every case was skipped. Detailed per-case counts are retained in the local proof.

ui-e2e-bundled / ui/src/e2e

PASS about
PASS activity-answer-candidates
PASS activity-current-work
PASS activity-polish
PASS activity-presence-connections
PASS activity-run-inspector.collection
PASS activity-run-inspector
PASS activity-session-feed.capture
PASS activity-session-git
PASS activity-session-recaps
PASS activity-session-refresh
PASS activity-session-subagents
PASS activity-summaries
PASS agent-channel-runtime-status
PASS agent-config-save
PASS agent-file-lifecycle
PASS agent-github-device-authorization
PASS agent-identity-reconnect
PASS agent-model-fallback-ownership
PASS agent-page-scope
PASS agent-select-avatar-timeout
PASS agent-select-layout
PASS agent-selection-persistence
PASS agents-set-default-persistence
PASS app-chrome-interaction
PASS appearance-accent-selection
PASS appearance-control-layout
PASS appearance-settings-defaults
PASS approval-flow
PASS approval-page
PASS assistant-panel-context
PASS attachment-file-styles
PASS avatar-initial-emoji
PASS background-presentation
PASS background-startup
PASS board-a2ui
PASS board-mcp-app
PASS board-split-transcript
PASS bootstrap-ui-preferences
PASS browser-bootstrap
PASS browser-dictation-status
PASS browser-panel-width
PASS browser-route-handoff
PASS browser-screenshot-body-cancel
PASS browser-stream-startup
PASS browser-tab-preview-urls
PASS browser-talk-microphone-lifetime
PASS browser-talk-ordering
PASS browser-talk-start-stop
PASS browser-talk-start-stop.webrtc-sdp
PASS browser-talk-voice-selection
PASS browser-talk-webkit-error
PASS channel-wizard-option-contrast
PASS channels-whatsapp-logout
PASS chat-active-cursor-replay
PASS chat-active-turn-recovery
PASS chat-agent-run-transcript
PASS chat-async-questions
PASS chat-attachment-announcement
PASS chat-attachment-containment
PASS chat-attachment-errors
PASS chat-attachment-focus
PASS chat-attachment-menu
PASS chat-attachment-read-lifecycle
PASS chat-attachment-remove
PASS chat-attachment-spacing
PASS chat-attributed-identity
PASS chat-background-invalidation
PASS chat-boot-optional-requests
PASS chat-boot-render-storm
PASS chat-bubble-activity
PASS chat-bubble-mode
PASS chat-child-attention
PASS chat-ci-details
PASS chat-cli-history-redaction
PASS chat-cold-load-anchor
PASS chat-collaborator-scroll
PASS chat-collapsed-reply-reveal
PASS chat-comment-lifecycle
PASS chat-comment-pane-retirement
PASS chat-composer-accessory-focus
PASS chat-composer-capability-menu-height
PASS chat-composer-capability-menu
PASS chat-composer-catalog
PASS chat-composer-focus
PASS chat-composer-input-measurement
PASS chat-composer-outbox
PASS chat-composer-picker-layout
PASS chat-composer-pointer-activation
PASS chat-composer-predictions
PASS chat-composer-redesign
PASS chat-composer-size
PASS chat-composer-undo-redo
PASS chat-content-copy
PASS chat-context-attachment
PASS chat-continue-in-terminal
PASS chat-emoji
PASS chat-empty-assistant
PASS chat-error-details
PASS chat-external-pending-input
PASS chat-file-copy-retirement
PASS chat-file-editor-recovery
PASS chat-file-links
PASS chat-flow.active-run-follow-ups
PASS chat-flow.clipboard
PASS chat-flow.composer-shortcuts
PASS chat-flow.dynamic-catalog
PASS chat-flow.history-issuance
PASS chat-flow.history-recovery
PASS chat-flow.image-handoff
PASS chat-flow.local-media-policy
PASS chat-flow.media-files
PASS chat-flow.messaging
PASS chat-flow.model-picker-refresh
PASS chat-flow.models-reasoning
PASS chat-flow.navigation-presentation
PASS chat-flow.pending-settings
PASS chat-flow.queue-edit
PASS chat-flow.queue-reorder
PASS chat-flow.reactions
PASS chat-flow.session-start
PASS chat-flow.sidebar-presentation
PASS chat-flow.stream-reconciliation
PASS chat-flow.streaming
PASS chat-flow.task-suggestions
PASS chat-follow-maintenance
PASS chat-footer
PASS chat-github-publication-guest
PASS chat-github-publication
PASS chat-goal-complete-resume
PASS chat-goal-elapsed
PASS chat-goal-recovery
PASS chat-guardian-review
PASS chat-header-axis
PASS chat-header-owner-presence.capture
PASS chat-header-session-lineage
PASS chat-header-session-outcomes
PASS chat-header-subagents
PASS chat-header-system-info
PASS chat-heartbeat-activity-rollup
PASS chat-history-activity-anchor
PASS chat-history-empty-tail
PASS chat-history-loading
PASS chat-history-prepend-anchor
PASS chat-history-stale-geometry
PASS chat-html-preview-policy
PASS chat-html-preview
PASS chat-image-approval-loading
PASS chat-image-lightbox
PASS chat-image-loading
PASS chat-image-virtual-remount
PASS chat-incognito-expired
PASS chat-interrupted-history
PASS chat-interrupted-reply
PASS chat-large-paste-99213
PASS chat-live-final-order
PASS chat-loading-deadlines
PASS chat-markdown-alignment
PASS chat-markdown-table-interactions
PASS chat-mention-cache
PASS chat-mention-popover
PASS chat-mention-search
PASS chat-mermaid-load-errors
PASS chat-message-actions
PASS chat-metadata-observation
PASS chat-mobile-bubble-margin
PASS chat-model-controls
PASS chat-model-picker-composition
PASS chat-model-runtime
PASS chat-model-selection-recovery
PASS chat-model-wait
PASS chat-motion
PASS chat-native-runtime-recovery
PASS chat-native-turn-activity
PASS chat-nested-tool-presentation
PASS chat-offline-session-title
PASS chat-omitted-image-placeholder
PASS chat-only-model
PASS chat-outbox-agent-scope
PASS chat-outbox-capacity
PASS chat-outbox-idle-reconciliation
PASS chat-outbox-migration
PASS chat-outbox-payloads
PASS chat-outbox-recovery
PASS chat-panel-layout
PASS chat-panel-reflow
PASS chat-pasted-text-show-in-text-field
PASS chat-permission-refresh
PASS chat-person-reference
PASS chat-picker-interaction-contract
PASS chat-placement-recovery
PASS chat-plugin-steering
PASS chat-position-rail-layout
PASS chat-position-rail-split
PASS chat-position-rail-visibility
PASS chat-position-rail
PASS chat-pr-publication-state
PASS chat-pr-refresh-replay
PASS chat-prepared-identity
PASS chat-prepared-silence
PASS chat-provider-policy-notice
PASS chat-provider-review
PASS chat-pull-requests
PASS chat-queue-edit-conflict-recovery
PASS chat-queue-reorder-recovery
PASS chat-queue-update-reload
PASS chat-quota-pill-93041
PASS chat-rail-columns
PASS chat-reasoning-stream-follow
PASS chat-reasoning-stream
PASS chat-reasoning-visibility
PASS chat-recovered-search
PASS chat-reply-attribution
PASS chat-reply-preview-recovery
PASS chat-resize-anchor
PASS chat-responsive
PASS chat-restart-resume
PASS chat-retained-pane-escape
PASS chat-retained-pane-eviction
PASS chat-retained-pane-hydration
PASS chat-retry-failure
PASS chat-run-lifecycle
PASS chat-scope-read-gates
PASS chat-scroll-dock
PASS chat-scroll
PASS chat-selection-to-main
PASS chat-send-ack-ownership
PASS chat-send-pending-handoff
PASS chat-session-activity
PASS chat-session-companion-clear
PASS chat-session-companion-composer
PASS chat-session-companion-focus
PASS chat-session-companion-manual-open-focus
PASS chat-session-companion-retry
PASS chat-session-diff-budget
PASS chat-session-diff
PASS chat-session-discussion-toggle
PASS chat-session-entry
PASS chat-session-prefetch-gating
PASS chat-session-read-coalescing
PASS chat-side-chat-typography
PASS chat-side-panel-clearance
PASS chat-side-panel-helper
PASS chat-sidebar-panel-contract
PASS chat-skill-library
PASS chat-skill-references
PASS chat-slash-command-ranking
PASS chat-source-previews
PASS chat-split-close-focus
PASS chat-split-dashboard-face
PASS chat-split-narrow
PASS chat-split-saved-owner
PASS chat-startup-priority
PASS chat-startup-progress
PASS chat-startup-wait
PASS chat-stop-response-ownership
PASS chat-subagent-waiting
PASS chat-submit-responsiveness
PASS chat-swarm-history
PASS chat-swarm-lifecycle
PASS chat-system-events
PASS chat-terminal-error-reload
PASS chat-text-attachment
PASS chat-thinking-arguments
PASS chat-tool-output-fidelity
PASS chat-tool-steering-skip
PASS chat-tool-turn-outcome
PASS chat-transcript-disclosure-anchor
PASS chat-transcript-focus
PASS chat-uploaded-image-recovery
PASS chat-user-avatar-alignment
PASS chat-user-bubble-disclosure
PASS chat-versions
PASS chat-video-attachment-preview
PASS chat-video-compression
PASS chat-video-gallery
PASS chat-voice-transcript
PASS chat-widget-autosize
PASS chat-widget-guest
PASS chat-widget-retention
PASS chat-widget-sandbox
PASS chat-widget-scroll
PASS chat-worked-for-visualization
PASS chat-workspace-directory-race
PASS chat-workspace-downloads
PASS chat-workspace-files
PASS chat-youtube-embed
PASS chrome-extension-status
PASS claude-sessions
PASS cloud-reconciliation-followup
PASS cloud-session-disk-space
PASS cloud-session-placement-identity
PASS cloud-workers-settings
PASS cloud-workers-snapshots
PASS cloud-workspace-conflict
PASS codex-sessions
PASS command-palette-avatars
PASS command-palette-composition
PASS command-palette-create
PASS command-palette-first-open
PASS command-palette-images
PASS command-palette-mentions
PASS command-palette-shortcuts
PASS compact-identity-menu
PASS composer-text-readability
PASS config-controls-visual
PASS config-enum-controls
PASS config-form-defaults
PASS config-form-guidance
PASS config-form-integrity
PASS config-number-controls
PASS config-open-file-feedback
PASS config-quick-thinking-persistence
PASS config-safe-write
PASS connection-settings
PASS control-ui-credentials
PASS control-ui-route-readiness
PASS cron-agent-ownership
PASS cron-descriptions
PASS cron-filters
PASS cron-heartbeat-scratch
PASS cron-history-recovery
PASS cron-job-link
PASS cron-pacing
PASS cron-remove
PASS cron-run-completion
PASS cron-run-feedback
PASS cron-run-filter-typography
PASS cron-run-suppression
PASS cron-search
PASS cron-select-values
PASS cron-trigger-authoring
PASS cron-trigger-filter
PASS csp-jitless
PASS curated-settings-defaults
PASS custodian-auto-setup
PASS custodian-channel-onboarding
PASS custodian-event-nudge
PASS custodian-onboarding-locale
PASS custodian-panel-toggle
PASS custom-snooze
PASS dashboard-cold-load
PASS dashboard-final-reply-recovery
PASS dashboard-fullscreen
PASS dashboard-gallery
PASS dashboard-presentation-defaults
PASS dashboard-session-retention
PASS dashboard-website
PASS dashboards-list-demand
PASS debug-diagnostics
PASS debug-overlay-position
PASS debug-tray-polling
PASS decision-model-settings
PASS desktop-document-mode
PASS desktop-keyboard
PASS desktop-panel-abandonment
PASS desktop-panel-credentials
PASS desktop-panel-fullscreen
PASS desktop-panel
PASS desktop-picture-in-picture
PASS device-alias-rename
PASS device-binding-state
PASS device-scope-upgrade
PASS device-token-reconnect
PASS dynamic-route-loader-count
PASS exec-approvals-dirty-target-switch
PASS external-session-catalogs
PASS favicon-status
PASS file-drop-guard
PASS gateway-status
PASS github-link-hovercard
PASS github-panel
PASS guest-self-profile
PASS guest-session-controls
PASS guest-session-rename
PASS home-attention
PASS home-command-recovery
PASS identity-activity-links
PASS identity-config-refresh
PASS inbox-dismissal-clarity
PASS inference-setup-gate
PASS keyboard-shortcuts-focus
PASS lazy-custom-element-recovery
PASS lazy-route-error-layout
PASS link-favicons
PASS link-hover-preview
PASS link-reader-checks
PASS link-reader-loading
PASS linked-session-navigation
PASS lobster-pet-dismiss-menu-overflow
PASS lobster-pet
PASS login-gate
PASS logs-autofollow
PASS logs-layout
PASS managed-image-actions
PASS managed-media-base-path
PASS mantis-chat-proof
PASS markdown-progress-adversarial
PASS meetings
PASS memory-overview-plugin
PASS memory-search-plugin
PASS memory-settings-defaults
PASS memory-settings-engine
PASS mobile-chat-header
PASS mobile-inbox-sheet
PASS mobile-new-conversation
PASS mobile-pairing
PASS mobile-shell-geometry
PASS modal-actions
PASS model-agent-scoping
PASS model-alias-display
PASS model-catalog-partial-refresh
PASS model-defaults-recovery
PASS model-provider-login
PASS model-provider-usage-outcomes
PASS model-providers-help
PASS model-providers-layout
PASS model-providers-profile-outcomes
PASS model-providers-progressive
PASS model-providers.discovery
PASS model-providers
PASS model-setup-activation-feedback
PASS model-setup-cancel
PASS model-setup-codex-sign-in
PASS model-setup-explicit
PASS model-setup-llamacpp
PASS model-setup-lmstudio
PASS model-setup-reconnect
PASS model-setup-recovery
PASS model-setup-replacement
PASS model-setup
PASS model-sign-in-unresponsive-gateway
PASS mount-fallback
PASS native-conversation
PASS native-desktop-appearance
PASS native-desktop-gateways
PASS native-desktop-titlebar
PASS native-device-settings
PASS native-embed-settings
PASS native-gateway-health
PASS native-link-routing
PASS native-nav-responsive-layout
PASS native-nav-sidebar-toggle
PASS native-page-header-clearance
PASS native-plugin-navigation
PASS native-plugin-ui
PASS native-report-widget
PASS native-session-discovery-settings
PASS native-session-sidebar
PASS new-session-page.agent-identity
PASS new-session-page.attachment-url-lifecycle
PASS new-session-page.capability-menu
PASS new-session-page.catalog-bootstrap
PASS new-session-page.catalog-reconnect
PASS new-session-page.cloud-dispatch
PASS new-session-page.cloud-os
PASS new-session-page.cloud-size
PASS new-session-page.cloud-startup-failure
PASS new-session-page.cloud-startup
PASS new-session-page.cloud-startup.recovery
PASS new-session-page.config-startup
PASS new-session-page.configured-defaults
PASS new-session-page.connect-machine
PASS new-session-page.device-dispatch
PASS new-session-page.device-folder
PASS new-session-page.device-stop
PASS new-session-page.draft-handoff
PASS new-session-page.durable-write-teardown
PASS new-session-page.empty-workspace
PASS new-session-page.environment-metadata
PASS new-session-page.environment-picker-loading
PASS new-session-page.fast-mode-preferences
PASS new-session-page.github-projects
PASS new-session-page.host-remediation
PASS new-session-page.hosted-environment
PASS new-session-page.incognito-navigation
PASS new-session-page.input-latency
PASS new-session-page.instant-thread
PASS new-session-page.model-catalog
PASS new-session-page.model-picker-spacing
PASS new-session-page.native-destinations
PASS new-session-page.operator-scopes
PASS new-session-page.place-preferences
PASS new-session-page.places-live
PASS new-session-page.places
PASS new-session-page.projects-places
PASS new-session-page.prompt-attachments
PASS new-session-page.provisional-navigation
PASS new-session-page.responsive-welcome
PASS new-session-page.saved-split
PASS new-session-page.suggested-cloud
PASS new-session-page.title
PASS new-session-page.transition-cancel
PASS new-session-page.transition
PASS new-session-page.workspace-memory
PASS new-session-page.workspace-validation
PASS new-session-pending-sidebar
PASS new-session-session-writer
PASS new-session-sidebar-visibility
PASS operator-admin
PASS people-activity-card
PASS people-activity-filters
PASS personal-background
PASS phone-stale-build-recovery
PASS placement-error-unicode
PASS plugin-bundled-view-recovery
PASS plugin-tab-slugs
PASS plugins-config-mutation
PASS plugins-credentials
PASS plugins-help
PASS plugins-hub-navigation
PASS plugins-request-ownership
PASS plugins-schema-controls
PASS plugins-settings-admin
PASS plugins-settings-composition
PASS plugins-settings-keyboard
PASS plugins-settings-refresh
PASS processes-panel
PASS profile-page
PASS pwa-manifest-credentials
PASS question-flow
PASS question-guest
PASS question-progress
PASS required-worker-routing
PASS resize-handles
PASS route-css
PASS screen-requester-routing
PASS session-active-resources
PASS session-agent-column
PASS session-automation-inspection
PASS session-catalog-involvement
PASS session-catalog-pending-host
PASS session-channel-hovercard
PASS session-color
PASS session-context-breakdown
PASS session-context-meter
PASS session-dashboard-active-panel
PASS session-dashboard
PASS session-dashboard.grant-failure
PASS session-details-background-work
PASS session-details-progress
PASS session-github-preview
PASS session-kinds
PASS session-link-not-found
PASS session-link-reconnect
PASS session-list-filter
PASS session-list-row-events
PASS session-management.account-label
PASS session-management.archive-batch
PASS session-management.archive-undo
PASS session-management.archive
PASS session-management.archived-actions
PASS session-management.bulk-delete-scope
PASS session-management.copy-session-id
PASS session-management.created-sort
PASS session-management.draft-indicator
PASS session-management.filtered-errors
PASS session-management.group-defaults
PASS session-management.group-identity
PASS session-management.group-return
PASS session-management.groups
PASS session-management.mutation-scope
PASS session-management.nested-archive
PASS session-management.new-group
PASS session-management.operator-scopes
PASS session-management.optimistic-pin
PASS session-management.queue
PASS session-management.rename-composition
PASS session-management.rename-identity
PASS session-management.rename
PASS session-management.sidebar-reconnect
PASS session-management.sidebar
PASS session-management.trailing-state
PASS session-management.unread
PASS session-manager-history
PASS session-mention-involvement
PASS session-observer-model-catalog-recovery
PASS session-owner-assignment
PASS session-owner-filter-empty-section
PASS session-owner-filter-header
PASS session-owner-filter-keyboard
PASS session-owner-first
PASS session-owner-warm-refresh
PASS session-ownership
PASS session-person-grouping-presence
PASS session-placement.menu
PASS session-placement.move
PASS session-prefetch
PASS session-progress-disclosure
PASS session-progress-hovercard-catalog
PASS session-progress-hovercard
PASS session-progress-hovercard.navigation
PASS session-progress-live-placement
PASS session-progress-motion
PASS session-progress-polish
PASS session-progress-preference
PASS session-progress-refresh
PASS session-progress-scroll
PASS session-progress-startup
PASS session-progress-submit
PASS session-progress-widget
PASS session-pull-requests
PASS session-reconnect-existence
PASS session-roster-event-scope
PASS session-runtime-freshness
PASS session-scoped-delivery
PASS session-shortcuts
PASS session-sources
PASS session-storage-settings
PASS session-suggestions
PASS session-transcript-search
PASS session-viewer-presence
PASS sessions-navigation-identity
PASS settings-agent-selector
PASS settings-config-recovery
PASS settings-layout
PASS settings-media-permission
PASS settings-message-width
PASS settings-prefs-reconnect
PASS settings-redirect-history
PASS settings-reload-devices-draft
PASS settings-search-keyboard
PASS settings-typography-search
PASS settle
PASS shell-presentation
PASS sidebar-agent-first
PASS sidebar-attention-scope
PASS sidebar-cached-list-stability
PASS sidebar-catalog-scope
PASS sidebar-child-expansion
PASS sidebar-cold-load
PASS sidebar-cron-inventory
PASS sidebar-customization
PASS sidebar-dev-branch
PASS sidebar-inbox-latency
PASS sidebar-interactions
PASS sidebar-name-marquee
PASS sidebar-navigation-upgrade
PASS sidebar-new-conversation
PASS sidebar-outbox
PASS sidebar-pages-archive
PASS sidebar-per-tab-visibility.capture
PASS sidebar-pin-priority
PASS sidebar-pinned-agents
PASS sidebar-plugin-order
PASS sidebar-profileless-scope
PASS sidebar-pull-requests
PASS sidebar-rail-alignment
PASS sidebar-rail-toggles.capture
PASS sidebar-rail
PASS sidebar-refresh-availability
PASS sidebar-restart-recovery
PASS sidebar-roster-completeness.capture
PASS sidebar-roster
PASS sidebar-selection-overflow
PASS sidebar-session-stability
PASS sidebar-settings
PASS sidebar-show-all
PASS sidebar-transient-surfaces
PASS sidebar-users-filter
PASS skills-any-bin-requirements
PASS skills-clawhub-external-install
PASS skills-library
PASS skills-owner-selection
PASS solo-widget-chrome
PASS spatial-fades
PASS stale-build-recovery
PASS subagent-task-notice
PASS subagents-panel
PASS systems-workspace
PASS team-scale-cold-load
PASS terminal-docking
PASS terminal-embedded
PASS terminal-open
PASS terminal-page
PASS terminal-panel-layout
PASS terminal-repaint
PASS terminal-theme-branding
PASS terminal-upload
PASS theme-background
PASS theme-boot
PASS theme-branding-proof
PASS theme-muted-contrast
PASS theme-plugin-background
PASS theme-selection-defaults
PASS theme-typography
PASS tool-titles
FAIL tooltip-first-activation
PASS transcript-library
PASS tweet-card
PASS update-coalesced
PASS update-confirmation
PASS update-external-supervisor
PASS update-git-revisions
PASS update-lifecycle
PASS update-native-authority
PASS update-run
PASS update-stale-git-refresh-proof
PASS update-triage
PASS updates-settings
PASS uploads-policy
PASS usage-calendar-boundaries
PASS usage-cost-analysis
PASS usage-export-recovery
PASS usage-known-zero-cost
PASS usage-overview
PASS usage-query-recovery
PASS usage-reconnect
PASS usage-session-unicode
PASS usage-tool-count
PASS warm-boot
PASS workboard-board-widget-layout
PASS workboard-lazy-page
PASS workboard-locale
PASS worker-inference
PASS workspace-panel-startup
PASS worktrees
PASS x-plugin

ui-e2e-bundled / ui/src/pages/chat/components

PASS chat-clawhub-card

ui-e2e-bundled / ui/src/pages/chat

PASS critical-observer-notice

ui-e2e-bundled / ui/src/pages/cron

PASS run-transcript

ui-e2e-bundled / ui/src/pages/lobsterdex

PASS lobsterdex-page

ui-e2e-bundled / ui/src/pages/plugins

PASS install-progress
PASS plugin-deprecated-sdk
PASS plugin-overview
PASS plugin-skills
PASS plugins-catalog
PASS plugins-lifecycle
PASS plugins-runtime
PASS plugins

ui-e2e-bundled / ui/src/pages/secrets

PASS secrets

ui-e2e-bundled / ui/src/pages/workboard

FAIL workboard-native-bundle
PASS workboard-notes
PASS workboard-routing
PASS workboard-scroll
PASS workboard-sidebar
PASS workboard-status-persistence
PASS workboard

ui-e2e-bundled / ui/src/test-helpers

PASS control-ui-e2e-readiness

ui-e2e-serial / extensions/qa-lab/src

FAIL control-ui-automation-management.real-gateway
PASS control-ui-media-transcript.real-gateway
PASS control-ui-openclaw-delegation.real-gateway
PASS session-host-command-state.real-gateway

ui-e2e-serial / ui/src/e2e

PASS chat-flow.catalog-bootstrap
PASS chat-stream-runtime-budgets
PASS control-ui-auth-transports
PASS device-alias-rename.real-gateway
PASS logs-lifecycle
PASS profile-page.real-gateway
PASS session-pr-reader-lifetime.real-gateway
PASS session-progress-hovercard.real-gateway
PASS sidebar-running-counts.real-gateway
PASS usage-sessions-owner-attribution
PASS worker-initial-setup.real-gateway

ui-e2e-serial-standalone / ui/src/e2e

PASS activity-run-inspector.real-gateway
PASS agent-file-lifecycle.real-gateway
PASS agent-switch-roster
PASS approval-bootstrap
PASS background-work.real-gateway
PASS boot-module-boundaries
PASS browser-auth-recovery
PASS browser-capabilities
PASS build-info-unicode
PASS chat-agent-avatar.real-gateway
PASS chat-code-block-fences
PASS chat-collaborator-scroll.real-gateway
PASS chat-composer-websearch-kill-switch.real-gateway
PASS chat-export-attribution
PASS chat-json-tree
PASS chat-loading-performance.real-gateway
PASS chat-managed-media-order.real-gateway
PASS chat-project-media.real-gateway
PASS chat-reconnect-continuity.real-gateway
PASS chat-session-diff-folding.real-gateway
PASS chat-stop-finished-run.real-gateway
PASS chat-stop-owned-exec.real-gateway
PASS chat-thinking-metadata.real-gateway
PASS chat-tts-supplement.real-gateway
PASS chat-wait-clock.real-gateway
PASS chat-widget-sandbox.real-gateway
PASS child-session-load-errors
PASS command-palette-catalog.real-gateway
PASS command-palette-search.real-gateway
PASS community-invite-showing
PASS composer-draft-store
PASS composer-recovery-fences
PASS config-raw-save
PASS control-ui-shell-routing
PASS cron-duration-save.real-gateway
PASS cron-loading
SKIP desktop-resize.real-gateway
PASS device-platform-family.real-gateway
PASS gateway-foreground-recovery
PASS initial-connect-splash
PASS locale-offline-retry
PASS mcp-app-conformance
PASS memory-overview-source
PASS mobile-chat-session-menu
PASS mobile-sidebar-session-menu
PASS model-api-keys.real-gateway
PASS model-catalog-partial-refresh.real-gateway
PASS model-picker-search.real-gateway
PASS mount-recovery
PASS native-notifications-loading
PASS new-session-page.cloud-startup.runtime-load
PASS post-deploy-session-entry
PASS presentation-primitives
PASS provider-browser-login.real-gateway
PASS quota-reset-status.real-gateway
PASS session-management.delete
PASS session-management.promotion
PASS session-roster-request-rate.real-gateway
PASS settings-loading-skeletons
PASS shell-module-loading
PASS sidebar-account-footer
PASS sidebar-boot-imports
PASS terminal-fonts
PASS terminal-runtime

ui-e2e-serial-standalone / ui/src/pages/agents-home

PASS claws-catalog

ui-e2e-serial-standalone / ui/src/pages/workboard

PASS workboard-distribution

ui-e2e-standalone / ui/src/e2e

PASS board-fixture
PASS control-ui-build-publication
PASS control-ui-stale-build-reload
PASS service-worker-update

@clawsweeper

clawsweeper Bot commented Oct 17, 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T16:49:53.379737Z 9159fd1 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: deaa345f8d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

value: { model?: { navigationView?: string; onlineUsers?: unknown[] } },
key?: IDBValidKey,
) {
const request = put.call(this, value, key);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve the omitted-key put overload

When the application calls store.put(record) on these inline-key (keyPath) stores, this wrapper forwards two arguments as put.call(this, value, undefined). IndexedDB treats the explicitly supplied key as invalid for an inline-key store, so Chromium throws DataError before the observer can resolve, breaking the Team-scale E2E on its first sidebar snapshot write; the composer-draft wrapper at line 346 repeats the same defect. Dispatch to put.call(this, value) when key is undefined, as the existing composer-store E2E interception does.

AGENTS.md reference: AGENTS.md:L86-L87

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the steipete/coldload-bench-live-fidelity branch 3 times, most recently from 5aad82f to 0a56ef9 Compare October 17, 2026 16:34
@steipete
steipete force-pushed the steipete/coldload-bench-live-fidelity branch from 0a56ef9 to 9159fd1 Compare October 17, 2026 16:45
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 17, 2026
@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds query-aware Team-scale fixtures, paginated cron jobs, and repeatable warm snapshot restoration.

Example: Reload the synthetic Team dashboard with 120 scheduled jobs.

  • Before: The fixture omitted the paginated cron workload.
  • After: Requests can receive compact pages containing 50, 50, and 20 jobs.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, focused tooling with no verified correctness finding; directly inspectable behavior evidence is limited to reported focused tests and CI.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored test-tooling PR is outside the ordinary contributor proof gate; its reported focused tests and successful CI support review but do not certify live workload fidelity.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Performance investigations use a synthetic reload that misses boot workloads and can start from inconsistent saved browser state.
Reason: The established feature-history owner has approved this narrower tooling direction, and the changes improve repeatability without expanding production scope.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR improves a useful performance fixture, and no concrete introduced defect was found.

Priority: P2
Reviewed head: 9159fd1e18512b4781d4abcc3c593375fb162f04

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied evidence does not show a current-head benchmark replay or the browser regression failing on the base.
Agent review details

How this fits together

The benchmark feeds synthetic Gateway responses into the production Control UI and records reload profiles, RPC traffic, and rendering observations.

flowchart LR
  A[Benchmark runner] --> B[Synthetic inventory]
  B --> C[Mock Gateway responses]
  C --> D[Production Control UI]
  E[Saved browser snapshots] --> D
  D --> F[Profiles and captures]
Loading

Technical review

Best possible solution:

Retain the focused fixture improvements and leave landing with the campaign lead.

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

The base fixture's catch-all session responses and absent cron inventory establish the tooling mismatch directly; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The change appropriately extends the existing fixture owner and reuses production ordering and projection contracts without changing application behavior.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Frozen Team-scale session responses changes intended behavior with a stated reason (5559404: Provide a reusable synthetic production-bundle reload workload.)
  • Synthetic session ordering and row projection changes intended behavior with a stated reason (0e85fcf: Model changing sidebar membership and compare full responses with production row-delta packing.)
  • Warm transcript persistence keeps the original intent (ffcb0a8: Persist the selected transcript so reload measurements exercise cached titles.)
  • Bounded snapshot contents keeps the original intent (c9b110b: Persist the recent transcript window through the existing v8 snapshot owner.)
  • Mock navigation readiness keeps the original intent (56b0bae: Ordinary mocked navigation waits for the rendered initial roster, with explicit opt-out for pre-roster scenarios.)
  • Session-list retention scale workload keeps the original intent (828296e: Exercise bounded retention across 25 readers using a 300-session inventory.)
  • Native wheel viewport coverage keeps the original intent (169c8fe: Verify viewport coverage while reducing transcript overscan.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

PR surface

Tests +811, Docs -1, Other +92. Total +902 across 13 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 10 965 154 +811
Docs 1 9 10 -1
Config 0 0 0 0
Generated 0 0 0 0
Other 2 190 98 +92
Total 13 1164 262 +902

Root-cause cluster

Relationship: canonical
Canonical: #175672
Summary: This PR is the explicitly designated narrower replacement for the earlier fixture-fidelity proposal.

Members:

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Inaccurate synthetic workloads can misdirect performance investigations, with no application runtime change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

Reviewed October 17, 2026, 1:03 PM ET / 17:03 UTC.

@steipete

Copy link
Copy Markdown
Contributor Author

Proof is now current for 9159fd1e18512b4781d4abcc3c593375fb162f04: all seven board reloads match the 5 / 3 / 7 RPC census, the existing CPU profiler captures sidebar and chat snapshot restoration, and exact-head CI is green. The body contains the complete full-suite file list, passing focused replays after installing WebKit, and matching pinned-main evidence for the unrelated failures.

The earlier IndexedDB overload finding does not reproduce: the current Team-scale browser regression completes both the sidebar-snapshot and composer-draft put observers, verifies committed records, and restores the saved state through reload. The test passed on the final head; no DataError occurred.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit d91ee6e into main Oct 17, 2026
158 checks passed
@steipete
steipete deleted the steipete/coldload-bench-live-fidelity branch October 17, 2026 19:19
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 18, 2026
…ot (openclaw#175672)

Several reload experiments stopped because the Team-scale bench fixture didn't behave like live Team: sessions.list mocks returned 200 rows for 100- and 1-row queries, there was no cron inventory, and measured reloads started without the persisted sidebar and chat snapshots, so boot request fan-out and warm restore paths were not exercised.

The fixture now honors the live sessions.list query shapes (limit/offset, spawnedBy, involvingMe, ownerFirst, exclusion flags, owner counts, row mode), provides a cron inventory loaded in three compact pages, activates seven plugins, seeds a persisted sidebar snapshot and a trimmed chat snapshot before the measured reload, and fixes the Online-view setup. Function-share comparison uses the existing --cpu-profile/--cpu-profile-compare mode.

Seven board reloads on AWS c7a.4xlarge match the live boot census exactly (sessions.list 5, cron.list 3, plugin activation reports 7); every reload restores the persisted chat snapshot, and sidebar/chat restore functions appear in CPU profiles. Tooling only: +350 LOC across bench, fixture and e2e helpers with four regression tests; no application changes. 18 focused tests pass; exact-head CI green; the one full-UI failure reproduces on main.
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 gateway Gateway runtime P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant