Skip to content

PIPE-1072-2: fix explicitly setting job default queue causing controller to miss the job#622

Merged
zhming0 merged 1 commit into
mainfrom
ming/pipe-1072-2
Jun 12, 2025
Merged

PIPE-1072-2: fix explicitly setting job default queue causing controller to miss the job#622
zhming0 merged 1 commit into
mainfrom
ming/pipe-1072-2

Conversation

@zhming0
Copy link
Copy Markdown
Contributor

@zhming0 zhming0 commented Jun 12, 2025

When bk yaml looks like:

agent: 
  queue: default # -> happen to be the default queue

And k8s controller starts without a queue tag, the controller will miss the job because controller wants a job that has queue="" instead.


This PR fixed it on transport layer so when we poll jobs, its queue tag will always match our expectation.

@zhming0 zhming0 requested review from a team and DrJosh9000 June 12, 2025 05:59
@zhming0 zhming0 requested a review from a team as a code owner June 12, 2025 05:59
Comment thread internal/controller/agenttags/tags.go Outdated
Comment thread internal/integration/integration_test.go Outdated
@zhming0 zhming0 force-pushed the ming/pipe-1072-2 branch from 78c700b to f2695ac Compare June 12, 2025 06:20
@zhming0 zhming0 enabled auto-merge June 12, 2025 06:22
@zhming0 zhming0 merged commit 73ace33 into main Jun 12, 2025
1 check passed
@zhming0 zhming0 deleted the ming/pipe-1072-2 branch June 12, 2025 07:26
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