Skip to content

Conversation

Copy link

Copilot AI commented Feb 11, 2026

Added documentation for output variables available when using dependsOn to reference outputs from other checks by name.

Changes

  • New subsection "Referencing Outputs from Dependent Checks" in the HTTP check reference
    • Documents all available output fields: outputs.<checkName>.json, code, headers, body
    • Includes type information and descriptions for each field
    • Links to request-chaining concept documentation
    • Provides example using existing fixture demonstrating token extraction from login response

Example usage pattern:

- name: get-profile
  dependsOn: [login]
  headers:
    - name: Authorization
      value: "Bearer $(.outputs.login.json.token)"

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Feb 11, 2026 6:30am

Request Review

Co-authored-by: moshloop <1489660+moshloop@users.noreply.github.com>
Copilot AI changed the title [WIP] Update output referencing for template variables in docs docs(http): add output variables for dependsOn checks Feb 11, 2026
Copilot AI requested a review from moshloop February 11, 2026 06:31
@adityathebe
Copy link
Member

Closing in favor of the changes in #472 which are more accurate and complete.

Issues with this PR:

  1. Field name error: Uses but the actual field is (see code)
  2. Missing fields: Should include , , , , from (code)
  3. Headers type: Should be not

The changes in #472 address all these issues.

@adityathebe
Copy link
Member

Closing in favor of the changes in #472 which are more accurate and complete.

Issues with this PR:

  1. Field name error: Uses body but the actual field is content
  2. Missing fields: Should include pass, message, duration, elapsed, sslAge
  3. Headers type: Should be map[string]string not map[string][]string

The changes in #472 address all these issues.

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.

3 participants