Skip to content

fix(native): wait for loaded config before classifying sidebar sections - #309

Merged
rynfar merged 1 commit into
nativefrom
nw/306-section-config
Nov 6, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/306-section-config

Conversation

@rynfar

@rynfar rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Problem

Before an environment's config arrives, cached sidebar rows could enter Snoozed or Settled sections. The web waits for config presence. Connectivity is not config readiness, so already-loaded rows must also keep their classification while disconnected.

Change

Pass actual config presence through the existing local model input and watched per-environment summary into the existing partition selector. Keep the existing Option-keyed summary cache; no new subscription/cache or client production state. Examples now pass their real config reducer state. SB-SECTIONS stays partial; sidebar acceptance stays 8/16.

Evidence

  • Actual focused regression RED101 (Some(Snoozed) instead of Some(Pinned)) before the fix; same scoped assertions now pass for missing/loaded config, same raw IDs in different owners, folders, and cached disconnects. Local input assertions also pass.
  • Actual watched config publication regression: cargo test -p t3-client --features test-support environments::tests::quiet_fleet::quiet_fleet_config_updates_publish_revisions_and_reuse_quiet_summary -- --exact --nocapture: one pass. First config alone publishes a new summary; quiet updates keep its Arc. A prior default-feature run selected zero tests and is explicitly not evidence.
  • Independent Sol/Codex source review APPROVE exact e675416db4dc8df450d3c87872dc7eae729b871b / tree 93784447788d10b58f4a7358f0d9300e98ab946f.
  • Required strict Clippy0; default workspace1,422; theme/intake/conformance0. Ordinary build pending when opened; remaining exact-head proof and merged verification will be recorded before issue closure.

No constants, protocol, server, grants, provider, or other-client changes. Formatting remains RED under the explicit approved exception, including touched Rust/ledger; no suppression or formatting sweep. Synthetic actor/model evidence is not a live server/window/Input/NSView/relay/provider or measured-performance claim. Existing extra snapshot-feature Clippy has an unchanged test-support Command::Fixture large-enum finding; no source suppression.

Refs #306, #242. Close #306 only after matched-head merge and fresh meaningful merged proof.

Model: GPT-6.1 Sol. Harness: Prime Agent (independent reviewer through Codex).

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Candidate e675416db4dc8df450d3c87872dc7eae729b871b / tree 93784447788d10b58f4a7358f0d9300e98ab946f has independent source approval and PR309 exact-head binding. Required Clippy0, default workspace1,422, ordinary app build0, theme/intake/conformance0. Focused actual model RED→GREEN and feature-enabled watched-config test1PASS. Snapshot main is still compiling; compiler-JSON libtest custody and runtime proof are pending, not claimed passed. SB-SECTIONS remains partial and acceptance8/16. Formatting RED exception remains. No constants changed.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

All prescribed candidate gates now pass on e675416db4dc8df450d3c87872dc7eae729b871b / tree 93784447788d10b58f4a7358f0d9300e98ab946f: strict Clippy0, default workspace1,422, ordinary build0, theme/intake/conformance0. Fresh snapshot main JOIN0/hash, compiler-JSON-selected libtest JOIN0/hash and stable source custody; all 109 snapshot tests pass. Focused model actualRED→GREEN and watched config feature test1PASS remain valid; initial zero-test run is not counted. Independent r1 and PR309 exact-head binding approve source. No constants changed. Formatting RED exception and synthetic-only limits remain. Next is match-head squash merge then fresh meaningful merged core/client+snapshot proof; #306 is not closed and SB-SECTIONS stays partial/sidebar8/16.

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