feat(maintainers): add settings preview diagnostics#31
Merged
JSONbored merged 2 commits intoMay 29, 2026
Conversation
Crystora
force-pushed
the
feat/maintainer-settings-preview
branch
from
May 29, 2026 01:33
80b9c91 to
9fcbc47
Compare
JSONbored
requested changes
May 29, 2026
JSONbored
left a comment
Owner
There was a problem hiding this comment.
PR #31 - feat: add repo settings preview and install diagnostics endpoint
Signal: REQUEST CHANGES
Required changes:
- Fix changelog freshness: CI fails at changelog:check.
- Rename PR title to conventional style, e.g. feat(maintainers): add settings preview diagnostics.
- Remove/regenerate packages/gittensory-mcp/CHANGELOG.md drift unless this PR truly changes the npm package.
- Add a test proving preview endpoint never mutates GitHub state.
- Add explicit test for label-only mode with missing Issues: write.
- Confirm settings-preview stays aligned with real webhook behavior after #29/#25 merge conflicts resolve.
Crystora
force-pushed
the
feat/maintainer-settings-preview
branch
from
May 29, 2026 04:31
9fcbc47 to
10ff27f
Compare
Crystora
force-pushed
the
feat/maintainer-settings-preview
branch
from
May 29, 2026 04:32
10ff27f to
b747f68
Compare
Contributor
Author
|
@JSONbored I've updated. pls review again. thanks |
JSONbored
approved these changes
May 29, 2026
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.
Summary
Closes #21
Adds a maintainer-facing repo settings preview and install diagnostics endpoint.
Maintainers can now dry-run what the GitHub App would do for a sample PR before enabling public output: skip, comment, label, or create a minimal check run. The preview is read-only and does not mutate GitHub.
POST /v1/repos/:owner/:repo/settings-preview.decidePublicSurface()logic and reuse it from the live webhook processor so preview behavior matches real PR handling.Validation
npm run test:cinpm run changelog:checkSafety