Skip to content

docs(config): explain when CI bypasses the credentials file - #746

Merged
zeshi-du merged 4 commits into
TestSprite:mainfrom
rudycelekli:docs/credentials-file-fallback
Nov 24, 2026
Merged

zeshi-du merged 4 commits into
TestSprite:mainfrom
rudycelekli:docs/credentials-file-fallback

Conversation

@rudycelekli

@rudycelekli rudycelekli commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

A key-only environment can still read the local profile to resolve the endpoint. Document the complete explicit configuration for CI jobs that need to work without accessing that store. Verified with a fixture that produces a read error unless both values are explicit.

Summary by CodeRabbit

  • Documentation
    • Clarified that the API key and API URL environment variables override credentials independently. Both variables, or an API key combined with --endpoint-url, can resolve credentials without reading the credentials file. With only an API key set, the CLI may still read the selected profile to resolve the endpoint. Text-mode run and auth status may read the file for the skill-install warning unless that warning is disabled or JSON output is used.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9947d32 and c9a9c82.

Files selected for processing: 1

  • DOCUMENTATION.md

No actionable comments were generated in the recent review.

Walkthrough

The documentation now describes independent API key and endpoint overrides, when the CLI can resolve credentials without reading the credentials file, and when text output may still read the file for the skill-install warning.

Changes

Credentials file access

Layer / File(s) Summary
Document credentials file access rules
DOCUMENTATION.md
The documentation states that both environment variables, or an API key with --endpoint-url, allow credential resolution without reading the credentials file. With only an API key, the CLI may read the selected profile to resolve its endpoint. Text-mode run and auth status may read the file for the skill-install warning unless TESTSPRITE_NO_SKILL_WARNING=1 or JSON output is used.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · previous review 9947d

This change only clarifies the documentation on when the CLI reads the credentials file. It does not change runtime behavior, and no merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "docs(config): explain when CI bypasses the credentials file" matches the main change. The documentation update explains that TESTSPRITE_API_KEY and TESTSPRITE_API_URL override the credentia…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "docs(config): explain when CI bypasses the credentials file" matches the main change. The documentation update explains that TESTSPRITE_API_KEY and TESTSPRITE_API_URL override the credentials file, and that both values, or an API key with --endpoint-url, let the CLI resolve credentials without reading the file. The title names the docs-only scope and the CI-bypass topic. It is a single, concise sentence with a conventional commit prefix. The summary also covers a skill-install warning note, which the title does not mention, but that is a secondary detail.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b779bec and 9947d32.

Files selected for processing: 1

  • DOCUMENTATION.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 3 remain after this review.

@zeshi-du
zeshi-du merged commit bffa0d8 into TestSprite:main Nov 24, 2026
24 checks passed
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.

2 participants