Repository navigation
fix(test-workload): preserve strings in generated TOML - #59
Closed
rudycelekli wants to merge 1 commit into
Closed
rudycelekli wants to merge 1 commit into
rudycelekli wants to merge 1 commit into
Conversation
## Problem The workload generator writes a quote or backslash from a path directly into TOML. A quote stops parsing. A backslash changes the path. ## Solution Encode each TOML string with the JSON string encoder. Keep all keys and the policy text unchanged. No product interface changes. ## Tests The new Python regression fails on unchanged source and passes with this fix. Root independently repeated both runs. The baseline Rust build, format check, and clippy pass. Full workspace tests and eight containment compilation cases stop with ENOSPC; this change contains no Rust edits. The containment run has 113 passes and 8 declared platform skips. No live model run was made.
Collaborator
|
Thanks for looking into this. We're closing this batch of PRs under our AI usage policy. The PR template has a checkbox "I have reviewed and understand every line", which is unchecked, and 40 PRs at once is more than we can review. We welcome external contributions and we're okay with AI-written code, but a human has to review and deeply understand the changes. A good way to start is to pick the one fix you think matters most, open an issue that explains the bug in your own words, and follow up with a small PR you've reviewed yourself. That's how we build trust with new contributors, and we'd be glad to work with you that way. |
8 tasks done
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.
Description
The workload generator writes a quote or backslash from a path directly into TOML. A quote stops parsing. A backslash changes the path.
Encode each TOML string with the JSON string encoder. Keep all keys and the policy text unchanged. No product interface changes. AI assisted this change.
Related Issues
None.
Type of Change
Bug fix
Testing
python3.12 test-workload/common/boxgen-test.pyfails against the base and passes with this change. No Rust change. Workspace just check was not run. No model or containment run.just check, orcargo test --workspace --all-features)Checklist
Independent review: no product interface, premise, or permission change. The focused Python regression fails before and passes after this fix. Baseline Rust build, formatting, and lint passed. Full workspace tests and 8 containment compiler cases hit ENOSPC; 113 containment cases passed and 8 were declared platform skips. No full-suite or hosted CI pass is claimed.