Skip to content

Fix empty reducer shard shuffle reads - #8772

Open
akshaypal912 wants to merge 3 commits into
marin-community:mainfrom
akshaypal912:fix/zephyr-empty-shard-8352
Open

Fix empty reducer shard shuffle reads#8772
akshaypal912 wants to merge 3 commits into
marin-community:mainfrom
akshaypal912:fix/zephyr-empty-shard-8352

Conversation

@akshaypal912

Copy link
Copy Markdown

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f8cf52ec51

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread lib/zephyr/src/zephyr/shuffle.py
@akshaypal912
akshaypal912 marked this pull request as draft August 30, 2026 12:57
@akshaypal912
akshaypal912 marked this pull request as ready for review August 30, 2026 12:58

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b8af75c02c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

captured_fan_in.append(kwargs["fan_in"])
return real_merge(*args, **kwargs)

monkeypatch.setattr("zephyr.shuffle._merge_sorted_frames", merge_and_record)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Verify bounded spilling without patching merge internals

This test patches two functions inside the system under test and then asserts the argument passed to _merge_sorted_frames, so it fails on harmless helper refactors and would still pass if that helper accepted fan_in=2 but ignored it. Remove these internal patches and verify the actual spill behavior through the existing scan/filesystem recorder—for example, require .spill paths to be observed—while retaining the merged-output assertion. The repository's required testing policy specifically calls for rejecting tests based on internal dispatch rather than observable behavior.

AGENTS.md reference: AGENTS.md:L239-L245

Useful? React with 👍 / 👎.

@akshaypal912

Copy link
Copy Markdown
Author

Hi, could you please approve/run the pending workflows for PR #8772?
There are currently 11 workflows awaiting maintainer approval, so the 5 required checks are stuck at “Expected Waiting for status to be reported.”
Once the checks are running, I’d also appreciate a review of the PR. Thanks!

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