Repository navigation
Conversation
hunsche
force-pushed
the
fix/u24-scheduler-spec-and-nofile-ci
branch
from
November 25, 2026 16:21
5dc32f5 to
0043de2
Compare
hunsche
added a commit
that referenced
this pull request
Nov 25, 2026
hunsche
force-pushed
the
fix/u24-scheduler-spec-and-nofile-ci
branch
from
November 25, 2026 16:57
0043de2 to
0a18091
Compare
ViniciustCosta
left a comment
Collaborator
There was a problem hiding this comment.
Can we split this into separate PR since the CI and the utask_main scheduling enhancements are unrelated?
Skip tasks whose Job entity was deleted from Datastore in GCP Batch and Kubernetes utask_main scheduling with a single error log per (command, job_type), while preserving ValueError for unmapped platforms so config errors remain unscheduled rather than acknowledged. Related: b/526881754
hunsche
added a commit
that referenced
this pull request
Nov 26, 2026
hunsche
force-pushed
the
fix/u24-scheduler-spec-and-nofile-ci
branch
from
November 26, 2026 01:24
0a18091 to
fae1dba
Compare
Contributor
Author
|
Split the Ubuntu 24.04 PAM and Docker build checks into #5657, keeping this PR focused on skipping deleted jobs in utask_main scheduling. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Skip deleted
Jobentities duringutask_mainremote scheduling (Related: b/526881754; Ubuntu 24.04 PAM and Docker build checks split into #5657):create_utask_main_jobs(batch/service.pyandk8s/service.py): When aJobentity has been removed from Datastore,_get_config_namesomits it fromconfig_map, and indexingspecs[(command, job_type)]/configs[(command, job_type)]raisedKeyError, aborting scheduling for valid tasks in the same batch while leaving stale messages unacknowledged. Skipping tasks missing fromconfig_mapwith a singlelogs.errorper(command, job_type)lets valid tasks proceed and drains stale deleted-job messages cleanly.ValueErrorfor unmapped platforms: Missing platform entries inmappingcontinue raisingValueErrorsoRemoteTaskGatereturns affected tasks as uncreated rather than acknowledging them.Testing
butler.py formatandbutler.py lintbutler.py py_unittest -t core -p batch_service_test.py(23/23passed)butler.py py_unittest -t core -p k8s_service_test.py(9/9passed)clusterfuzz-development