Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down Expand Up @@ -661,6 +667,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down Expand Up @@ -750,6 +762,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down Expand Up @@ -839,6 +857,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down Expand Up @@ -928,6 +952,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down Expand Up @@ -1018,6 +1048,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down Expand Up @@ -1108,6 +1144,12 @@ jobs:
for part in ci-parts/atlas-part-*; do
mv "$part" "ci-parts/${part#ci-parts/atlas-part-}"
done
# A rerun of the run's jobs also finds the part this job uploaded in
# an earlier attempt; it is never this job's input, and the shard
# writes into an empty directory.
case "$LEXLEAN_EXAMPLES_PART" in
shard:*) rm -rf "ci-parts/${LEXLEAN_EXAMPLES_PART##*:}" ;;
esac
ls ci-parts
- name: Reserve bounded overflow memory for native Atlas
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ workspace carried at those versions without a tag.

## Unreleased

- An Atlas shard of the gate drops the part it uploaded in an earlier attempt
of its run before it runs (SPEC.md §9.4, `RP-14`). "Re-run all jobs"
downloaded that part with the rest, and the shard refused the non-empty
directory (`LLI9001`), so a gate could be recovered only by a new dispatch.
- Arrays of fixed-width integers (SPEC.md §17.12, *Arrays*, `SM-39`; no new
diagnostic code; changes the language-1.2 identity). Language 1.2 gains the
type `array{element: T}` over one fixed-width integer type, lowered to the
Expand Down
6 changes: 6 additions & 0 deletions crates/conformance/src/cases/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2441,6 +2441,12 @@ pub(crate) fn run(id: &str) {
!body.contains("run-id") && !body.contains("github-token"),
"§9.4: `{key}` reads the artifacts of this run only"
);
assert!(
body.contains(
" shard:*) rm -rf \"ci-parts/${LEXLEAN_EXAMPLES_PART##*:}\" ;;\n"
),
"§9.4: `{key}` drops its own part from an earlier attempt before it runs"
);
}
for (shard, job_key) in &runs {
if shard == crate::shards::JOIN {
Expand Down
Loading