Skip to content

fix(settings): surface missing pull_requests:read in settings preview - #508

Merged
JSONbored merged 1 commit into
mainfrom
codex/fix-settings-preview-missing-pr-read-permission
Jun 10, 2026
Merged

fix(settings): surface missing pull_requests:read in settings preview#508
JSONbored merged 1 commit into
mainfrom
codex/fix-settings-preview-missing-pr-read-permission

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Motivation

  • The settings preview listed pull_requests: read as required but the active missing-permission logic omitted pull_requests from reported missing permissions, causing previews to hide a missing PR-read permission and produce inconsistent remediation output.

Description

  • Add reporting of pull_requests in activeMissingPermissions so a missing pull_requests installation permission is surfaced while preserving the requirement of pull_requests: read (not pull_requests: write).
  • Update the targeted unit test in test/unit/settings-preview.test.ts to assert that a missing pull_requests is included in the previewed missing permissions, that the permissions/checklist statuses flip to needs_attention, and that pull_requests: write is not reintroduced.

Testing

  • Ran npx vitest run test/unit/settings-preview.test.ts and the test file passed (all tests succeeded).
  • Ran npm run typecheck and TypeScript typechecking completed with no errors.

Codex Task

@ghost

ghost commented Jun 9, 2026

Copy link
Copy Markdown

Note

Gittensory Gate skipped

PR closed before full evaluation. No late first comment was created.

Signal Result Evidence Action
Gate result ⚠️ Skipped #508 is no longer open. No action.

Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.

@ghost ghost added the gittensory:reviewed label Jun 9, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
gittensory-ui 6d2aed0 Commit Preview URL

Branch Preview URL
Jun 10 2026, 08:11 AM

@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored JSONbored self-assigned this Jun 10, 2026
@JSONbored JSONbored changed the title Surface missing pull_requests:read in settings preview fix(settings): Surface missing pull_requests:read in settings preview Jun 10, 2026
@github-actions github-actions Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jun 10, 2026
@JSONbored
JSONbored force-pushed the codex/fix-settings-preview-missing-pr-read-permission branch from 136d0a5 to 6d2aed0 Compare June 10, 2026 08:10
@JSONbored JSONbored changed the title fix(settings): Surface missing pull_requests:read in settings preview fix(settings): surface missing pull_requests:read in settings preview Jun 10, 2026
@JSONbored
JSONbored merged commit b15ab18 into main Jun 10, 2026
11 checks passed
@JSONbored
JSONbored deleted the codex/fix-settings-preview-missing-pr-read-permission branch June 10, 2026 08:12
@github-project-automation github-project-automation Bot moved this from Todo to Done in gittensory - v1 roadmap Jun 10, 2026
@JSONbored JSONbored added the gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant