Skip to content

feat(runs): show a secret input as its secret in a task's artifacts - #2952

Merged
camielvs merged 1 commit into
masterfrom
cvs/secret-run-inputs
Oct 27, 2026
Merged

camielvs merged 1 commit into
masterfrom
cvs/secret-run-inputs

Conversation

@camielvs

@camielvs camielvs commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Human Words

Secrets will now show in task artifacts as the secret name rather than "no data"

Description

A task's Artifacts tab in the run view said "No data available" for an input that was given a secret. The canvas shows that same input as a locked secret. A secret's value is resolved when the task launches and never becomes an artifact, so the tab had nothing to show.

The input now shows the lock and the secret's name, as the canvas does.

The v2 run view built the task spec for this tab from the component reference alone, so the tab couldn't see the task's arguments. It now passes them. The classic run view already did.

Related Issue and Pull requests

Type of Change

  • Improvement

Line Breakdown

Category Added Removed
Production code 47 5
Tests 63 0
Total 110 5

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

before
image

after
image

Test Instructions

pnpm vitest run src/components/shared/ReactFlow/FlowCanvas/TaskNode/TaskOverview/IOSection
  1. Run a pipeline with a task input set to a secret.
  2. Open the run, select that task, and open its Artifacts tab. The input shows a lock and the secret's name instead of "No data available".
  3. Inputs without a secret look as they do on master.

Additional Comments

None.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: cvs/secret-run-inputs/bdc1e01

@camielvs
camielvs marked this pull request as ready for review October 27, 2026 16:17
@camielvs
camielvs requested a review from a team as a code owner October 27, 2026 16:18
A secret's value never becomes an artifact, so a task's Artifacts tab
said "No data available" for an input the canvas shows as a locked
secret. The input now shows the lock and the secret's name instead.

The v2 run view built the task spec for its artifacts from the component
reference alone, so it now carries the task's arguments too; the classic
run view already passed them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@camielvs
camielvs force-pushed the cvs/secret-run-inputs branch from ce65212 to bdc1e01 Compare October 27, 2026 16:43
@camielvs
camielvs merged commit 7230bfd into master Oct 27, 2026
16 checks passed
@camielvs
camielvs deleted the cvs/secret-run-inputs branch October 27, 2026 16:59
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