Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of templatefile variables need to be unmarked for TypeFunc into v1.10 #36138

Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport

This PR is auto-generated from #36127 to be assessed for backporting due to the inclusion of the label 1.10-backport.

The below text is copied from the body of the original PR.


The templatefile function actually calls the full renderer within the TypeFunc to determine what the resulting type might be, but that also requires unmarking the top-level of the vars map to strip marks even though the value is unused.

Fixes #36123

Target Release

v1.10.1

Draft CHANGELOG entry

BUG FIXES

  • config: templatefile panics when given a sensitive or ephemeral collection of variables

Overview of commits

@github-actions github-actions bot force-pushed the backport/jbardin/templatefile-marks/loosely-vocal-vulture branch from e8094d1 to 26ff576 Compare November 29, 2024 15:35
@github-actions github-actions bot requested a review from jbardin November 29, 2024 15:35
@jbardin jbardin marked this pull request as ready for review November 29, 2024 15:36
@jbardin jbardin merged commit a3aad71 into v1.10 Nov 29, 2024
6 checks passed
@jbardin jbardin deleted the backport/jbardin/templatefile-marks/loosely-vocal-vulture branch November 29, 2024 15:49
Copy link
Contributor Author

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

Copy link
Contributor Author

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant