Mark P410-13 complete with mesh bounded badge rollout.
Update roadmap counts/changelog and logging docs to reflect the new bounded-mode retry countdown badge and guildSyncHealthRail retry timing fields. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -105,6 +105,8 @@ If logs show slow `guild.open` / `session.startup` spans (>2s, logged as `WARN`)
|
||||
|
||||
**v0.8.643 (Phase 410 targeted polling):** `platform.view()` now accepts explicit detail levels (`minimal`, `light`, `full`, `diagnostic`) via `opts.detail`; legacy `opts.light` is preserved and maps to `light`. View payload now includes `viewDetailLevel` to make poll intent explicit in diagnostics exports.
|
||||
|
||||
**v0.8.643 (Phase 410 mesh bounded UX):** `view.guildSyncHealthRail` now includes mesh retry timing metadata (`retryAttempt`, `retryDelayMs`, `retryMaxAttempts`, `nextRetryAt`, `retryCountdownMs`) for bounded join retries. UI now surfaces an automatic header badge (`Mesh bounded · retry …`) with tooltip guidance while retries continue in background.
|
||||
|
||||
**v0.8.640 (Phase 410):** Added event-driven state batching in worker (`requestEventPushState`) to collapse dense platform event bursts before `pushState`. Added platform pin list cache (`_pinListCache*`) with invalidation on pin write/delete/gossip ingest and broadened reaction cache reuse beyond light polls to reduce repeated list scans. Extended runtime diagnostics with explicit `bootPushCount` / `eventPushCount` / `pollPushCount`, burst-clamp telemetry (`droppedBurstClamped`, `burst.windowMs`, `burst.maxPerWindow`), unchanged-state suppression telemetry (`droppedUnchanged`) backed by a shallow view hash guard, and an in-memory source histogram (`sourceHistogram`) for quick runtime triage. Added bounded `pushState` retry queue controls (`PEARCORD_PUSH_RETRY_DELAY_MS`, `PEARCORD_PUSH_RETRY_MAX_ATTEMPTS`, `PEARCORD_PUSH_RETRY_QUEUE_MAX`) with retry diagnostics (`retryQueued`, `retryDropped`, `retryAttempts`, `retry.queueDepth`). Smokes: `npm run test:event-state-batching`, `npm run test:platform-pin-list-cache`, `npm run test:platform-reaction-list-cache-full`.
|
||||
Worker boot profiling now emits explicit spans for startup triage: `runtime.boot.loadBootView`, `runtime.boot.onUiReady`, and `runtime.boot.firstFullStateDispatch`. Each span includes bounded/failure metadata so boot regressions can be filtered quickly in diagnostics.
|
||||
|
||||
|
||||
+3
-2
@@ -5,7 +5,7 @@ Focused roadmap of unfinished items extracted from `PLATFORM_ROADMAP_v0.1-v0.8.6
|
||||
**Legend:** `[ ]` not started
|
||||
**Legend:** `[SKIP]` skip for now
|
||||
|
||||
Unfinished items tracked: **342**
|
||||
Unfinished items tracked: **341**
|
||||
Skipped items tracked: **1**
|
||||
|
||||
---
|
||||
@@ -38,7 +38,7 @@ Primary in-flight work. Move completed items to `[x]` and add a changelog line.
|
||||
- [x] **P410-10 Platform perf:** Batched user lookups in `_buildView` by reusing `_usersById` map for mention-name and member-display derivation paths.
|
||||
- [x] **P410-11 Platform perf:** Batched channel settings fetches with `Promise.all` instead of sequential `getChannelSettings` calls.
|
||||
- [x] **P410-12 Platform perf:** Added optional `view()` detail levels (`minimal`/`light`/`full`/`diagnostic`) with backward-compatible `opts.light` fallback and exposed `viewDetailLevel` in payload diagnostics.
|
||||
- [ ] **P410-13 Networking:** Add automatic “mesh bounded mode” UI badge with retry countdown and explanation tooltip.
|
||||
- [x] **P410-13 Networking:** Added automatic header “Mesh bounded” badge with live retry countdown + explanatory tooltip, backed by `guildSyncHealthRail` retry metadata (`retryAttempt`, `nextRetryAt`, `retryCountdownMs`).
|
||||
- [ ] **P410-14 Networking:** Add smarter retry spacing based on last successful peer contact instead of fixed attempt cadence.
|
||||
- [ ] **P410-15 Networking:** Add guard against duplicate join attempts when guild-switch and startup race.
|
||||
- [ ] **P410-16 Networking:** Add stale peer eviction path with metrics (`peerRetryAttempt`, `lastPeerSeenAt`).
|
||||
@@ -511,6 +511,7 @@ For deferred items, use `[SKIP]` and include a brief reason inline.
|
||||
|
||||
## Changelog
|
||||
|
||||
- 2026-06-02 - Completed P410-13 by adding an automatic mesh-bounded-mode header badge with retry countdown + explanation tooltip, and exposing per-guild retry timing metadata in `guildSyncHealthRail`.
|
||||
- 2026-06-02 - Completed P410-34 by adding `waitLogContains` scenario matcher to agentctl (headless + attached server), with bounded log polling and substring/regex support for startup hardening verification.
|
||||
- 2026-06-02 - Completed P410-12 by adding `view()` detail-level selection (`minimal`/`light`/`full`/`diagnostic`), preserving legacy `light` option compatibility, and exposing `viewDetailLevel` in view diagnostics.
|
||||
- 2026-06-02 - Completed P410-07 through P410-11: added pin/reaction/discovery list cache-hit span metadata + coalescing metrics, batched `_buildView` user lookups, and parallelized channel settings fetches.
|
||||
|
||||
Reference in New Issue
Block a user