Validate serverless pipeline cluster settings - #6662
Conversation
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Approval status: pending
|
|
@denik, could you take a look at this fix for #1688 and help authorize the pending CI/integration tests? It rejects incompatible serverless pipeline cluster settings during validation, planning, and deployment, with coverage for valid classic and serverless configurations. Local formatting, checks, lint, and the full unit/acceptance suites pass; live workspace integration tests still need an authorized run. |
Changes
Reject non-empty pipeline cluster settings when serverless compute is enabled. The shared validator reports the configuration location and how to fix it during bundle validation, planning, and deployment.
Why
Fixes #1688. This invalid combination previously passed bundle validation and failed only when the pipeline was deployed. Classic pipelines and serverless pipelines with omitted or empty cluster settings remain valid.
Tests
go test ./bundle/config/validatepasses../task fmt,./task checks,./task lint, and./task testpass. Results: 10,030 root-module unit cases (47 skipped), 73 tools-module cases, and 5,138 acceptance cases (11 skipped), with no failures. Go 1.26.8; acceptance uses the local test server.This PR was written by OpenAI Codex.