Explain gate-check 403s and refine installation health UX - #479
Open
morgaesis wants to merge 1 commit into
Open
Conversation
Surface GitHub's X-Accepted-GitHub-Permissions header in gate-enforcement lookup errors so a permission-denied 403 names the missing App permission instead of an opaque status code. Turn both settings re-check buttons into refresh icon buttons that show when the last check ran and, for installation health, when the next automatic sweep is due. Add a copy-agent-prompt button to each setup plan that produces a self-contained work order for a coding agent. Warn on the shared owner configuration toggle when the source repository is not in the App installation, and render unexercised config files with neutral styling instead of error styling.
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.
Gate-enforcement lookup errors now include GitHub's X-Accepted-GitHub-Permissions header, so a permission-denied 403 (as seen on private repositories whose active branch rules the App cannot read) names the missing App permission instead of an opaque status code. The settings re-check buttons become refresh icon buttons showing when the last check ran and when the next automatic sweep is due, each setup plan gains a copy-agent-prompt button producing a self-contained work order for a coding agent, the shared owner configuration toggle warns inline when the source repository is missing from the App installation, and configured-but-unexercised config files render with neutral styling instead of error styling. Covered by the gate-enforcement, rate-limit, and settings test files plus a clean production build.