Skip to content

docs: CI-only API keys ("CI: run tests only" access) - #176

Merged
finalerock44 merged 3 commits into
mainfrom
feat/ci-api-key-scope-2106
Nov 17, 2026
Merged

finalerock44 merged 3 commits into
mainfrom
feat/ci-api-key-scope-2106

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor
  • Authentication: create a key with a chosen Access, and a new Key access section covering Full access, CI: run tests only and Device sessions only: what each reaches, what a CI-only key can't do, and the 403/404 it gets.
  • CI guides (GitHub Actions, EAS, Bitbucket, Bitrise, any CI): recommend a CI-only key, and say keys are created (shown once) rather than "found" in settings.
  • Cancelling superseded runs: a CI-only key supersedes only its own runs.
  • openapi.yaml: the access levels, the API_KEY_SCOPE example with the new wording, and the UPLOAD_NOT_FOUND 404 a CI-only key gets for a run it didn't start.

@finalerock44 finalerock44 self-assigned this Nov 17, 2026
Comment thread public/openapi.yaml Resolved
- Authentication: create a key with a chosen Access, and a new Key access
  section covering Full access, CI: run tests only and Device sessions only:
  what each reaches, what a CI-only key can't do, and the 403/404 it gets.
- CI guides (GitHub Actions, EAS, Bitbucket, Bitrise, any CI): recommend a
  CI-only key, and say keys are created (shown once) rather than "found" in
  settings.
- Cancelling superseded runs: a CI-only key supersedes only its own runs.
- openapi.yaml: the access levels, the API_KEY_SCOPE example with the new
  wording, and the UPLOAD_NOT_FOUND 404 a CI-only key gets for a run it
  didn't start.
Say team rather than organization in the new spec text, fix the
Bitrise spelling, update the moved GitHub secrets link, and describe
key access on the REST API overview so it matches the spec.
@finalerock44
finalerock44 force-pushed the feat/ci-api-key-scope-2106 branch from 8f3405c to 19b6b47 Compare November 17, 2026 17:49
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

…s too

The CI scope limits GET /results/{uploadId}/report and /html-report to
runs the key started, the same as /download (api-key-scopes.ts in dcd).
For any other run the key guard answers 404 with the standard error
envelope before the report is looked up. Their 404 now allows both
bodies, with an example of each, and the Results page says which
endpoints a CI-only key can reach.
@finalerock44
finalerock44 merged commit 7c93682 into main Nov 17, 2026
2 checks passed
@finalerock44
finalerock44 deleted the feat/ci-api-key-scope-2106 branch November 17, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant