Repository navigation
Fix NDJSON export dataset version validation - #46
angeliqueeumwali wants to merge 2 commits into
Conversation
|
Codex review: This now conflicts with the export fixes merged today. Please retain LF-only NDJSON splitting, case-insensitive media types and the bounded CSV parser while applying strict dataset-version validation, then rerun |
Hi, I've updated PR #46 to incorporate the latest changes from The GitHub Actions workflow is currently awaiting maintainer approval. Could someone please approve the workflow so the required checks can run? Thank you! |
|
Hi Mohsen,
Thank you for pointing this out.
I've updated my contribution branch with the latest changes from main,
preserving:
-
LF-only NDJSON splitting
-
Case-insensitive media type handling
-
The bounded CSV parser
I also retained the strict NDJSON dataset_version validation and added the
regression test.
I've rerun scripts/check.py successfully, and pushed the updates to PR #46.
The GitHub Actions workflow is currently awaiting maintainer approval
before the required checks can run.
Thank you for your review.
Best regards,
Angelique
…On Tue, 17 Nov 2026 at 17:29, Mohsen Azimi ***@***.***> wrote:
*mohsen1* left a comment (prooflinedev/sdk-python#46)
<#46 (comment)>
Codex review: This now conflicts with the export fixes merged today.
Please retain LF-only NDJSON splitting, case-insensitive media types and
the bounded CSV parser while applying strict dataset-version validation,
then rerun scripts/check.py.
—
Reply to this email directly, view it on GitHub
<#46?email_source=notifications&email_token=CBMT223HYTMKDOZT7BSOEBT5ZROFLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJVGA4TINBUHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6950944490>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CBMT222NEQRMV7SKIQ5XSIT5ZROFLAVCNFSNUABGKJSXA33TNF2G64TZHMYTIMRQHAYDMNJZHA5US43TOVSTWNRTG43TEMRWGQYDFILWAI>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CBMT225MQV2DT4NTUF6HTUT5ZROFLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJVGA4TINBUHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/CBMT223Q222TM4F75TKQEWD5ZROFLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJVGA4TINBUHEYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Summary
Fixes dataset version validation in
decode_export().Previously, NDJSON responses containing
"dataset_version": "1"(a string) were incorrectly accepted because the value was converted to a string before validation.The decoder now validates dataset versions according to the response format:
"1".1.Tests
Added a regression test covering both synchronous and asynchronous clients. It verifies that an NDJSON response with a string dataset version raises the expected
ProoflineErrorwith typeurn:proofline:sdk:invalid-response.Validation results:
git diff --checkpassed.