Skip to content

Conversation

@olamide226
Copy link
Contributor

  • Added clear instructions for running Operator E2E and unit/integration tests in README
  • Clarified that all operator task commands should be run from the project root
  • Updated Taskfile to auto-install Chainsaw for local runs, skipping in CI

Ref: #1843

…tomate Chainsaw install

- Added clear instructions for running Operator E2E and unit/integration tests in README
- Clarified that all operator task commands should be run from the project root
- Updated Taskfile to auto-install Chainsaw for local runs, skipping in CI

Signed-off-by: Ola Adebayo <34113844+olamide226@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 17, 2025 22:42
Copy link
Contributor

Copilot AI left a comment

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 enhances the operator documentation and testing setup by adding comprehensive test running instructions and automating tool installation. The changes improve developer experience by clarifying how to run different types of tests and ensuring required tools are available.

  • Added detailed instructions for running both unit/integration and E2E tests
  • Clarified that operator task commands should be run from project root
  • Automated Chainsaw installation for local development while preserving CI behavior

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
cmd/thv-operator/Taskfile.yml Added conditional Chainsaw auto-installation for local development
cmd/thv-operator/README.md Added comprehensive test running instructions and prerequisites

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.70%. Comparing base (d525d2c) to head (1adef91).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1929      +/-   ##
==========================================
- Coverage   46.73%   46.70%   -0.03%     
==========================================
  Files         220      220              
  Lines       27378    27378              
==========================================
- Hits        12795    12788       -7     
- Misses      13604    13618      +14     
+ Partials      979      972       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JAORMX JAORMX merged commit 00b1e6a into stacklok:main Sep 18, 2025
16 of 17 checks passed
@olamide226 olamide226 deleted the docs/operator-e2e-tests-and-task-improvements branch September 18, 2025 17:15
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