Skip to content

docs(ci): check credential presence without printing values - #742

Merged
zeshi-du merged 2 commits into
TestSprite:mainfrom
rudycelekli:docs/ci-credential-presence
Nov 24, 2026
Merged

zeshi-du merged 2 commits into
TestSprite:mainfrom
rudycelekli:docs/ci-credential-presence

Conversation

@rudycelekli

@rudycelekli rudycelekli commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

The CI troubleshooting instruction currently dumps all TestSprite environment values. The diagnosis only needs to know whether the endpoint and key override are set. This changes the installed skill to check presence only.

Verified with synthetic values that the command prints only set/unset and treats whitespace-only values as unset.

Summary by CodeRabbit

  • Documentation
    • Clarified that shell environment variables can override the saved API endpoint or key for the selected profile.
    • Added guidance for checking whether either variable is set without displaying its value.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 2e02f00 and 5ad9339.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The local CI troubleshooting guide now describes how TESTSPRITE_API_URL and TESTSPRITE_API_KEY in the shell override saved profile values. It adds a Node.js command that reports whether each variable is set without revealing its value.

Changes

CI troubleshooting guidance

Layer / File(s) Summary
Environment override troubleshooting
skills/testsprite-ci.skill.md
The guide covers both environment variables overriding the selected profile’s saved endpoint or key. It adds a Node.js check that reports whether each variable is set without printing its value.

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

Change: Other

Suggested reviewers: zeshi-du, ruili-testsprite

Merge Risk: Minimal · previous review 2e02f

This documentation-only change clarifies how shell environment variables override saved profile values. It also gives a safer way to check them without exposing secrets. 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(ci): check credential presence without printing values" matches the main change. The PR updates the CI troubleshooting guidance in skills/testsprite-ci.skill.md so users check whether …
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(ci): check credential presence without printing values" matches the main change. The PR updates the CI troubleshooting guidance in skills/testsprite-ci.skill.md so users check whether TESTSPRITE_API_URL or TESTSPRITE_API_KEY is set, using a Node.js command that prints only set or unset status. The title is specific, concise, and follows a conventional commit style. It does not cover the overrides or the fetch failed context, which is acceptable.

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 2dfcb12 and 2e02f00.

Files selected for processing: 1

  • skills/testsprite-ci.skill.md

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

@zeshi-du
zeshi-du merged commit 4a32c8c 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