Skip to content

Conversation

@Qqwy
Copy link
Contributor

@Qqwy Qqwy commented Aug 4, 2025

This PR contains two changes which were done on our internal system but not yet published on the public version.

  • Ensures the Python client Nix build still works
  • Ensures the random_order is more fair. Before, select chunks of large submissions might sometimes be starved if a queue was very busy.

Qqwy added 8 commits August 4, 2025 13:17
Before, only the last 16 bits of the submission_id were used
which were in practice nearly always `0`, since there was never more
than one submission being generated in the same millisecond (c.f. how
Snowflake IDs work).

Now, also the higher 64-22=42 bits making up the timestamp
are directly involved in the random order, which results
in chunks with the same index in different submissions getting
wildly different random order numbers.
(Changes are benign; just graph nodes being reordered)
@Qqwy
Copy link
Contributor Author

Qqwy commented Aug 4, 2025

@OpsBotPrime merge and tag

@OpsBotPrime
Copy link
Contributor

Rebased as a2cb5f1, waiting for CI …

OpsBotPrime added a commit that referenced this pull request Aug 4, 2025
Approved-by: Qqwy
Priority: Normal
Auto-deploy: false
@OpsBotPrime
Copy link
Contributor

CI job 🟡 started.

@OpsBotPrime
Copy link
Contributor

The build failed ❌.

If this is the result of a flaky test, then tag me again with the retry command. Otherwise, push a new commit and tag me again.

@Qqwy
Copy link
Contributor Author

Qqwy commented Aug 4, 2025

@OpsBotPrime merge and tag

@OpsBotPrime
Copy link
Contributor

The build failed ❌.

If this is the result of a flaky test, then tag me again with the retry command. Otherwise, push a new commit and tag me again.

@Qqwy
Copy link
Contributor Author

Qqwy commented Aug 4, 2025

@OpsBotPrime retry

Approved-by: Qqwy
Priority: Normal
Auto-deploy: false
@OpsBotPrime
Copy link
Contributor

Rebased as 6724dd1, waiting for CI …

@OpsBotPrime
Copy link
Contributor

CI job 🟡 started.

@OpsBotPrime
Copy link
Contributor

@Qqwy Sorry, I could not tag your PR. Please check the logs

@OpsBotPrime OpsBotPrime merged commit 6724dd1 into master Aug 4, 2025
6 of 7 checks passed
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