Skip to content

[v3-4-test] Fix stale queued asset rows in scheduler cleanup and readiness (#76002) - #76039

Merged
vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-76002-to-v3-4-test
Oct 30, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-4-testfrom
backport-76002-to-v3-4-test

Conversation

@vatsrahul1001

Copy link
Copy Markdown
Contributor

Backport of #76002 to v3-4-test. Auto-backport failed to apply cleanly, so this is a manual backport.

Fixes stale queued asset rows (ADRQ) not being cleared in scheduler cleanup/readiness — follow-up to #75943 (unbounded IN lists for queued asset events).

Conflict resolution: the only conflict was in scheduler_job_runner.py module constants. #76002 adds _ADRQ_DELETE_CHUNK_SIZE next to the pre-existing MAX_TI_REFILL_QUERIES_PER_LOOP. The latter belongs to a task-instance-refill feature that is not on v3-4-test (0 usages there), so it was brought in only as context — I kept _ADRQ_DELETE_CHUNK_SIZE (used by the batched ADRQ delete) and dropped MAX_TI_REFILL_QUERIES_PER_LOOP to avoid an unused/dead constant. The rest applied cleanly; no test references the dropped constant.

(cherry picked from commit 9e662c2)


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

@vatsrahul1001
vatsrahul1001 merged commit 3318780 into v3-4-test Oct 30, 2026
108 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-76002-to-v3-4-test branch October 30, 2026 15:10
vatsrahul1001 added a commit that referenced this pull request Oct 30, 2026
… (#76039)

(cherry picked from commit 9e662c2)

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants