Repository navigation
fix(inkless:test): load inkless_produce_consume_test without the Antithesis SDK - #887
Open
giuseppelillo wants to merge 1 commit into
Open
giuseppelillo wants to merge 1 commit into
giuseppelillo wants to merge 1 commit into
Conversation
…thesis SDK `inkless_produce_consume_test.py` imports `antithesis.assertions` at module level. Only the Antithesis driver image installs the SDK, so in the ducker image ducktape fails to import the module, logs a warning, finds no tests in it, and skips it. The nightly Inkless system tests have passed without running this test. Outside Antithesis the test now falls back to no-op assertions. Each Antithesis assertion is followed by a plain `assert` on the same condition, so the test still fails on a mismatch. The Antithesis driver keeps using the real SDK. Assisted-by: Claude Opus 5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
inkless_produce_consume_test.pyimportsantithesis.assertionsat module level. Only the Antithesis driver image (antithesis/Dockerfile-driver) installs the SDK. In the ducker image that the nightly Inkless system tests use, ducktape fails to import the module, logs a warning, and skips the file:The other files in the directory still load, so the nightly passes without running this test. The 2026-11-19 nightly (44442270818) shows both log lines.
Outside Antithesis the test now falls back to no-op
always_or_unreachable,unreachable, andreachablefunctions. Eachalways_or_unreachableandunreachablecall is followed by a plainasserton the same condition, so the test still fails on a mismatch. The Antithesis driver, which generates its test from this file inantithesis/test_generator/docker_script.sh, keeps using the real SDK.Testing
test_inklesspassed forCOMBINED_KRAFTandISOLATED_KRAFTin 2 minutes 15 seconds.make valereports no alerts on the new comment.🤖 Generated with Claude Code