Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@t0mmylam
Copy link
Collaborator

Summary

Wrote CLI e2e test suites with proper state assertions and added CI integration.

Changes

Tests

  • 3 node command tests into 1 comprehensive test with 5 test steps
  • Unified package tests with status, logs, and rerun functionality

Proper Assertions

  • Added chainsaw assertions for state verification
  • Node tests: Verify ignore/unignore labels and reset annotation removal
  • Package tests: Verify rerun sets packages to "in_progress" state

Infrastructure Improvements

  • Added CLI e2e tests to GitHub Actions CI pipeline (runs on K8s 1.34.0)
  • CLI tests run automatically on PRs affecting operator code

Test Coverage

  • Node commands: list, status, ignore, unignore, reset
  • Package commands: status, logs, rerun --stage apply
  • All state-changing commands have proper assertions
  • Comprehensive coverage of CLI functionality

@t0mmylam t0mmylam changed the base branch from main to node-ops December 16, 2025 00:17
… enable) (#127)

* feat(cli): Add lifecycle management commands (pause, resume, disable, enable)

* update k8s tests

* change to patch
Base automatically changed from node-ops to package-ops December 16, 2025 23:15
@t0mmylam t0mmylam merged commit 18716a6 into package-ops Dec 17, 2025
1 check passed
@t0mmylam t0mmylam deleted the cli-tests branch December 17, 2025 00:19
t0mmylam added a commit that referenced this pull request Dec 17, 2025
* feat(cli): Add node management commands and ignore label support

* feat: Consolidate CLI e2e tests with proper assertions and CI integration

* feat(cli): Add lifecycle management commands (pause, resume, disable, enable) (#127)

* feat(cli): Add lifecycle management commands (pause, resume, disable, enable)

* update k8s tests

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants