Skip to content

perf(state-architecture): autonomous optimization for OpCase-Auto-Remoteconnectstatus-01 (P95: 0.015ms) - #3820

Closed
Raing5Days wants to merge 1 commit into
openBitFun:mainfrom
Raing5Days:perf/auto-opcase-auto-remoteconnectstatus-01-1108-1623
Closed

Raing5Days wants to merge 1 commit into
openBitFun:mainfrom
Raing5Days:perf/auto-opcase-auto-remoteconnectstatus-01-1108-1623

Conversation

@Raing5Days

Copy link
Copy Markdown
Contributor

Summary

Autonomous optimization for OpCase-Auto-Remoteconnectstatus-01 in category state-architecture.

Target files:

  • src/web-ui/src/infrastructure/remote-connect/remoteConnectStatus.ts

Metrics

  • Verified SLA: (P95: 0.015ms)

Checklist

  • Autonomous flywheel verification passed.
  • Regression unit tests passed.

@Raing5Days

Copy link
Copy Markdown
Contributor Author

Closing this PR: mutating the snapshot object in-place violates React 18's useSyncExternalStore immutable snapshot contract (Object.is(current, previous) would evaluate to true, causing React to skip re-renders upon status change).

@Raing5Days Raing5Days closed this Nov 8, 2026
@Raing5Days
Raing5Days deleted the perf/auto-opcase-auto-remoteconnectstatus-01-1108-1623 branch November 8, 2026 08:29
re2zero added a commit to re2zero/OpenBitFun-trinity that referenced this pull request Dec 2, 2026
- Split the the-host scene page-locally into overview (总览) and workbench
  (工作台); the overview is the front page, the workbench keeps the board,
  case detail, standing orders, and blacklist. The M5 nav grouping will lift
  the tabs into sidebar rows.
- Status strip: on-duty switch, repair-loop tick interval, next pulse from the
  last tick, and the MainCiState tri-state. Unknown renders its own label and
  tone and never borrows green.
- RuntimeEvent::TheHostSnapshot now carries the loop's latest CI signal and
  tick clock; the loop records every completed tick and republishes after it.
- Overview body: active-case card, the human-attention queue (PR review,
  blocked, proposal — four rows in the v2 order), the R1 mandate placeholder
  (no contract fields yet, so no invented goals), and the rhythm card over the
  managed standing orders.
- Fixture gains the second review case CASE-0008 with PR openBitFun#3820 so the
  attention queue exercises all four v2 rows; i18n keys added in three locales.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant