ROX-35254: rename BYODB job to match prefetch convention#21644
Conversation
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe BYODB end-to-end job is renamed across workflow, dispatch, and logcheck configuration from ChangesCI job rename
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/e2e-byodb-test.yaml:
- Around line 30-38: The job rename in the workflow means the restart-log
allowlist no longer matches the active CI job. Update the `job` regex in
`scripts/ci/logcheck/restart-ok-patterns.json` so it references
`gke-byodb-qa-e2e-tests` instead of `gke-byodb-test`, and verify any other
old-name references used by `check-restart-logs.sh` and the `CI_JOB_NAME`-based
matching are kept in sync.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Central YAML (base), Organization UI (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 782b2859-3f99-44b4-a197-31612734a189
📒 Files selected for processing (1)
.github/workflows/e2e-byodb-test.yaml
🚀 Build Images ReadyImages are ready for commit 647a6d2. To use with deploy scripts: export MAIN_IMAGE_TAG=4.12.x-438-g647a6d2c14 |
6cbdd52 to
adfb562
Compare
|
Updated — also renamed |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #21644 +/- ##
==========================================
- Coverage 50.38% 50.33% -0.05%
==========================================
Files 2844 2846 +2
Lines 218284 218344 +60
==========================================
- Hits 109975 109911 -64
- Misses 100331 100428 +97
- Partials 7978 8005 +27
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
adfb562 to
d666cbf
Compare
msugakov
left a comment
There was a problem hiding this comment.
Looks good. Thank you. Let's hope CI will be happy too.
The gke-byodb-test GHA workflow (added in b8fed2a) used CI_JOB_NAME=gke-byodb-test, which did not match any image prefetcher case in scripts/ci/lib.sh. The Splunk TA image was not prefetched, causing IntegrationsSplunkViolationsTest to fail with deployment timeouts and SSL handshake errors. The Prow equivalent (gke-external-pg-17-qa-e2e-tests) matched the existing *qa-e2e-tests pattern. Rename the GHA job id and CI_JOB_NAME to gke-byodb-qa-e2e-tests so it follows the same convention and gets image prefetching + quay pull policy for free. Also pluralize the workflow name and filename from e2e-byodb-test to e2e-byodb-tests for consistency with e2e-nongroovy-tests, and update restart-ok-patterns.json to match the new job name. Partially generated by AI.
ef9bbb0 to
dc64ed5
Compare
|
/fixxx |
make: Entering directory '/__w/stackrox/stackrox/operator'
[[ ${ROX_OPERATOR_SKIP_PROTO_GENERATED_SRCS:-false} = true ]] || make -C .. proto-generated-srcs
make[1]: Entering directory '/__w/stackrox/stackrox'
+ /__w/stackrox/stackrox/.proto/protoc-linux-x86_64-32.1/bin/protoc
make[2]: Entering directory '/__w/stackrox/stackrox'
+ /__w/stackrox/stackrox/.proto/.downloads
+ /__w/stackrox/stackrox/.proto/.downloads/protoc-32.1-linux-x86_64.zip
make[2]: Leaving directory '/__w/stackrox/stackrox'
+ protoc-gen-go
+ /__w/stackrox/stackrox/generated/api/integrations/splunk_service.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/common.pb.go
+ /__w/stackrox/stackrox/generated/api/common/extended_rpc_status.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/common.pb.go
+ /__w/stackrox/stackrox/generated/storage/taints.pb.go
+ /__w/stackrox/stackrox/generated/test/test.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/sfa_iservice.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/wrapper/splunk_alert.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/auth.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/v1/token_service.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/compliance/compliance_data.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/virtualmachine/v1/index_report.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/common.pb.go
+ /__w/stackrox/stackrox/generated/tools/local-sensor/message.pb.go
+ protoc-gen-go-vtproto
+ /__w/stackrox/stackrox/generated/api/integrations/splunk_service_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/common_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/api/common/extended_rpc_status_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/common_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/vuln_state_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/storage/taints_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/storage/operation_status_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/test/test_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/sfa_iservice_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/network_enums_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/wrapper/splunk_alert_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/auth_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/v1/token_service_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/compliance/compliance_data_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/virtualmachine/v1/index_report_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/common_vtproto.pb.go
+ /__w/stackrox/stackrox/generated/tools/local-sensor/message_vtproto.pb.go
+ protoc-gen-go-grpc
+ /__w/stackrox/stackrox/generated/api/integrations/splunk_service_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/common_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/audit_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/pagination_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/signal_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/empty_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/sbom_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/notifications_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v1/traits_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/common/extended_rpc_status_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/common_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/search_query_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/compliance_common_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/vuln_state_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/pagination_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/vulnerability_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/scan_component_grpc.pb.go
+ /__w/stackrox/stackrox/generated/api/v2/user_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/taints_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/common_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/test_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/rbac_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/policy_category_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/image_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/virtual_machine_v2_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/container_runtime_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/node_component_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/resource_collection_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/blob_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/compliance_operator_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/node_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/relations_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/service_identity_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/virtual_machine_scan_v2_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/labels_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/secret_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/cve_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/alert_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/auth_provider_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/network_graph_config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/compliance_config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/service_account_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/base_image_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/process_listening_on_port_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/installation_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/external_backup_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/image_component_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/operation_status_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/schedule_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/scope_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/discovered_cluster_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/integration_health_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/namespace_metadata_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/orchestrator_integration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/image_integration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/log_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/system_info_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/virtual_machine_component_v2_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/vulnerability_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/report_notifier_configuration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/notifier_enc_config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/report_snapshot_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/cluster_init_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/network_baseline_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/virtual_machine_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/api_token_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/telemetry_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/role_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/virtual_machine_cve_v2_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/administration_event_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/cloud_source_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/policy_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/http_endpoint_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/deployment_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/notification_schedule_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/report_configuration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/process_baseline_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/helm_cluster_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/file_access_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/compliance_operator_v2_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/network_flow_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/node_integration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/vuln_requests_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/compliance_integration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/group_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/sensor_upgrade_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/cluster_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/network_policy_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/hash_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/auth_machine_to_machine_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/kube_event_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/user_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/mitre_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/compliance_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/notifier_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/signature_integration_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/base_image_repository_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/traits_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/delegated_registry_config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/administration_usage_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/declarative_config_health_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/version_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/process_indicator_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/risk_grpc.pb.go
+ /__w/stackrox/stackrox/generated/storage/image_v2_grpc.pb.go
+ /__w/stackrox/stackrox/generated/test/test_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/sfa_iservice_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/network_enums_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/admission_control_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/sfa_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/fact_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/network_connection_info_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/sensor/collector_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/wrapper/splunk_alert_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/auth_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/image_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/local_scanner_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/compliance_operator_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/v1/token_service_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/network_baseline_sync_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/hello_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/policy_sync_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/cluster_config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/telemetry_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/network_flow_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/sensor_upgrade_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/deployment_enhancement_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/cluster_metrics_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/secured_cluster_cert_refresh_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/cluster_status_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/delegated_registry_config_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/baseline_sync_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/sensor_events_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/central/process_listening_on_ports_update_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/compliance/compliance_data_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/virtualmachine/v1/index_report_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/virtualmachine/v1/virtual_machine_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/virtualmachine/v1/vm_service_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/common_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/index_report_grpc.pb.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/vulnerability_report_grpc.pb.go
+ /__w/stackrox/stackrox/generated/tools/local-sensor/message_grpc.pb.go
+ protoc-gen-grpc-gateway
+ /__w/stackrox/stackrox/generated/api/integrations/splunk_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/api/v1/user_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/api/v2/report_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/internalapi/central/development_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/internalapi/central/v1/token_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/internalapi/virtualmachine/v1/vm_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/indexer_service.pb.gw.go
+ /__w/stackrox/stackrox/generated/internalapi/scanner/v4/matcher_service.pb.gw.go
+ protoc-gen-openapiv2
+ /__w/stackrox/stackrox/generated/api/v1/user_service.swagger.json
+ /__w/stackrox/stackrox/generated/api/v2/report_service.swagger.json
+ protoc-go-inject-tag
+ inject-proto-tags
+ cleanup-swagger-json-gotags
+ proto-generated-srcs
make[2]: Entering directory '/__w/stackrox/stackrox'
+ clean-obsolete-protos
/__w/stackrox/stackrox/tools/clean_autogen_protos.py --protos /__w/stackrox/stackrox/proto --generated /__w/stackrox/stackrox/generated
make[2]: Leaving directory '/__w/stackrox/stackrox'
make[1]: Leaving directory '/__w/stackrox/stackrox'
+ controller-gen
/__w/stackrox/stackrox/operator/.gotools/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
# The generated source files might not comply with the current go formatting, so format them explicitly.
go fmt ./api/...
make: Leaving directory '/__w/stackrox/stackrox/operator'
Description
The
gke-byodb-testGHA workflow (added in b8fed2a) setCI_JOB_NAME=gke-byodb-test, which did not match any image prefetcher case inscripts/ci/lib.sh. The Splunk TA image (quay.io/rhacs-eng/qa:splunk-ta-test-latest) was not prefetched on GKE nodes, andIMAGE_PULL_POLICY_FOR_QUAY_IOwas not set. This causedIntegrationsSplunkViolationsTestto fail duringsetupSpec()with deployment timeouts and SSL handshake errors.The Prow equivalent job was named
gke-external-pg-17-qa-e2e-tests, which matched the existing*qa-e2e-testspattern in the prefetch dispatch. The GHA migration broke this by not following the naming convention.Fix: rename the GHA job id and
CI_JOB_NAMEfromgke-byodb-testtogke-byodb-qa-e2e-testsso it matches*qa-e2e-testsand gets image prefetching + quay pull policy automatically. This is a 2-line change in the workflow file; no changes needed toscripts/ci/lib.shor the dispatch workflow.User-facing documentation
Testing and quality
Automated testing
The fix will be validated by the next
gke-byodb-qa-e2e-testsrun on master after merge. The existingIntegrationsSplunkViolationsTestis itself the regression test.How I validated my change
Verified via bash
casepattern matching thatgke-byodb-qa-e2e-testsmatches the existing*qa-e2e-testspattern in the image prefetcher dispatch, which triggers theqa-e2eprefetch set (includes the Splunk TA image) and setsIMAGE_PULL_POLICY_FOR_QUAY_IO=Neveron GKE.