Skip to content

fix(atc): retain var_sources visibility inside across interpolation steps - #9525

Merged
taylorsilva merged 2 commits into
concourse:masterfrom
arakakimarcelo:fix/issue-8191
Apr 15, 2026
Merged

taylorsilva merged 2 commits into
concourse:masterfrom
arakakimarcelo:fix/issue-8191

Conversation

@arakakimarcelo

@arakakimarcelo arakakimarcelo commented Apr 12, 2026 •

Copy link
Copy Markdown
Contributor

Changes proposed by this PR

closes #8191

  • When the across step was interpolating the local vars introduced by its own step, it would erroneously error on all non-local ((.:local-var)) source vars
  • This PR catches these MissingSourceError's and ignores them
  • A final interpolation gets done by the concrete step(s) inside the across step, which will resolve or error on any remaining vars

@arakakimarcelo
arakakimarcelo requested a review from a team April 12, 2026 15:29

@taylorsilva taylorsilva left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified I could reproduce the issue on master first using the pipeline from the referenced issue. I then built and tested with this PR and it worked:

Image

Also verified that if a source doesn't exist it'll error still:

Image

I added a nit commit. Will merge once checks pass.

@taylorsilva

Copy link
Copy Markdown
Member

The PR body doesn't match the change. Seems like AI summary from a previous attempt. I've updated the PR body to describe the actual changes.

@taylorsilva taylorsilva moved this from Todo to In Progress in Pull Requests Apr 14, 2026
@taylorsilva
taylorsilva merged commit d97260d into concourse:master Apr 15, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Pull Requests Apr 15, 2026
@taylorsilva taylorsilva changed the title fix(atc): retain var_sources visibility inside across interpolation s… fix(atc): retain var_sources visibility inside across interpolation steps May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

var_sources not accessible when inside an across task

2 participants