Repository navigation
fix(zero-trust): run platform changes in short steps so the cron resumes them - #921
Merged
Merged
Conversation
…mes them A platform Zero Trust reconcile, configure or disable ran the whole operation inside one request. On a 40-project install that took longer than the CLI's 300 s timeout; the cancelled request kept its 15-minute lease, so the scheduled job could not continue the change until the lease ran out. Each run now stops taking projects after 60 s (always after at least one) and releases the operation, the lease is 5 minutes, and a request arms the two-minute cron as soon as it holds the lease. The CLI says the change is still running and how to follow it. The docs describe the health-check exception as /health and the paths under it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Found in a live Zero Trust test on a self-hosted install (40 projects). After the shared Access application was deleted on purpose,
void platform zero-trust reconcilerebuilt it but:Docs promise: "Large changes run in steps. Scheduled maintenance continues them within a few minutes."
Fix
configuring/disablingprints that it is still running and to followvoid platform zero-trust status; a timeout points to status instead of "outcome may be unknown"./healthand the paths under it (it never serves a project, so nothing was exposed).Live check (same install, same test)
reconcilereturnsreadyafter startChecks
vp checkclean,vp run test182/182 groups.🤖 Generated with Claude Code