Skip to content

Conversation

redscholar
Copy link
Contributor

  • Added a new field Result to SchemaTablePlaybook to store the result of the associated playbook.
  • Updated the allSchema function to unmarshal and assign the playbook result if available.
  • Cleared PlaybookPath after processing to prevent unintended references.
  • Adjusted the SchemaTable struct to include PlaybookPath for better schema management.

What type of PR is this?

/kind feature

What this PR does / why we need it:

Enhance schema handling with playbook results

playbook.path: Specifies the path of the playbook template to be executed.
playbook.result: Indicates the result of the playbook execution.

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?

enhance schema handling with playbook results

Additional documentation, usage docs, etc.:


- Added a new field `Result` to `SchemaTablePlaybook` to store the result of the associated playbook.
- Updated the `allSchema` function to unmarshal and assign the playbook result if available.
- Cleared `PlaybookPath` after processing to prevent unintended references.
- Adjusted the `SchemaTable` struct to include `PlaybookPath` for better schema management.

Signed-off-by: joyceliu <[email protected]>
@kubesphere-prow kubesphere-prow bot added release-note kind/feature Categorizes issue or PR as related to a new feature. labels Jul 23, 2025
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: redscholar

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

The pull request process is described here

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

@kubesphere-prow kubesphere-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 23, 2025
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@redscholar redscholar merged commit 6b9636d into kubesphere:feature-gitops Jul 23, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. release-note size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant