GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(id-config): resolve layered mode overrides (#10193) by dezren39 · Pull Request #12928 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 17 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis 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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: d87a3d97f5
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if !input | ||
| .authority_sync_scopes | ||
| .contains(&state.behavior.sync_scope) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Constrain inherited mode defaults to the authority ceiling
With deployment sync_scope=metadata, Mode::HostedTenant, authority allowing only Metadata, and no scoped behavior overrides, resolution returns AuthorityExceeded because the mode supplies Full. The “Configuration data model and precedence” section of doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md explicitly specifies that this combination resolves to metadata. Apply the authority restriction to inherited defaults while retaining rejection of unauthorized explicit overrides; otherwise metadata-only tenants cannot use this mode without redundantly supplying a behavior override.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| #[test] | ||
| fn later_scopes_replace_behavior_but_never_widen_resources() { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Generate cases for the layered-resolution invariants
These four hand-written examples do not satisfy the property/model-based coverage required by the root AGENTS.md testing doctrine. They exercise only HostedTenant, omit the link scope and successful ceiling narrowing, and provide neither generated inputs nor an executable independent reference model despite the module's oracle description. Add generated layer combinations checked against an independent precedence model and the ceiling/authority invariants; the existing config_invariants.rs tests the separate ConfigDocument::resolve, not this new API.
AGENTS.md reference: AGENTS.md:L37-L39
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Addressed the two Codex findings in 4029c48:
Verification: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 4029c480d7
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if let Some(attempted) = requested { | ||
| if attempted > ceiling { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Reject zero-valued scoped resource ceilings
With a valid deployment ceiling, a layer specifying ceilings.max_bytes = Some(0) passes this check and resolves successfully with a zero-byte ceiling; the same applies to max_time_ms and max_fan_out. This violates the existing Ceilings contract that zero ceilings are rejected and the minimum: 1 constraints on scoped ceilings in pkgs/id/config/id-config-v1.schema.json. Since these layer overrides are supplied directly to the new resolver, validating the original configuration document does not validate them. Reject zero-valued narrowings before returning an effective configuration that forbids operations.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Oracle evidence (lane felix, 2026-11-23): the exact oracle from #10193 now passes at this PR's head
Full verification record (done check against origin/main, read-through notes, changed-file summary): #10193 (comment) Ready for Felix's review and merge. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Implement mode bundles and safe override precedence
There was an error while loading. Please reload this page.