Skip to content

ACM-27053 Remove validation for generators in the ApplicationSet YAML editor#5471

Merged
fxiang1 merged 23 commits intostolostron:mainfrom
jeswanke:ACM-27053-Remove-validation-for-generators-in-the-ApplicationSet-YAML-editor
Jan 27, 2026
Merged

ACM-27053 Remove validation for generators in the ApplicationSet YAML editor#5471
fxiang1 merged 23 commits intostolostron:mainfrom
jeswanke:ACM-27053-Remove-validation-for-generators-in-the-ApplicationSet-YAML-editor

Conversation

@jeswanke
Copy link
Contributor

Signed-off-by: John Swanke [email protected]

📝 Summary

Ticket Summary (Title):

Ticket Link:

Type of Change:

  • 🐞 Bug Fix
  • ✨ Feature
  • 🔧 Refactor
  • 💸 Tech Debt
  • 🧪 Test-related
  • 📄 Docs

✅ Checklist

General

  • PR title follows the convention (e.g. ACM-12340 Fix bug with...)
  • Code builds and runs locally without errors
  • No console logs, commented-out code, or unnecessary files
  • All commits are meaningful and well-labeled
  • All new display strings are externalized for localization (English only)
  • (Nice to have) JSDoc comments added for new functions and interfaces

If Feature

  • UI/UX reviewed (if applicable)
  • All acceptance criteria met
  • Unit test coverage added or updated
  • Relevant documentation or comments included

If Bugfix

  • Root cause and fix summary are documented in the ticket (for future reference / errata)
  • Fix tested thoroughly and resolves the issue
  • Test(s) added to prevent regression

🗒️ Notes for Reviewers

@jeswanke
Copy link
Contributor Author

/hold

@fxiang1
Copy link
Contributor

fxiang1 commented Jan 15, 2026

@jeswanke Thanks for validating all the generators! The code looks good. One issue is that we still get a validation error about the missing "clusterDecisionResource" generator when using matrix generators. Can you remove this validation error as well? Thanks!
image

import { CreateArgoResources } from './CreateArgoResources'
import { MultipleSourcesSelector } from './MultipleSourcesSelector'
import { SourceSelector } from './SourceSelector'
import { useYamlResources } from '../../routes/Applications/Applications'
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this function doesn't exist:
image

Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
…-27053-Remove-validation-for-generators-in-the-ApplicationSet-YAML-editor

Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
@fxiang1
Copy link
Contributor

fxiang1 commented Jan 26, 2026

@jeswanke I think overall the code looks great! The only minor nit I have is to make the generator inputs show the placeholder text instead of a sample input value. You can even handle this in a bug as well. Thanks!
image

@fxiang1
Copy link
Contributor

fxiang1 commented Jan 26, 2026

/lgtm

@jeswanke
Copy link
Contributor Author

/retest

Signed-off-by: John Swanke <[email protected]>
…-27053-Remove-validation-for-generators-in-the-ApplicationSet-YAML-editor

Signed-off-by: John Swanke <[email protected]>
jeswanke and others added 11 commits January 27, 2026 11:24
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
Add back changes from PR 5508
Signed-off-by: John Swanke <[email protected]>
…cationSet-YAML-editor' of https://github.com/jeswanke/console into ACM-27053-Remove-validation-for-generators-in-the-ApplicationSet-YAML-editor

Signed-off-by: John Swanke <[email protected]>
Signed-off-by: John Swanke <[email protected]>
@fxiang1
Copy link
Contributor

fxiang1 commented Jan 27, 2026

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 27, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 27, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fxiang1, jeswanke

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
59.2% Coverage on New Code (required ≥ 70%)

See analysis details on SonarQube Cloud

@openshift-ci
Copy link

openshift-ci bot commented Jan 27, 2026

@jeswanke: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit-tests-sonarcloud 54f2e57 link true /test unit-tests-sonarcloud

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@fxiang1 fxiang1 merged commit 1c49380 into stolostron:main Jan 27, 2026
9 of 11 checks passed
Randy424 pushed a commit to Randy424/console that referenced this pull request Jan 28, 2026
… editor (stolostron#5471)

* ACM-27053 Remove validation for generators in the ApplicationSet YAML editor

Signed-off-by: John Swanke <[email protected]>

* ACM-27053 Support all Argo CD generators in the ApplicationSet Wizard

Signed-off-by: John Swanke <[email protected]>

* backup

Signed-off-by: John Swanke <[email protected]>

* backup

Signed-off-by: John Swanke <[email protected]>

* backup

Signed-off-by: John Swanke <[email protected]>

* backup

Signed-off-by: John Swanke <[email protected]>

* fix tests

Signed-off-by: John Swanke <[email protected]>

* fix sync bug

Signed-off-by: John Swanke <[email protected]>

* fix checks

Signed-off-by: John Swanke <[email protected]>

* prettier

Signed-off-by: John Swanke <[email protected]>

* oops

Signed-off-by: John Swanke <[email protected]>

* oop[s

Signed-off-by: John Swanke <[email protected]>

* oops

Signed-off-by: John Swanke <[email protected]>

* oops

Signed-off-by: John Swanke <[email protected]>

* fix lint

Signed-off-by: John Swanke <[email protected]>

* fix coverage

Signed-off-by: John Swanke <[email protected]>

* Put back changes from PR 5508

Signed-off-by: fxiang1 <[email protected]>

* linjt

Signed-off-by: John Swanke <[email protected]>

* fix test

Signed-off-by: John Swanke <[email protected]>

---------

Signed-off-by: John Swanke <[email protected]>
Signed-off-by: fxiang1 <[email protected]>
Co-authored-by: fxiang1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants