You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(native): wait for loaded config before classifying sidebar sections - #309
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).
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Some(Snoozed)instead ofSome(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.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.e675416db4dc8df450d3c87872dc7eae729b871b/ tree93784447788d10b58f4a7358f0d9300e98ab946f.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::Fixturelarge-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).