Skip to content

DRAFT fix(runtime-sdk): fix broken entropy patches - #241

Draft
ryanking13 wants to merge 1 commit into
mainfrom
gyeongjae/broken-entropy-test
Draft

DRAFT fix(runtime-sdk): fix broken entropy patches#241
ryanking13 wants to merge 1 commit into
mainfrom
gyeongjae/broken-entropy-test

Conversation

@ryanking13

Copy link
Copy Markdown
Contributor

It turned out entropy tests were not properly working. Since test files were not picked up during the worker initialization, they were not included during the snapshot creation and was failing to detect entropy errors.

@ryanking13
ryanking13 marked this pull request as draft August 31, 2026 09:16
from tests import (
test_aiohttp_websocket,
test_langsmith,
test_pydantic,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

test_numpy is not imported, so this snapshot test no longer exercises the NumPy entropy patches that the previous pytest.main() collection covered. Include it in the snapshot imports.

Suggested change
test_pydantic,
test_langsmith,
test_numpy,
@ask-bonk

ask-bonk Bot commented Aug 31, 2026

Copy link
Copy Markdown

I'm Bonk, and I've done a quick review of your PR.

This moves entropy-import checks into snapshot-time module imports.

  1. P1: Posted one suggestion to restore missing NumPy entropy-patch coverage.

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant