Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

dedupe the continuous main trigger and drop stale rust-branch wording (#3208)

Sebastian Müller822a78939015
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 748ade0a4b..80f03891f1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,7 +6,7 @@
# --all-targets -- -D warnings, cargo test --workspace) on the pinned
# toolchain (1.98.1) and runner image the continuous/release builds use:
#
-# push to main/rust — every merge is a push. continuous.yml proves the
+# push to main — every merge is a push. continuous.yml proves the
# release binaries link; THIS workflow proves the tip's test/bench/example
# targets compile (`cargo check --workspace --all-targets`) and the test
# suites pass (the test suite sharded below; the count is the SHARD_COUNT
diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml
index d697dcae22..e3d6296222 100644
--- a/.github/workflows/continuous.yml
+++ b/.github/workflows/continuous.yml
@@ -1,6 +1,6 @@
# Continuous build pipeline for Prime Agent (Rust).
#
-# Builds the 4-target release matrix on every push to `main` or `rust` and
+# Builds the 4-target release matrix on every push to `main` and
# uploads the tarballs as workflow artifacts (downloadable from the run page).
# Does NOT create tags or releases — the org repo's release history stays
# owned by the merged product's release workflow (release.yml).
@@ -13,7 +13,6 @@ on:
push:
branches:
- main
- - main
permissions: {}
@@ -27,7 +26,7 @@ env:
jobs:
# Superseded-push gate (TS #2567): with `cancel-in-progress: false`, every
- # push to main/rust queues a full 4-target build, so a burst of merges
+ # push to main queues a full 4-target build, so a burst of merges
# leaves older runs building artifacts for a commit that is no longer the
# tip. The gate checks the live branch tip first: when the workflow commit
# is superseded, the expensive build jobs skip (neutral exit) and the
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 669840d2de..401afa5257 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -7,14 +7,14 @@
#
# CADENCE (the operator's ruling: the beta channel follows EVERY green
# tip - 'nightly' meant the beta release, and the beta updates on every
-# commit, not once a night): every push to `rust` fires a cut for that
+# commit, not once a night): every push to `main` fires a cut for that
# commit. The cut WAITS for the pushed commit's `continuous` run to
# conclude green (the proven-built evidence: the tip CI must have greened
# on that commit) before tagging. The SUPERSEDE cost-guard keeps busy days
# cheap: this job's concurrency group cancels the in-flight WAIT when a
# newer push lands (nothing has been tagged during the wait), and
# release.yml's beta publish refuses to move the channel pointers when a
-# newer commit exists on rust - so only the LATEST green commit ever
+# newer commit exists on main - so only the LATEST green commit ever
# advances the channel, and 20 merges cost at most a handful of actual
# beta cuts, each the freshest green.
#
@@ -57,12 +57,12 @@
#
# Not built (deliberate, per the proposal): a prune job for accumulated
# -beta* releases (deferred until asset count matters), and any content
-# change to the branch (the tag-only commit never lands on rust).
+# change to the branch (the tag-only commit never lands on main).
name: nightly
on:
- # The rolling beta (the operator's ruling): every push to `rust` fires a
+ # The rolling beta (the operator's ruling): every push to `main` fires a
# cut for that commit; the cut waits out the pushed commit's continuous
# CI before tagging (the proven-built evidence).
push:
@@ -177,7 +177,7 @@ jobs:
fi
echo "rolling beta parent: ${target_sha} (continuous run ${run_id}: all ${total} build jobs green)"
else
- # The dispatch walk: the newest continuous run on rust whose
+ # The dispatch walk: the newest continuous run on main whose
# BUILD actually ran green, walking the successful runs newest
# first and accepting the first whose build-* jobs all
# completed green.
@@ -363,7 +363,7 @@ jobs:
(out / "commit.json").write_text(json.dumps({
"message": f"nightly: {tag} (tag-only: the branch is never touched)\n\n"
f"The parent {target_sha} is the newest successful continuous build "
- f"on rust; this tree differs from it only by the workspace version "
+ f"on main; this tree differs from it only by the workspace version "
f"rows (Cargo.toml + Cargo.lock). Cut by the nightly workflow; no "
f"branch head references this commit.",
"tree": "",
@@ -373,7 +373,7 @@ jobs:
"tag": tag,
"message": f"Nightly build {tag}\n\n"
f"Built from the continuous train at parent {target_sha} "
- f"(the newest successful continuous build on rust) via the nightly "
+ f"(the newest successful continuous build on main) via the nightly "
f"workflow's tag-only commit. The -beta* tag publishes the nightly "
f"channel (beta.json) through the release.yml promote gate.",
"object": "",
diff --git a/.github/workflows/release-prepare.yml b/.github/workflows/release-prepare.yml
index 4a01c63450..5f07fc1611 100644
--- a/.github/workflows/release-prepare.yml
+++ b/.github/workflows/release-prepare.yml
@@ -35,12 +35,9 @@
# prepare act fails with a config pointer - and the tag act is unreachable
# by construction (no release PR can be opened without the App).
#
-# Ref-agnostic by construction: workflow_dispatch registers only from the
-# default branch (verified on this repo: the rust-only
-# windows-runtime-triage.yml dispatch 404s), so the operator mirrors this
-# file to `main` as one config act; both acts resolve the rust line
-# explicitly (the prepare job checks out the `rust` branch, the tag job reads
-# the merge commit) and never read the ref the workflow ran on.
+# Ref-agnostic by construction: both acts resolve `main` explicitly (the
+# prepare job checks out `main`, the tag job reads the merge commit) and
+# never read the ref the workflow ran on.
name: release-prepare
@@ -94,13 +91,13 @@ jobs:
# Setting any permission input narrows the token to exactly these.
permission-contents: write
permission-pull-requests: write
- - name: "Check out the rust line (full history: the fold sorts fragments by add-date)"
+ - name: "Check out main (full history: the fold sorts fragments by add-date)"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: main
- # The rust branch clones at ~94MB (measured 2026-09-29); a release
- # is rare, and the fold's add-date ordering reads fragment
- # add-commits anywhere in that history.
+ # A full-history clone is large (the pre-merge rust branch measured
+ # ~94MB on 2026-09-29); a release is rare, and the fold's add-date
+ # ordering reads fragment add-commits anywhere in that history.
fetch-depth: 0
persist-credentials: false
# The pinned SHA is the toolchain pin: this action version has no
@@ -159,7 +156,7 @@ jobs:
| sort > "$RUNNER_TEMP/release-fragments.txt" || true
python3 scripts/release/fold_changelog.py --version "${INPUT_VERSION}"
git add -A CHANGELOG.md Cargo.toml Cargo.lock
- - name: Commit the release branch (release/vX.Y.Z off the rust tip)
+ - name: Commit the release branch (release/vX.Y.Z off the main tip)
env:
INPUT_VERSION: ${{ inputs.version }}
run: |
@@ -168,7 +165,7 @@ jobs:
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
base_sha="$(git rev-parse HEAD)"
git checkout -q -b "release/v${INPUT_VERSION}"
- git commit -q -m "release: v${INPUT_VERSION}" -m "Version bump + the .changes/ fragment fold, cut by the release-prepare workflow off the rust tip ${base_sha}. Merging this PR ships v${INPUT_VERSION}: the tag act creates the annotated tag at this PR's squash-merge commit, and the tag-triggered release.yml runs the promote gate (the protected release environment)."
+ git commit -q -m "release: v${INPUT_VERSION}" -m "Version bump + the .changes/ fragment fold, cut by the release-prepare workflow off the main tip ${base_sha}. Merging this PR ships v${INPUT_VERSION}: the tag act creates the annotated tag at this PR's squash-merge commit, and the tag-triggered release.yml runs the promote gate (the protected release environment)."
echo "release/v${INPUT_VERSION} at $(git rev-parse HEAD) (base ${base_sha})"
- name: Push the release branch (the App token, one-shot credential helper)
env:
@@ -252,9 +249,6 @@ jobs:
and named humans may create/move tags; manual/local tags are refused.
- [ ] The `release` environment approvers (Settings - Environments -
release): the promotion authority for the promote gate.
- - [ ] The `main` mirror for `release-prepare.yml` + `nightly.yml` (the
- default branch registers schedule/dispatch triggers; both workflows
- resolve the rust line explicitly, so the same bytes are safe there).
_No tag is cut by opening or reviewing this PR; the tag act runs only after
the merge, and the publish itself is gated behind the environment approval.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e6d0224cb6..4ad5b566fd 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -698,7 +698,7 @@ jobs:
# identity (github.token); the R2 keys are environment secrets
# scoped to this job; nothing is echoed.
# - BETA SUPERSEDE: only the LATEST green commit gets a beta cut;
- # a newer rust push landing while this beta built means a newer
+ # a newer main push landing while this beta built means a newer
# cut is coming — this publish keeps its versioned artifacts but
# skips the beta channel pointers (beta.json/beta/install-beta.sh),
# so the channel only ever advances forward.
@@ -848,7 +848,7 @@ jobs:
if [[ "$RELEASE_VERSION" == *-beta* ]]; then
# THE BETA CHANNEL: the rolling per-push cut. The supersede
# rule — only the newest proven commit advances the channel: a
- # newer rust push landing while this beta built means a newer
+ # newer main push landing while this beta built means a newer
# cut is already coming; this one keeps its versioned
# artifacts (immutable, still served to pinned installs) but
# leaves the channel pointers alone.