Skip to content

Commit 858dfeb

Browse files
Fix Windows checkout paths and prevent non-portable mass-panic reports (#268)
Eight tracked historical report names contain colons, preventing a complete Windows checkout (hyperpolymath/echo-types#362). Rename them with hyphens while preserving every original Git blob byte-for-byte. Keep ISO timestamps inside report contents unchanged. The Chapel writer now uses a colon-free timestamp for generated filenames. Its existing end-to-end job checks both report types for portable names, and Rust regression controls reject invalid path components and check the complete tracked Git inventory. Validation: the source-checkout test failed on the original inventory, then both portability tests passed after the eight renames. All eight artifacts retain their original blob hashes. A fresh Windows checkout and hosted Rust/Chapel checks are next. The local machine has no Chapel compiler, so no local Chapel execution is claimed. No report evidence was deleted or rewritten. Verification scope: this is a compatibility repair, not a formal-proof claim. Creusot with Pearlite contracts and Verus remain OPEN/not run for the new Rust checkout controls; the controls are executable tests.
1 parent 6d3d52a commit 858dfeb

11 files changed

Lines changed: 81 additions & 1 deletion

‎.github/workflows/chapel-ci.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ jobs:
212212
done
213213
./chapel/mass-panic --repoDirectory="$WORK/corpus" --numLocales=1 --quiet --outputDir="$WORK/out"
214214
ls "$WORK/out"/system-image-*.json >/dev/null
215+
for report in "$WORK/out"/assemblyline-*.json "$WORK/out"/system-image-*.json; do
216+
test -f "$report"
217+
case "${report##*/}" in
218+
*:*) echo "Non-portable report filename: ${report##*/}" >&2; exit 1 ;;
219+
esac
220+
done
215221
echo "chapel-e2e: PASS"
216222
217223
chapel-cli-contract:

‎chapel/src/MassPanic.chpl‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,9 @@ module MassPanic {
10721072
mkdir(outputDir, parents=true);
10731073
} catch { }
10741074

1075-
const timestamp = dateString();
1075+
// Keep ISO timestamps inside reports, but use portable filenames.
1076+
// Colons are forbidden in Windows checkout paths.
1077+
const timestamp = dateString().replace(":", "-");
10761078

10771079
// Write assemblyline report
10781080
const reportPath = joinPath(outputDir, "assemblyline-" + timestamp + ".json");

mass-panic-results/assemblyline-2026-04-12T11:23:37Z.json renamed to mass-panic-results/assemblyline-2026-04-12T11-23-37Z.json

File renamed without changes.

mass-panic-results/assemblyline-2026-04-12T11:26:50Z.json renamed to mass-panic-results/assemblyline-2026-04-12T11-26-50Z.json

File renamed without changes.

mass-panic-results/assemblyline-2026-04-12T11:43:42Z.json renamed to mass-panic-results/assemblyline-2026-04-12T11-43-42Z.json

File renamed without changes.

mass-panic-results/assemblyline-2026-04-12T11:54:16Z.json renamed to mass-panic-results/assemblyline-2026-04-12T11-54-16Z.json

File renamed without changes.

mass-panic-results/system-image-2026-04-12T11:23:37Z.json renamed to mass-panic-results/system-image-2026-04-12T11-23-37Z.json

File renamed without changes.

mass-panic-results/system-image-2026-04-12T11:26:50Z.json renamed to mass-panic-results/system-image-2026-04-12T11-26-50Z.json

File renamed without changes.

mass-panic-results/system-image-2026-04-12T11:43:42Z.json renamed to mass-panic-results/system-image-2026-04-12T11-43-42Z.json

File renamed without changes.

mass-panic-results/system-image-2026-04-12T11:54:16Z.json renamed to mass-panic-results/system-image-2026-04-12T11-54-16Z.json

File renamed without changes.

0 commit comments

Comments
 (0)