Skip to content

fix(scripts): create portable A/B output directories - #2276

Merged
inureyes merged 6 commits into
mainfrom
fix/issue-2141-portable-ab-output-dirs
Oct 12, 2026
Merged

inureyes merged 6 commits into
mainfrom
fix/issue-2141-portable-ab-output-dirs

Conversation

@inureyes

@inureyes inureyes commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Create default A/B artifacts with portable GNU and BSD mktemp templates.
  • Exit 2 before running either gate when the default or requested output directory cannot be created.
  • Include concise English and Korean technical reports for the fix and regression coverage.

Validation

  • bash scripts/ci/ab_scripts_outdir_test.sh
  • bash -n scripts/ab_output_equality.sh scripts/paged_decode_counter_ab.sh scripts/ci/ab_scripts_outdir_test.sh
  • git diff --check

Closes #2141

Use mktemp templates accepted by GNU and BSD implementations, then stop with the documented inconclusive status when no output directory exists. Add stub-backed regression coverage for both A/B gates' default and failure paths.

Refs #2141
Exercise both gates when TMPDIR cannot host a temporary directory and assert that each returns status 2 before invoking a model binary. Allow the test to target a detached baseline tree so the regression remains demonstrable.

Refs #2141
@inureyes inureyes added type:bug Bug fixes, error corrections, or issue resolutions priority:medium Medium priority area:benchmark Benchmark harness and performance measurement (bench_*.sh, /update-benchmarks) platform:linux Linux (CUDA / packaging) specific status:review Under review labels Oct 12, 2026
Make the fake curl consume the piped request body so pipefail cannot report a producer SIGPIPE as a paged-gate failure. Print captured gate output whenever a default-path assertion fails.

Refs #2141
Record the portable output-directory fix, the fixture stability decision, and focused validation results in English and Korean.

Refs #2141
@inureyes inureyes added status:done Completed and removed status:review Under review labels Oct 12, 2026
Merge the main branch prerequisite that replaces the unmaintained YAML parser so the portable A/B output directory change can pass the shared dependency gate.

Refs #2141, #2278, #2279.
Include the merged SSM precision regression coverage before the final contract and A/B script validation for the portable output directory fix.

Refs #2141, #2209.
@inureyes
inureyes merged commit 2cb4e20 into main Oct 12, 2026
26 checks passed
@inureyes
inureyes deleted the fix/issue-2141-portable-ab-output-dirs branch October 12, 2026 15:38
inureyes added a commit that referenced this pull request Oct 12, 2026
Merge origin/main at 2cb4e20 after the portable A/B output directory fix landed.

This incorporates the #2209 and #2276 prerequisite changes while leaving the split-MTP implementation and regression-test paths unchanged.

Validation:
- configured repository contracts
- cargo deny check
- cargo fmt --all -- --check
- staged and unstaged whitespace checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:benchmark Benchmark harness and performance measurement (bench_*.sh, /update-benchmarks) platform:linux Linux (CUDA / packaging) specific priority:medium Medium priority status:done Completed type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(scripts): A/B gate scripts fail on GNU mktemp and then write to /

1 participant