Skip to content

[WIP] test: remove redundant enableInferenceSetController feature gate from CI - #2137

Open
andyzhangx wants to merge 1 commit into
kaito-project:mainfrom
andyzhangx:test/remove-inferenceset-feature-gate
Open

[WIP] test: remove redundant enableInferenceSetController feature gate from CI#2137
andyzhangx wants to merge 1 commit into
kaito-project:mainfrom
andyzhangx:test/remove-inferenceset-feature-gate

Conversation

@andyzhangx

@andyzhangx andyzhangx commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind cleanup

What this PR does / why we need it

Since enableInferenceSetController now defaults to true starting v0.11.0 (beta promotion, #2112), the explicit --set featureGates.enableInferenceSetController=true in CI workflows is redundant for workflows that install/upgrade to the current chart.

For workflows that install an old chart version (e.g., base-image-auto-upgrade-test.yaml with v0.10.0), the flag must remain because older charts default enableInferenceSetController to false.

Files changed

File Change
.github/actions/e2e-base-setup/action.yaml Remove enableInferenceSetController=true from HELM_INSTALL_EXTRA_ARGS (uses current chart)
.github/workflows/aikit.yaml Remove from helm template command and the corresponding verification check (uses current chart)
.github/workflows/base-image-auto-upgrade-test.yaml Remove from the two Upgrade to current chart steps only; keep the two Install old chart (v0.10.0) steps unchanged

Which issue(s) this PR fixes

N/A - CI cleanup following InferenceSet beta promotion

Related PRs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up CI configuration by removing the explicit featureGates.enableInferenceSetController=true Helm value from workflows/composite actions, based on the assumption that the feature gate now defaults to enabled.

Changes:

  • Removed --set featureGates.enableInferenceSetController=true from Helm install/upgrade commands in CI workflows.
  • Removed the AIKit workflow verification that the controller args include enableInferenceSetController=true.
  • Removed the same feature gate from the E2E base setup composite action’s HELM_INSTALL_EXTRA_ARGS.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/base-image-auto-upgrade-test.yaml Removes the InferenceSet controller feature gate from old-chart install and current-chart upgrade steps.
.github/workflows/aikit.yaml Removes the InferenceSet controller feature gate from Helm rendering and drops the corresponding arg verification.
.github/actions/e2e-base-setup/action.yaml Removes the InferenceSet controller feature gate from the shared E2E Helm install extra args.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +85 to +88
helm install kaito-workspace kaito/workspace \
--version ${{ env.OLD_CHART_VERSION }} \
--namespace kaito-workspace \
--create-namespace \
--set featureGates.enableInferenceSetController=true
--create-namespace

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed in 435a17c — restored --set featureGates.enableInferenceSetController=true for the old chart install step.

Comment on lines 176 to 179
helm upgrade kaito-workspace ./charts/kaito/workspace \
--namespace kaito-workspace \
--set featureGates.enableBaseImageAutoUpgrade=true \
--set featureGates.enableInferenceSetController=true \
--take-ownership
# CSI Local Node cannot be configured to not deploy and it crashes on kind on github runners for unknown reasons
# so we need to filter it out its components
helm template kaito-workspace ./charts/kaito/workspace --namespace ${{ env.KAITO_NAMESPACE }} --set nodeProvisioner="byo" --set featureGates.enableInferenceSetController="true" --set featureGates.gatewayAPIInferenceExtension="true" --include-crds --debug --wait | awk '
helm template kaito-workspace ./charts/kaito/workspace --namespace ${{ env.KAITO_NAMESPACE }} --set nodeProvisioner="byo" --set featureGates.gatewayAPIInferenceExtension="true" --include-crds --debug --wait | awk '
Comment thread .github/actions/e2e-base-setup/action.yaml Outdated
@kaito-pr-agent

Copy link
Copy Markdown
Contributor

Failed to generate code suggestions for PR

@andyzhangx andyzhangx changed the title test: remove redundant enableInferenceSetController feature gate from CI Jun 24, 2026
Since enableInferenceSetController now defaults to true starting v0.11.0
(beta promotion, kaito-project#2112), the explicit --set featureGates.enableInferenceSetController=true
in workflows that install/upgrade to the current chart is redundant.

For workflows that install an old chart version (e.g., v0.10.0), the flag
must remain because older charts default enableInferenceSetController to false.

Files changed:
- .github/actions/e2e-base-setup/action.yaml: remove from HELM_INSTALL_EXTRA_ARGS (current chart).
- .github/workflows/aikit.yaml: remove from 'helm template' and the verification
  check for this feature gate (current chart).
- .github/workflows/base-image-auto-upgrade-test.yaml: remove from the two
  'Upgrade to current chart' steps only; keep the two 'Install old chart'
  steps unchanged (old chart still defaults the gate to false).

Signed-off-by: andyzhangx <xiazhang@microsoft.com>
@andyzhangx
andyzhangx force-pushed the test/remove-inferenceset-feature-gate branch from 93e5c73 to e54446f Compare July 25, 2026 14:17
@andyzhangx andyzhangx changed the title [WIP] test: remove redundant enableInferenceSetController feature gate from CI Jul 25, 2026
@andyzhangx
andyzhangx requested a review from Copilot July 25, 2026 14:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants