TRT-2884: add Pub/Sub label publisher - #3969
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@redhat-chai-bot: This pull request references TRT-2884 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Warning Review limit reachedNext included review available in 59 minutes. View limit detailsLimit details: You’ve used the included review currently available. This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Review configuration: ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (811)
📒 Files selected for processing (8)
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: redhat-chai-bot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Scheduling required tests: |
|
@redhat-chai-bot: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
Add the independent Pub/Sub label-event publisher for TRT-2884.
What changed
publisher.LabelEvent,publisher.ValidateLabelEvent, andLabelPublisher.PublishLabel.cloud.google.com/go/pubsub/v2.run_id,label,source_tool,prowjob_start, andrelease.cloud.google.com/go/pubsub/v2 v2.7.0and its transitive dependencies.Scope
This PR intentionally contains only the publisher, its tests, and the dependency/module/vendor and credential compatibility changes required by the publisher dependency. It does not contain the job-run label API, PostgreSQL persistence, or server route changes.
Validation
gofmtgit diff --checkgo test ./pkg/...go vet ./pkg/...go mod tidygo mod vendorgo mod verifymake testmake lintmake verify-migrationsmake verify-apmmake e2e: 165 tests passed; 2 credential-dependent tests skippedThe focused Testcontainers PostgreSQL integration test is outside this PR's functional scope and could not run because the available Podman environment did not provide a usable readiness path.
AI-generated. Review for accuracy.
@mstaeble requested via Chai Bot