Repository navigation
refactor(coordinator): isolate durable trust reuse ownership - #1017
Gajesh2007 wants to merge 9 commits into
Conversation
# Conflicts: # coordinator/api/trust_reuse.go
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour 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". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour 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". |
…/coordinator-trust-reuse-owner # Conflicts: # docs/architecture/security/attestation.md # docs/developer/build.md # docs/developer/test.md # docs/reference/configuration.md
|
@codex review Refreshed the parent branch and resolved documentation/source-map conflicts. Existing subsystem implementations and regression tests are preserved. Exact parent composition and independent review pass; all coordinator test packages compile and documentation checks pass. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 01ef518110
ℹ️ 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".
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Consolidated into #1056 for review and merge after #1094, #1095 and #1096. #1056 contains this branch's exact head ( |
Device-evidence state and its lifecycle are currently spread across
api.Server, a 1,408-line trust file and a 446-line journal file. This moves them intoprovidercontrol/trustreuse.Manager, split into decision/cache, grants, revocation/replay, coverage, startup and journal responsibilities. API adapters retain signature and release-policy prerequisites, status/metrics integration and shutdown sequencing.Stacked on #1013. Reuse decisions, journal bytes, environment defaults, store CAS and grant epochs are preserved. The manager keeps its startup-bound store and live MDM-client predicate. No mutable cache records or locks cross the package boundary.
Before
After
Replay and inline-retry delays are immutable constants. Journal fixtures retain the production timing and their existing outcome assertions, so a cancelled replay worker cannot race a later test changing shared defaults.
Validation:
PostgreSQL-only fixtures retain their existing skips with database URLs unset; this layer changes no SQL or backend implementation. Moved owner unit fixtures keep actual stores and registry while API-only status, metrics and application-sweep callbacks are inert; API fixtures cover those integration boundaries.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.