Skip to content

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

Rust

make nightly run on main branch (#3172)

kt0193d33fae0e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1f326ae9b7..a82e3371b8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,10 +45,10 @@ name: ci
on:
push:
- branches: [main, rust]
+ branches: [main]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
- branches: [main, rust]
+ branches: [main]
permissions:
contents: read
diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml
index e23ad56a7e..108ba1016e 100644
--- a/.github/workflows/continuous.yml
+++ b/.github/workflows/continuous.yml
@@ -13,7 +13,7 @@ on:
push:
branches:
- main
- - rust
+ - main
permissions: {}
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 71c0831054..669840d2de 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -67,7 +67,7 @@ on:
# CI before tagging (the proven-built evidence).
push:
branches:
- - rust
+ - main
# The operator's supervised cut: resolves the newest proven-green commit
# instead of a pushed one (the walk).
workflow_dispatch: {}
@@ -142,7 +142,7 @@ jobs:
run_id=""
deadline=$((SECONDS + 4500))
while :; do
- runs_json="$(gh api "repos/${GITHUB_REPOSITORY}/actions/workflows/continuous.yml/runs?branch=rust&per_page=1&head_sha=${target_sha}" 2>/dev/null || echo '{"workflow_runs":[]}')"
+ runs_json="$(gh api "repos/${GITHUB_REPOSITORY}/actions/workflows/continuous.yml/runs?branch=main&per_page=1&head_sha=${target_sha}" 2>/dev/null || echo '{"workflow_runs":[]}')"
read -r status conclusion candidate_run < <(printf '%s\n' "${runs_json}" | jq -r \
'(.workflow_runs[0] // {}) | [(.status // "absent"), (.conclusion // "-"), (.id // "-")] | @tsv')
if [ "${status}" = "completed" ]; then
@@ -181,13 +181,13 @@ jobs:
# BUILD actually ran green, walking the successful runs newest
# first and accepting the first whose build-* jobs all
# completed green.
- if ! gh api "repos/${GITHUB_REPOSITORY}/actions/workflows/continuous.yml/runs?branch=rust&per_page=100" \
+ if ! gh api "repos/${GITHUB_REPOSITORY}/actions/workflows/continuous.yml/runs?branch=main&per_page=100" \
| jq -e -r '[.workflow_runs[]
| select(.status == "completed" and .conclusion == "success")]
| sort_by(.run_number) | reverse | .[]
| [.id, .head_sha] | @tsv' \
> "${out}/candidate-runs" 2>/dev/null || [ ! -s "${out}/candidate-runs" ]; then
- echo "::error::no successful continuous run on rust in the last 100 runs; refusing to cut a beta off an unproven tip"
+ echo "::error::no successful continuous run on main in the last 100 runs; refusing to cut a beta off an unproven tip"
exit 1
fi
while IFS="$(printf '\t')" read -r run_id candidate_sha; do
@@ -204,7 +204,7 @@ jobs:
echo "continuous run ${run_id} (${candidate_sha}) concluded success but its builds did not run to green (${built}/${total}); looking further back"
done < "${out}/candidate-runs"
if [ -z "${target_sha}" ]; then
- echo "::error::no continuous run on rust with a green 4-target build in the last 100 runs; refusing to cut a beta off an unbuilt tip"
+ echo "::error::no continuous run on main with a green 4-target build in the last 100 runs; refusing to cut a beta off an unbuilt tip"
exit 1
fi
fi
diff --git a/.github/workflows/release-prepare.yml b/.github/workflows/release-prepare.yml
index c571829a01..da08e8a1c4 100644
--- a/.github/workflows/release-prepare.yml
+++ b/.github/workflows/release-prepare.yml
@@ -10,7 +10,7 @@
# into the root CHANGELOG.md (scripts/release/fold_changelog.py, the
# port of the TS scripts/lib/changelog-fragments.mjs fold), commits to
# `release/vX.Y.Z` and opens the release PR (title `release: vX.Y.Z`,
-# base rust). The PR IS the release's review surface: this is where the
+# base main). The PR IS the release's review surface: this is where the
# changelog gets its final read - where deno's humans "think relevancy
# and remove reverts" - and merging it is shipping.
#
@@ -54,7 +54,7 @@ on:
pull_request:
types: [closed]
# The pull_request branches filter applies to the PR's base branch.
- branches: [rust]
+ branches: [main]
permissions: {}
@@ -67,7 +67,7 @@ concurrency:
jobs:
prepare:
if: github.event_name == 'workflow_dispatch'
- name: "bump + fold, then open the release PR (base rust)"
+ name: "bump + fold, then open the release PR (base main)"
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
@@ -97,7 +97,7 @@ jobs:
- name: "Check out the rust line (full history: the fold sorts fragments by add-date)"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
- ref: rust
+ 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.
@@ -266,7 +266,7 @@ jobs:
# must not fall through to a `gh pr edit` with an empty number
# (the `|| ... &&` chain would do exactly that under set -u).
if gh pr create \
- --base rust \
+ --base main \
--head "release/v${INPUT_VERSION}" \
--title "release: v${INPUT_VERSION}" \
--body-file "$RUNNER_TEMP/release-pr-body.md"; then
@@ -289,7 +289,7 @@ jobs:
if: >-
github.event_name == 'pull_request' &&
github.event.pull_request.merged == true &&
- github.event.pull_request.base.ref == 'rust' &&
+ github.event.pull_request.base.ref == 'main' &&
startsWith(github.event.pull_request.title, 'release: v')
name: "cut the annotated tag vX.Y.Z at the merge commit (GitHub API)"
runs-on: ubuntu-latest
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0bb9fd96ff..b3f1aa8416 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -636,9 +636,9 @@ jobs:
# cut is already coming; this one keeps its versioned
# artifacts (immutable, still served to pinned installs) but
# leaves the channel pointers alone.
- branch_head="$(gh api "repos/${GITHUB_REPOSITORY}/commits/rust" --jq '.sha')"
+ branch_head="$(gh api "repos/${GITHUB_REPOSITORY}/commits/main" --jq '.sha')"
if [ "$built_parent" != "$branch_head" ]; then
- echo "superseded: this beta built ${built_parent} but rust is at ${branch_head}; a newer cut is coming — the versioned artifacts publish, the beta channel pointers do not"
+ echo "superseded: this beta built ${built_parent} but main is at ${branch_head}; a newer cut is coming — the versioned artifacts publish, the beta channel pointers do not"
else
current_beta="$(aws s3 cp "s3://${R2_BUCKET}/beta.json" - --endpoint-url "$R2_ENDPOINT_URL" 2>/dev/null | jq -r '.version // empty' || true)"
if [ -n "$current_beta" ] && version_gt "$current_beta" "$RELEASE_VERSION"; then