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

feat: [TKC-3016] fix defaultConfigs for TestWorkflow executions #6093

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

povilasv
Copy link
Contributor

Pull request description

When request.Config is empty we don't provide defaultValues.

This fixes that, but also keeps so when sensitive is provided no values are returned

Checklist (choose whats happened)

  • breaking change! (describe)
  • tested locally
  • tested on cluster
  • added new dependencies
  • updated the docs
  • added a test

Breaking changes

Changes

Fixes

@povilasv povilasv marked this pull request as ready for review December 19, 2024 09:23
@povilasv povilasv requested a review from a team as a code owner December 19, 2024 09:23
Copy link
Member

@rangoo94 rangoo94 left a comment

Choose a reason for hiding this comment

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

Why we should populate the default values in that case? It will make it impossible to determine between [lack of config] vs [ignored config (sensitive or too big value)] vs [empty string].

This means, that both FE and Re-Run won't know if the configParams is empty because defaults have been used, or is empty because sensitive (or too big) data are used.

@povilasv povilasv merged commit 5f4da60 into main Dec 19, 2024
21 checks passed
@povilasv povilasv deleted the TKC-3016-2 branch December 19, 2024 10:49
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