@@ -804,52 +804,6 @@ jobs:
804804 - name : Run tests
805805 run : make test
806806
807- # ── 9.5. CLI Examples Validation ──────────────────────────────────────────────
808- # Validates that all documented CLI examples parse correctly and are executable.
809- # Ensures documentation stays in sync with the actual CLI interface.
810- # Related: #1154 - Add pipeline stage that validates every documented CLI example command
811- cli-examples-test :
812- name : CLI Examples Validation
813- runs-on : ubuntu-latest
814- timeout-minutes : 10
815- needs : [test]
816- if : >-
817- always() &&
818- needs.test.result == 'success'
819- steps :
820- - uses : actions/checkout@v7
821-
822- - name : Setup Rust
823- uses : ./.github/actions/setup-rust
824- with :
825- cache-key : " ci-cli-examples"
826-
827- - name : Run CLI examples tests
828- run : cargo test --test cli_examples_test -- --nocapture
829-
830- # ── 9.6. Backup & Restore Smoke Tests ─────────────────────────────────────────
831- # Command-level smoke tests for backup and restore workflows.
832- # Validates that backup/restore CLI commands work end-to-end with the file backend.
833- # Related: #1149 - Add command-level smoke tests for backup and restore workflows
834- backup-restore-smoke-test :
835- name : Backup & Restore Smoke Tests
836- runs-on : ubuntu-latest
837- timeout-minutes : 15
838- needs : [test]
839- if : >-
840- always() &&
841- needs.test.result == 'success'
842- steps :
843- - uses : actions/checkout@v7
844-
845- - name : Setup Rust
846- uses : ./.github/actions/setup-rust
847- with :
848- cache-key : " ci-backup-restore"
849-
850- - name : Run backup/restore smoke tests
851- run : cargo test --test backup_restore_smoke_test -- --nocapture
852-
853807 # ── 10. Code coverage ─────────────────────────────────────────────────────────
854808 coverage :
855809 name : Code Coverage
@@ -901,7 +855,7 @@ jobs:
901855 (needs.crd-drift.result == 'success' || needs.crd-drift.result == 'skipped')
902856 runs-on : ubuntu-latest
903857 timeout-minutes : 20
904- needs : [changes, helm-test, api-docs]
858+ needs : [changes, helm-test, api-docs, crd-drift ]
905859 env :
906860 DOCKER_PLATFORMS : linux/amd64
907861 permissions :
@@ -981,64 +935,7 @@ jobs:
981935 with :
982936 image-ref : ${{ env.REGISTRY }}/${{ steps.setup-docker.outputs.image-name }}:sha-${{ github.sha }}
983937
984- # ── 13. Upgrade workflow test ─────────────────────────────────────────────────
985- upgrade-test :
986- name : Upgrade Workflow Test
987- runs-on : ubuntu-latest
988- timeout-minutes : 15
989- needs : [test]
990- if : >-
991- always() &&
992- needs.test.result == 'success'
993- steps :
994- - uses : actions/checkout@v7
995-
996- - name : Setup Rust
997- uses : ./.github/actions/setup-rust
998- with :
999- cache-key : " ci-upgrade-test"
1000-
1001- - name : Run upgrade orchestrator unit tests
1002- # Note: compilation runs with K8S_OPENAPI_ENABLED_VERSION=1.30
1003- run : cargo test --locked upgrade_orchestrator -- --nocapture
1004-
1005- - name : Run PVC autoscaler unit tests
1006- run : cargo test --locked pvc_autoscaler -- --nocapture
1007-
1008- # ── 14. Reconciler Benchmark ──────────────────────────────────────────────────
1009- reconciler-benchmark :
1010- name : Reconciler Benchmark
1011- runs-on : ubuntu-latest
1012- timeout-minutes : 15
1013- steps :
1014- - uses : actions/checkout@v4
1015-
1016- - name : Setup Rust
1017- uses : ./.github/actions/setup-rust
1018- with :
1019- cache-key : " ci-bench"
1020-
1021- - name : Run reconciler benchmark
1022- run : |
1023- cargo test --release --lib -- --nocapture 2>&1 \
1024- | tee bench-amd64.txt
1025-
1026- - name : Write benchmark summary
1027- if : always()
1028- run : |
1029- {
1030- echo "## Reconciler Benchmark Summary"
1031- echo ""
1032- if [[ -f bench-amd64.txt ]]; then
1033- echo '```'
1034- cat bench-amd64.txt
1035- echo '```'
1036- else
1037- echo "⚠️ Benchmark results not available"
1038- fi
1039- } >> "$GITHUB_STEP_SUMMARY"
1040-
1041- # ── 15. Chart Render Diff Check ───────────────────────────────────────────────
938+ # ── 13. Chart Render Diff Check ───────────────────────────────────────────────
1042939 # Detects unintended Helm chart template drift by comparing rendered output
1043940 # against a stored baseline.
1044941 # Related: #1145 - Implement chart render diff checks to catch unintended template drift
0 commit comments