[RAPTOR 18595] Schema change: acceptance test fixture - #687
[RAPTOR 18595] Schema change: acceptance test fixture#687brunoromano-dr wants to merge 12 commits into
Conversation
|
👋 Thanks so much for contributing to the DataRobot community! As a quick heads-up on how our team handles reviews: if you're still iterating on Once everything is finalized and you're ready for feedback, just click "Ready for review" |
Code OwnershipWorkload Cli
Review requested from the teams above. Labels will be removed automatically upon approval. |
1e3211d to
694fc9f
Compare
chasdr
left a comment
There was a problem hiding this comment.
re-reviewed after the head moved. the preflight test now lives in cmd/workload/create/cmd_test.go and drives cmd.Execute(), so posted==false actually proves the short-circuit. verified it passes and fails for the right reason (the mutual-exclusivity error fires before any POST), lint clean. LGTM 👍
|
Hi @chasdr , why are the smoke tests still waiting for status to be reported? Trying to push this PR towards closing if it's all right |
|
🔐 Fork smoke tests started by maintainer ⏳ Security scans passed. Running smoke tests... Commit: |
|
✅ All smoke tests passed! (Fork PR) ✅ Security Scan: success |
|
@brunoromano-dr Is this still ready to go? Need @adamalpi or @wojtekwdr review? |
RATIONALE
Adds HTTP-level acceptance tests for the workload autoscaling schema change (workload-api#984): lock the
dr workload createpath for the new payload shape and document that preflight validation runs before POST.Follows RAPTOR-18591 (docs/examples) and RAPTOR-18594 (preflight validation). PR 3 from the internal
SCHEMA_CHANGE_CLI.mdplan.Ticket: RAPTOR-18595
CHANGES
internal/workload/workload_test.goTestCreateWorkload_AutoscalingShapePostsVerbatimAndParses201— validate + POST autoscaling spec verbatim →201internal/workload/workload_test.goTestCreateWorkload_PreflightRejectsReplicaCountWithAutoscaling— conflict spec fails validation; no HTTP callTESTING
Full package:
GOPROXY=https://proxy.golang.org,direct go test ./internal/workload/ -vRELATED
docs/examples/workload-autoscaling.yamlvalidateRuntimeReplicaAutoscalinginworkload.goPR Automation
Comment-Commands: Trigger CI by commenting on the PR:
/trigger-smoke-testor/trigger-test-smoke- Run smoke tests/trigger-install-testor/trigger-test-install- Run installation testsLabels: Apply labels to trigger workflows:
run-smoke-testsorgo- Run smoke tests on demand (only works for non-forked PRs)Important
For Forked PRs: The
run-smoke-testslabel won't work. A required Smoke Tests check will block merge until a maintainer acts:/approve-smoke-teststo run smoke tests (results will set the check)/skip-smoke-teststo bypass the check without running testsPlease comment requesting a maintainer review if you need smoke tests to run.
Branch:
RAPTOR-18595-schema-change-acceptance-test-fixture→datarobot-oss:main(stack after RAPTOR-18594 / RAPTOR-18591)Diff size: 1 file (
workload_test.go)Made with Cursor