Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9e7f0cfcba
ℹ️ 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".
| if (state.configSchemaVersion !== null && canLoadConfigSchema()) { | ||
| // Config success clears lastError; load the schema afterward to preserve its failures. | ||
| void config.then(() => run(() => loadConfigSchema(state), "schema")); | ||
| void config.then(() => loadOnce("schema", admitSchemaRead)); |
There was a problem hiding this comment.
Preserve plugin-generation invalidation when joining schema reads
When pluginCapabilities.generation changes while an earlier config.schema request is still pending, the refresh path in config-write-coordinator.ts reaches refreshConnectionState(), but this loadOnce now joins the pre-generation request instead of issuing the fresh request that the previous run call started. If that older response was produced before the plugin change, it can publish a schema without the newly enabled or updated plugin fields, with no trailing read to correct it until another refresh occurs. Key the in-flight schema read by plugin generation or ensure this invalidation schedules a distinct/trailing request.
AGENTS.md reference: AGENTS.md:L68-L68
Useful? React with 👍 / 👎.
|
I checked the pending-schema/plugin-generation sequence against both the pinned base ( The base loader already returns early while The invalidation limitation is real and remains a separate owner issue, but the claimed regression is absent from this diff. No new request-generation or trailing-refresh machinery is added to this renderer migration. The focused owner probe passed on both source variants, and all temporary base modules were removed afterward. |
|
Superseded by #180127, merged as 8c64e9f. I verified the replacement on current Closing this stale predecessor; #180127 owns the landed fix. |
Legend: C = remaining candidate; E = retained source-backed exception; U = unresolved owner assessment; N = native group. E is not native completion credit. Items 1, 2, 5–10 count applicable candidates/exceptions, separately from raw API counts.
The census covers all 111 production files in Agents, Config, and Sessions at base
7d732724b77369bc8627001a1cad3a5a9a49c4b2. Only Runtime schema changes C→N here. Runtime-config loading remains C; native permission is E while test delivery is a separate C. Appearance catalogs retain independent reveal, and the three lifecycle survivors belong to primitive computations. Pending PRs receive no credit. Session placement is C. The broad Update lifecycle/reporting group is counted once and remains C until its remaining commands are adopted; the merged Hold action earns no second group. The mixed Talk command groups remain candidates; only synchronous Appearance/preferences/theme writes and native OS permission handoff retain command exceptions.An initial
config.schemafailure leaves the form saying “Schema unavailable.” without a retry action. This change gives the existing admitted request a typed completion receipt and presents cold loading/failure through Solid’s Loading and Errored boundaries, including Retry. The renderer does not start another request.The TypeScript capability retains request deduplication, connection retirement, canonical errors, and synchronous edit admission. Loaded Form/Setup nodes remain mounted during a refresh; the owner’s existing synchronous read-only/aria-busy interlock remains so a refresh cannot briefly re-enable editing. Warm refresh errors continue through the canonical owner banner. No dependency, tag, class, route, or lazy-boundary change.
Strict performance exits 1 on both sides only for the inherited startup cap. The repaired head adds 26 B on the already-over-cap startup surface, within the 64 B allowance; the former campaign ceiling is not used. Builds use identical release metadata. The first CI run (39600605217) passed every test job but its performance build put Chat at 1,500,001 B. Removing an unnecessary schema-success wrapper reduced the local Chat delta from +70 B to +24 B; the replacement CI artifact adds only 9 B to Chat, within the 64 B allowance (details below). The 31 owner tests also pass after this correction.
Before (synthetic cold failure):
After (synthetic cold failure with Retry):
Production LOC in the four touched production files: 2,615 → 2,667 (+52). Tests/support: 1,041 → 1,105 (+64). Necessary growth carries the request receipt and accessible retry/error presentation; no second loading/error/data state or request owner is introduced.
pr-simplify: retained one owner and removed the manual cold-schema branch.The installed Solid rc.16 contract and migration note were read. The separate async-and-actions recipe is absent at this base and the latest observed main. Broad proof belongs to PR CI;
ci:fullis selected because runtime config has many importers.Proof selection: the two changed test files cover the owner's deduplicated immutable failure receipt, cold failure/Retry recovery, and warm Form/Setup retention. Bounded built-UI captures cover loading and cold-error appearance; the browser unit proves retry recovery. The final build includes the behavior-preserving inlining of two single-use route aliases, which keeps the page adapter below its existing line-cap ratchet.
Current CI observation
Run 39607627288 completed with performance and two real-Gateway jobs red. CI measured startup 331,179 B (absolute cap), Chat 1,500,304 → 1,500,313 (+9 B), and New Session 1,017,898 → 1,017,933 (+35 B); CSS remains 40,439 B in one request. Both route deltas are within the 64 B allowance.
The failed names are
manual code folding through a real Gateway,Control UI command palette search with a real Gateway,Control UI agent file lifecycle with a real Gateway > reads and saves the selected agent workspace through an isolated Gateway, andControl UI profile page real Gateway E2E > shows the authenticated user instead of the default agent through a real Gateway. The fixture setup supplies retiredagents.defaults.heartbeatconfiguration; Gateway startup fails with exit 78 / INVALID_CONFIG. The later completed scheduled main run 39608923095, atbedbf6761e085133eb03badab3d116e0e33343de, fails all four exact test names with the same retired-heartbeat INVALID_CONFIG setup error. Its performance job also exceeds the same startup and Chat caps. These failures are now qualified as inherited; the candidate adds only 26 B locally to startup, 9 B in CI to Chat, and 35 B in CI to New Session. The PR remains blocked by its retained workflow supporting state schema 29 while the shared state database uses schema 30; no guard or workflow binding has been bypassed.