Skip to content

test(backend): qualify shard affinity and scheduler fairness (PL-144) - #26676

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/parity-PL-144
Nov 30, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/parity-PL-144

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Port PL-144 from Plan A into the existing batch Store conformance suite. Two worker identities choose different equal-service shards. Lower virtual service and higher job priority still win against affinity. A live pull claim lets an eligible alternate proceed. The busy-prefix test also verifies one bounded widening from 16 to 64 candidates.

The same test drives the production scheduler over the in-memory simulator, old Firestore and the replacement Postgres Store. The existing emulator job runs the simulator and Firestore legs. Rollback is a revert of the test commit.

Source #23927.

Product invariants affected

none

How it was verified

  • OMI_REQUIRE_STORE_BACKENDS=all with the loopback Firestore emulator and local Postgres. pytest -q -m integration tests/integration/test_store_conformance.py -k 'pl144 or candidate or refills_saturated' passed all 30 selected cases, with zero skips or xfails.

  • The normal pre-push gate passed, including the 37-check local preflight.

Failure-Class: FC-unowned-scheduler-shard-writes

View guided diff Turn on auto-fix

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T02:02:33.778481Z 11f0ec0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Git-on-my-level
Git-on-my-level merged commit d0fd63a into main Nov 30, 2026
79 of 80 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/parity-PL-144 branch November 30, 2026 12:48
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.

1 participant