Skip to content

Match pulse try events with try jobs intead of decision jobs. - #2860

Merged
lutien merged 1 commit into
mozilla:masterfrom
lutien:match-pulse-events-with-try-jobs
Sep 18, 2026
Merged

lutien merged 1 commit into
mozilla:masterfrom
lutien:match-pulse-events-with-try-jobs

Conversation

@lutien

@lutien lutien commented Sep 16, 2026

Copy link
Copy Markdown
Member

The --env token is only added to jobs created by the decision task, so use a child job to match try pushes.

The --env token is only added to jobs created by the decision task,
so use a child job to match try pushes.
@lutien
lutien requested a review from jgraham September 16, 2026 10:29
Comment thread sync/handlers.py
# The --env token is only added to jobs created by the decision task,
# so use a child job to match pushes whose Lando revision is unknown.
task_id = body["status"]["taskId"]
task = tc.get_task(task_id)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this ends up adding a HTTP request per call here. I guess there aren't so many try pushes that's a huge problem, but it's at least somewhat noticeable. I guess there isn't enough information in the payload event to avoid it?

@lutien
lutien merged commit f17135b into mozilla:master Sep 18, 2026
4 checks passed
@lutien
lutien deleted the match-pulse-events-with-try-jobs branch September 18, 2026 10:35
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