From 25ce0227a19418d14d120bb03a8e948f8eefb5ac Mon Sep 17 00:00:00 2001 From: Noah Gift Date: Sun, 4 Oct 2026 10:45:15 +0200 Subject: [PATCH 1/2] fix(nightly): darwin leg built into the mini's redirected target dir, so --version found no apr The mini runner's env sets CARGO_TARGET_DIR=~/data/cargo-target. cargo built there and the next line, "target/$T/release/apr" --version, exited 127 (run 37171118510, job 'apr aarch64-apple-darwin on mini'). Package reads the same ./target path. Step-local export of CARGO_TARGET_DIR=$GITHUB_WORKSPACE/target, the fix #4660 already made for binary-release.yml's mini lane. No check changes. Refs #4681 Agent: aprender-wmainred Co-Authored-By: Claude Opus 5.5 --- .github/workflows/nightly.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 1f34b0e156..69d79c63ee 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -259,6 +259,11 @@ jobs: - name: Build apr (host-native, pinned toolchain) run: | set -euo pipefail + # Every later step reads ./target. The mini's runner env redirects cargo's + # target dir (CARGO_TARGET_DIR=~/data/cargo-target), so cargo built + # elsewhere and the --version line found no apr (run 37171118510, exit + # 127). Same fix as binary-release.yml's mini lane (#4660). + export CARGO_TARGET_DIR="$GITHUB_WORKSPACE/target" rustup show active-toolchain cargo build --release --locked -p apr-cli --target "$T" "target/$T/release/apr" --version From afacf797a87550106661e8f5e54550d14612a04b Mon Sep 17 00:00:00 2001 From: Noah Gift Date: Sun, 4 Oct 2026 11:09:02 +0200 Subject: [PATCH 2/2] chore(roadmap): PMAT-4715 fragment (B2 parent #4715) Agent: aprender-wmainred Co-Authored-By: Claude Opus 5.5 --- docs/roadmaps/entries/PMAT-4715.yaml | 19 +++++++++++++++++++ docs/roadmaps/roadmap.yaml | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 docs/roadmaps/entries/PMAT-4715.yaml diff --git a/docs/roadmaps/entries/PMAT-4715.yaml b/docs/roadmaps/entries/PMAT-4715.yaml new file mode 100644 index 0000000000..398c99140b --- /dev/null +++ b/docs/roadmaps/entries/PMAT-4715.yaml @@ -0,0 +1,19 @@ +- id: PMAT-4715 + github_issue: 4715 + item_type: task + title: 'B2: root-cause fixes for red nightlies on main' + status: inprogress + priority: critical + assigned_to: aprender-wmainred + created: 2026-10-04T00:00:00Z + updated: 2026-10-04T00:00:00Z + acceptance_criteria: + - Each red or cancelled scheduled workflow on main has a root cause named in its fix PR, one PR per defect, listed on issue #4715 + - Each fix PR changes no gate's acceptance; a threshold or acceptance change goes to the train lead's sign-off batch instead + - After each fix merges, the next scheduled or dispatched run of that workflow on main gets past the step that failed + phases: [] + subtasks: [] + estimated_effort: null + labels: + - kind:ci + notes: 'Parent #4678 (0.70.2), bar B2: no check red on main for more than 24 h. Proposed by aprender-a7, minted by cop aprender-14.' diff --git a/docs/roadmaps/roadmap.yaml b/docs/roadmaps/roadmap.yaml index f65016f6ce..6d12cec68b 100644 --- a/docs/roadmaps/roadmap.yaml +++ b/docs/roadmaps/roadmap.yaml @@ -24060,3 +24060,22 @@ Not done, pending the ruling: moving the 31 fixture files to an obviously synthe labels: - kind:docs notes: 'Operator C197, 2026-10-01 12:40Z: re-date via the spec''s own procedure; check unchanged; not a waiver.' +- id: PMAT-4715 + github_issue: 4715 + item_type: task + title: 'B2: root-cause fixes for red nightlies on main' + status: inprogress + priority: critical + assigned_to: aprender-wmainred + created: 2026-10-04T00:00:00Z + updated: 2026-10-04T00:00:00Z + acceptance_criteria: + - Each red or cancelled scheduled workflow on main has a root cause named in its fix PR, one PR per defect, listed on issue #4715 + - Each fix PR changes no gate's acceptance; a threshold or acceptance change goes to the train lead's sign-off batch instead + - After each fix merges, the next scheduled or dispatched run of that workflow on main gets past the step that failed + phases: [] + subtasks: [] + estimated_effort: null + labels: + - kind:ci + notes: 'Parent #4678 (0.70.2), bar B2: no check red on main for more than 24 h. Proposed by aprender-a7, minted by cop aprender-14.'