Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
11e6220
fix(lint): stop shellcheck re-analysing sourced files; budget every f…
pithead-developer[bot] Nov 12, 2026
de64610
Bring the battery and release docs in line with the automated rig leg…
pithead-developer[bot] Nov 12, 2026
fa7ec5a
test(os): name the boot line that ends the migration release wait (#3…
pithead-developer[bot] Nov 12, 2026
d115384
fix(os): run dashboard schema migrations only after the booted slot c…
pithead-developer[bot] Nov 12, 2026
741fc40
Keep a committed slot committed when Set up again is abandoned (#3960…
pithead-developer[bot] Nov 12, 2026
3798407
os tests: fix #3943 — remove saved RAUC bundles from /tmp on exit (#3…
pithead-developer[bot] Nov 13, 2026
6c9374e
build(deps): Bump astral-sh/setup-uv from 10.3.2 to 10.3.3 in the act…
dependabot[bot] Nov 13, 2026
ce14b69
build(deps): Bump caddy from 2.11.7 to 2.11.9 in the compose group (#…
dependabot[bot] Nov 13, 2026
d50facf
build(deps): Bump the python group in /dashboard with 4 updates (#4002)
dependabot[bot] Nov 13, 2026
99fc70b
build(deps-dev): Bump @playwright/test from 1.64.1 to 1.65.0 in /dash…
dependabot[bot] Nov 13, 2026
3215be9
dashboard: header line "Mining paused here" with the count of rigs on…
pithead-developer[bot] Nov 13, 2026
60799c7
dashboard: LAN "Monero node offline" banner that needs no Tor (#4079)…
pithead-developer[bot] Nov 13, 2026
5230d9d
Tor render: raise MaxClientCircuitsPending, lower monero out-peers de…
pithead-developer[bot] Nov 13, 2026
cddb359
appliance: fix #4036, #4037 and start #4038 — download a redacted sup…
pithead-developer[bot] Nov 13, 2026
e444d0e
Data plane: per-rig mining verdict and this-Pithead-only Workers Aliv…
pithead-developer[bot] Nov 14, 2026
b6273ba
dashboard: fix #4057, #4058, #4060 — reload a stale tab, explain fail…
pithead-developer[bot] Nov 14, 2026
08d92fc
dashboard: fix #4072 — label where each rig mines, explain DOWN, list…
pithead-developer[bot] Nov 14, 2026
ee764f5
dashboard: fix #4059 — worker, backup, onion and diagnostics actions …
pithead-developer[bot] Nov 14, 2026
e4a477b
Stop serving stratum work when P2Pool or monerod work is invalid (#40…
pithead-developer[bot] Nov 14, 2026
5ff693d
dashboard: fix #4061 — style the Service diagnostics log and health-c…
pithead-developer[bot] Nov 14, 2026
aa9dc3e
appliance: tier4-kvm fault leg for recovery-bundle and a boot advisor…
pithead-developer[bot] Nov 14, 2026
e3e8bbd
appliance: fix #3996, #3994 — automate rig battery M11 share leg + M1…
pithead-developer[bot] Nov 14, 2026
452a33e
test(os): pin the persistent journal and measure its window over the …
pithead-developer[bot] Nov 14, 2026
1799cdd
Sign-in page with Remember me for the dashboard (#4089) (#4100)
pithead-developer[bot] Nov 14, 2026
dfe5855
fix(os,build): bound image-fetch retries so one github.com 5xx stops …
pithead-developer[bot] Nov 14, 2026
676b98c
P2Pool with zero peers for a bounded window is restarted, with backof…
pithead-developer[bot] Nov 15, 2026
bba3f6a
fix(os): address watch restarts Caddy only for an address change, und…
pithead-developer[bot] Nov 15, 2026
34fbca9
rig share leg: keep the #3375 fastpath receipt when the proxy is recr…
pithead-developer[bot] Nov 15, 2026
edc5a60
Per-service Restart in Service diagnostics through the control channe…
pithead-developer[bot] Nov 15, 2026
fcbb188
test(os): clean the floor-fallback leg's bundle, log and rootfs tag o…
pithead-developer[bot] Nov 15, 2026
eb929ce
Report a failed migration-hold clear at the chain commit gate (#4022)
pithead-developer[bot] Nov 15, 2026
0d987a6
Re-dial monerod after any Tor start; restart a peerless monerod withi…
pithead-developer[bot] Nov 15, 2026
89fa73c
fix(os): a wedged Tor no longer spends the committed slot's fallback …
pithead-developer[bot] Nov 16, 2026
9cf6f9f
stack: fix #4063, #4064 — monerod re-dial after Tor restart, Restart …
pithead-developer[bot] Nov 16, 2026
87e1799
docs: tell RigForge-only appliance owners to stay on 2.0.3 (#4136) (#…
pithead-developer[bot] Nov 16, 2026
73b11b6
fix(tor): bind SocksPort to the bridge address, silence IP-only SOCKS…
pithead-developer[bot] Nov 16, 2026
5b3835f
Healthchecks ping in its own task with a hard deadline, fresh-circuit…
pithead-developer[bot] Nov 16, 2026
79dbb94
Support bundle collector: one .zip of the whole journal for a chosen …
pithead-developer[bot] Nov 16, 2026
c91ef91
build/tor: pin the apk tor package and fail the build on a version mi…
pithead-developer[bot] Nov 16, 2026
cb42fe1
Dashboard: time-frame picker and one-click .zip log export, always av…
pithead-developer[bot] Nov 16, 2026
f90602a
e2e restore proof: re-check xmrig-proxy and p2pool last, wait a bound…
pithead-developer[bot] Nov 16, 2026
2604817
os: fix #4122, #4123 — tor-heal proof survives Tor 0.4.9 state rewrit…
pithead-developer[bot] Nov 17, 2026
eb41acd
DIY parity: support-bundle takes --since/--until and writes the same …
pithead-developer[bot] Nov 17, 2026
c5f5347
image-upgrade certificate leg: re-pin the Playwright image to v1.65.0…
pithead-developer[bot] Nov 17, 2026
d0af748
integration: failover-view phase — a rig moves to a second pool and b…
pithead-developer[bot] Nov 17, 2026
5665204
Use build provenance for Quadlet image references (#3855)
pithead-developer[bot] Nov 17, 2026
67504c5
Support bundle: state snapshots and non-journal sources, each time-bo…
pithead-developer[bot] Nov 17, 2026
bf7772e
tor-bump: daily watcher opens a dependencies PR when Alpine ships a n…
pithead-developer[bot] Nov 17, 2026
616cec5
Never probe DONATION above 0 on a real rig or mining guest (#4184) (#…
pithead-developer[bot] Nov 17, 2026
28ef17a
integration: name the failing lifecycle step and keep its sanitized o…
pithead-developer[bot] Nov 17, 2026
9303c46
Backport the on-demand Tor client and the hardened update channel to …
pithead-developer[bot] Nov 18, 2026
a5ac3dd
Dashboard keeps answering on a full data disk (sign-in session store …
pithead-developer[bot] Nov 18, 2026
55f9f76
build(deps): Bump the test-harness group across 2 directories with 1 …
dependabot[bot] Nov 18, 2026
4add140
build(deps): Bump the docker group across 2 directories with 2 update…
dependabot[bot] Nov 18, 2026
b1c6b4b
build(deps-dev): Bump @playwright/test from 1.65.0 to 1.65.1 in /dash…
dependabot[bot] Nov 18, 2026
91bd307
build(deps): Bump the python group in /dashboard with 3 updates (#4204)
dependabot[bot] Nov 18, 2026
3442ec1
build(deps): Bump the docker-appliance group across 1 directory with …
dependabot[bot] Nov 18, 2026
9ff1dbf
Dashboard: log why xmrig-proxy was stopped and when it was readmitted…
pithead-developer[bot] Nov 18, 2026
6156a74
tests: lifecycle mining diagnostic names the xmrig-proxy exit code an…
pithead-developer[bot] Nov 20, 2026
72a03ab
fault-injection: wait for the post-apply Tor probe witness and record…
pithead-developer[bot] Nov 20, 2026
7af8769
security(os): clear the rootfs scan: golang 1.26.11 and Compose v5.7.…
pithead-developer[bot] Nov 20, 2026
e40f58a
fix(test): KVM battery mines to the bench-supplied owner payouts (#41…
pithead-developer[bot] Nov 20, 2026
1ad469f
Move XvB donation mining to eu.xmrvsbeast.com and migrate saved NA ho…
pithead-developer[bot] Nov 21, 2026
b6f3251
Tor auto-heal: advance past a rejected NEWNYM to state reset and rest…
pithead-developer[bot] Nov 21, 2026
d3fac9f
image-upgrade: name the chain and error when the pre-upgrade Tari ide…
pithead-developer[bot] Nov 21, 2026
06dce36
watch: find the weekly report past the first 200 open issues (#4319, …
pithead-developer[bot] Nov 21, 2026
7e4e947
Bake RigForge 1.19.0 into the appliance image (#4300)
pithead-developer[bot] Nov 21, 2026
f2a2bd0
release: prepare version 2.0.4 (#4340)
pithead-developer[bot] Nov 21, 2026
10211f8
release: cut 2.0.4 (#4343)
pithead-developer[bot] Nov 22, 2026
fe96554
Re-pin caddy 2.11.9 to the index digest upstream now serves (#4344)
pithead-developer[bot] Nov 22, 2026
e15544e
tier4-kvm fault E: recovery-bundle leg seeds a --rpc-login and assert…
pithead-developer[bot] Nov 23, 2026
d431fdc
test: derive support-bundle window times from one fixed instant (#418…
pithead-developer[bot] Nov 23, 2026
f7df706
tier4-kvm LAN guard leg: save and print the failing apply's output (#…
pithead-developer[bot] Nov 23, 2026
8f047c4
Fit the release-gate e2e harness budgets to 2.0.4's deliberate waits …
pithead-developer[bot] Nov 23, 2026
c638d11
e2e: name the Tor fault leg's peer precondition and carry dashboard l…
pithead-developer[bot] Nov 23, 2026
ffbc5b8
Restart a stranded rig miner (#4387) and fix the rig leg's receipt, p…
pithead-developer[bot] Nov 23, 2026
2919adc
Dashboard and wizard audit fixes: wrong-wallet payouts, XvB address i…
pithead-developer[bot] Nov 23, 2026
3d7a17b
CLI audit fixes: nested data dirs, config-reset Tari volume, piped in…
pithead-developer[bot] Nov 23, 2026
48ea2e7
Release: tag and bundle exactly the gated commit, check origin tags, …
pithead-developer[bot] Nov 23, 2026
75ebd36
Forward-port the donation config keys (#3693) to develop (#4375)
pithead-developer[bot] Nov 23, 2026
f6ddd44
Date the 2.0.4 CHANGELOG heading for the cut on 2026-11-24 (#4410)
pithead-developer[bot] Nov 24, 2026
8dd020e
Forward-port the donation planner (#3696) and fake stratum endpoint (…
pithead-developer[bot] Nov 24, 2026
32d9834
Open the egress firewall for a clearnet project donation route only w…
pithead-developer[bot] Nov 24, 2026
a7dd4f2
appliance: fix #3694 — pass the DONATION_* settings to the dashboard …
pithead-developer[bot] Nov 24, 2026
2963919
Count only a recent "monerod is not synchronized" line in the mining …
pithead-developer[bot] Nov 24, 2026
c387557
Release gate KVM timing flakes: fault E stop wait, reset compose-down…
pithead-developer[bot] Nov 24, 2026
2f8a9d4
tier4-kvm rig: accept any HTTP status as proof the Tor helper fetched…
pithead-developer[bot] Nov 24, 2026
84dc66a
Check rig and XvB replies before they are used (#4467)
pithead-developer[bot] Nov 24, 2026
cbfde92
fix: keep the Tor-only egress rules until the stack has stopped (#4489)
pithead-developer[bot] Nov 24, 2026
32be1c3
doctor passes the node login to curl on standard input; the local min…
pithead-developer[bot] Nov 24, 2026
8dccf84
fix: refuse a dashboard data folder that overlaps a folder the host w…
pithead-developer[bot] Nov 24, 2026
a1e25dc
fix: the one-click upgrade's downloads stay on HTTPS across redirects…
pithead-developer[bot] Nov 24, 2026
d8e5f17
Bound one control-runner drain, clear entries that are not files, and…
pithead-developer[bot] Nov 24, 2026
dd8cf64
Root steps do not write through a link inside a container's folder (#…
pithead-developer[bot] Nov 24, 2026
60f4b7b
reset and uninstall keep the Tor-only egress rules when their own sto…
pithead-developer[bot] Nov 24, 2026
633f154
build(deps): Bump the python group in /dashboard with 4 updates (#4505)
dependabot[bot] Nov 24, 2026
9503ff3
build(deps): Bump astral-sh/setup-uv (#4504)
dependabot[bot] Nov 24, 2026
0df4be8
fix: down and the backup stop ask the engine before the Tor-only egre…
pithead-developer[bot] Nov 24, 2026
e57cfcc
Forward-merge 2.0.4 (develop) into develop-v2.1.0
pithead-developer[bot] Nov 27, 2026
65cfcbf
Fit the 2.1.0 KVM selftests to the merged 2.0.4 legs
pithead-developer[bot] Nov 27, 2026
c62afd1
Drop merge duplicates and fit the merged files to their ceilings
pithead-developer[bot] Nov 27, 2026
51751b0
Fit 2.1.0's tests to the merged 2.0.4 behaviour
pithead-developer[bot] Nov 27, 2026
2bfce9e
Keep the browser tests on 2.1.0's Playwright 1.64.1
pithead-developer[bot] Nov 27, 2026
89503c5
Pin the boot advisory's doctor messages in their ID form
pithead-developer[bot] Nov 27, 2026
1412938
Fit 2.1.0's harness selftests to the merged 2.0.4 legs
pithead-developer[bot] Nov 27, 2026
1c0287a
Reuse reset's Tari volume cleanup in uninstall and re-read export-onl…
pithead-developer[bot] Nov 27, 2026
260f859
Read the rig's own rate in Sovereign after 2.0.4 split proxy and rig …
pithead-developer[bot] Nov 27, 2026
b30b3a8
test: make lost-capture marker controls deterministic (#3590) (#3615)…
pithead-developer[bot] Nov 27, 2026
ae4be28
Pull the fixed libzstd1 into the dashboard image (#4537) (#4604)
pithead-developer[bot] Nov 27, 2026
947e0f1
Merge develop into the 2.1.0 forward merge for the libzstd1 fix (#4604)
pithead-developer[bot] Nov 27, 2026
8c2d8a4
Fix the Quadlet render order and two tests the 2.1.0 forward merge le…
pithead-developer[bot] Nov 27, 2026
d5e2af9
Fix two OS selftests the 2.1.0 forward merge left out of step
pithead-developer[bot] Nov 28, 2026
0e2bf0a
Write the Tor snapshot into appliance support bundles again
pithead-developer[bot] Dec 1, 2026
b6375b1
Let a serving Monero backup node keep the mining guard clear
pithead-developer[bot] Dec 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .config/gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ be95cee9f654b55eff157c89350913921fdb23ab:tests/os/selftest-miner-connection.sh:g
# Current fixtures use SOAK_REPLY; these historical fingerprints exempt no later copies.
767ae18596b06a63ef98beccf31ac0a212786365:tests/os/soak-selftest.sh:generic-api-key:86
767ae18596b06a63ef98beccf31ac0a212786365:tests/os/soak-selftest.sh:generic-api-key:88
# Synthetic secret strings in the first #4060 draft-redaction test commit; the current test file has no such literal at these lines.
ff9e346a13f2d1e645aa6bc5b0ff5cd85d8f6e69:dashboard/tests/frontend/config/configdraft.test.mjs:generic-api-key:72
ff9e346a13f2d1e645aa6bc5b0ff5cd85d8f6e69:dashboard/tests/frontend/config/configdraft.test.mjs:generic-api-key:81
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
version: "0.12.13"
checksum: 745765a3b6e360ad76743599ae5c42e9278c7edf8bbff9fc76d05bf2623a04dd
Expand Down Expand Up @@ -289,8 +289,7 @@ jobs:
body=$(cat report.md)
# Exact title match over the open list, NOT `--search`: the search index lags issue
# creation by minutes, so a search-based dedup files a second issue on the next run.
n=$(gh issue list --state open --limit 200 --json number,title \
--jq "map(select(.title == \"$TITLE\")) | .[0].number // empty")
n=$(bash scripts/watch/find-open-issue.sh "$TITLE")
# A run that could not do its job must not DELETE the "last fully successful" date —
# that date is the only thing separating "failed once this morning" from "has been dead
# for six weeks". Stamp it on success, carry it forward on failure (pin-watch pattern).
Expand Down Expand Up @@ -346,7 +345,7 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
version: "0.12.13"
checksum: 745765a3b6e360ad76743599ae5c42e9278c7edf8bbff9fc76d05bf2623a04dd
Expand Down Expand Up @@ -390,7 +389,7 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
version: "0.12.13"
checksum: 745765a3b6e360ad76743599ae5c42e9278c7edf8bbff9fc76d05bf2623a04dd
Expand Down Expand Up @@ -430,7 +429,7 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
- uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
with:
version: "0.12.13"
checksum: 745765a3b6e360ad76743599ae5c42e9278c7edf8bbff9fc76d05bf2623a04dd
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pin-watch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ jobs:
Review the component upgrade issues and newer Tari prereleases before changing pins.
BODY
)
n=$(gh issue list --state open --limit 200 --json number,title \
--jq "map(select(.title == \"$TITLE\")) | .[0].number // empty")
n=$(bash scripts/watch/find-open-issue.sh "$TITLE")
if [ "$RC" != "0" ] && [ -n "$n" ]; then
prev=$(gh issue view "$n" --json body --jq .body | grep -a "^_Last fully successful check:" || true)
if [ -n "$prev" ]; then
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scheduled-run-watch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ jobs:
body=$(cat report.md)
# Exact title match over the open list, NOT `--search`: the search index lags issue
# creation by minutes, so a search-based dedup files a second issue on the next run.
n=$(gh issue list --state open --limit 200 --json number,title \
--jq "map(select(.title == \"$TITLE\")) | .[0].number // empty")
n=$(bash scripts/watch/find-open-issue.sh "$TITLE")
# A run that could not do its job must not DELETE the "last fully successful" date —
# that date is the only thing separating "failed once this morning" from "has been dead
# for six weeks". Stamp it on success, carry it forward on failure (pin-watch pattern).
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ jobs:
bash tests/stack/standalone/test_tor_bootstrap_recovery.sh
bash tests/stack/standalone/test_tor_heal_outage_recovery.sh
bash tests/stack/standalone/test_tor_lifecycle_receipts.sh
bash tests/stack/standalone/test_tor_unsaturated_reset.sh
bash tests/stack/standalone/test_tor_reset.sh
- name: Run onion runtime convergence contract
run: bash tests/stack/standalone/test_onion_runtime.sh
- name: Prove the interrupted-build diagnostic fails on RC3
Expand Down Expand Up @@ -203,6 +205,8 @@ jobs:
run: python3 tests/stack/standalone/test_clearnet_attestation.py
- name: Run stratum port preflight contract
run: python3 tests/stack/standalone/test_stratum_port.py
- name: Run Quadlet image provenance contract
run: python3 tests/stack/standalone/test_quadlet_provenance.py
- name: Test-inventory drift check
run: bash tests/inventory.sh > /dev/null
- name: Run integration harness self-test
Expand Down
112 changes: 112 additions & 0 deletions .github/workflows/tor-bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Tor pin bump

on:
schedule:
- cron: "17 5 * * *"
workflow_dispatch:

permissions:
contents: read

jobs:
bump:
name: Open a PR when Alpine carries a newer tor
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
ref: develop
persist-credentials: false
- name: Detect a newer tor in the Alpine repository
id: detect
run: bash scripts/watch/tor-bump.sh detect >>"$GITHUB_OUTPUT"
- name: Push the bump and open its PR
if: steps.detect.outputs.stale == 'true'
env:
GH_TOKEN: ${{ github.token }}
CURRENT: ${{ steps.detect.outputs.current }}
LATEST: ${{ steps.detect.outputs.latest }}
BRANCH: ${{ steps.detect.outputs.branch }}
run: |
set -Eeuo pipefail
branch="bot/tor-${LATEST}"
state="$(gh pr list --state all --head "$branch" --json state \
--jq 'map(.state) | if index("OPEN") then "OPEN" elif length > 0 then .[0] else "none" end')"
if [ "$state" = OPEN ]; then
echo "PR for ${LATEST} is already open"
exit 0
fi
if [ "$state" != none ]; then
echo "PR for ${LATEST} is ${state}; not reopening it"
exit 0
fi
pre=no
if git ls-remote --exit-code --heads origin "$branch" >/dev/null 2>&1; then
pre=yes
git fetch origin "$branch"
git checkout -B "$branch" FETCH_HEAD
else
git checkout -B "$branch"
fi
bash scripts/watch/tor-bump.sh apply "$LATEST"
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add build/tor/Dockerfile
committed=no
if ! git diff --cached --quiet; then
git commit -m "build/tor: bump the Tor pin to ${LATEST}"
committed=yes
fi
if [ "$pre" = no ] && [ "$committed" = no ]; then
echo "the pin or the index moved during this run; nothing to propose"
exit 0
fi
gh auth setup-git
if [ "$committed" = yes ]; then
git push origin "$branch"
fi
cat >pr-body.md <<EOF
## What's the problem

Alpine v${BRANCH} now carries tor ${LATEST}; \`build/tor/Dockerfile\` pins ${CURRENT}. When Alpine drops the pinned package the image build fails loudly (#4125), so the pin has to move.

## How I fixed it

Automated bump of \`ARG TOR_VERSION\` only, opened by the daily watcher from #4158 (\`.github/workflows/tor-bump.yml\` running \`scripts/watch/tor-bump.sh\`).

## Here is the proof

Pending: the \`tier4-kvm\` \`tor-heal\` phase must be green at this head before merge, as \`docs/dev/releasing.md\` requires for a Tor pin bump — it is the live proof of Tor's state-file behaviour. Tiers 1 to 3 run from the first push to this branch; a PR opened with the Actions token triggers no \`pull_request\` checks of its own.
EOF
gh pr create --base develop --head "$branch" --label dependencies \
--title "build/tor: bump the Tor pin to ${LATEST}" --body-file pr-body.md
- name: Close bump PRs this run supersedes
env:
GH_TOKEN: ${{ github.token }}
STALE: ${{ steps.detect.outputs.stale }}
LATEST: ${{ steps.detect.outputs.latest }}
run: |
set -Eeuo pipefail
want=""
if [ "$STALE" = true ]; then
want="bot/tor-${LATEST}"
fi
rows="$(gh pr list --state open --limit 200 --json number,headRefName,author |
bash scripts/watch/tor-bump.sh superseded "$want")"
keep="$(printf '%s\n' "$rows" | awk -F'\t' '$3 == "keep" { print $2; exit }')"
if [ -n "$keep" ]; then
reason="Superseded by ${keep}, which carries the Alpine tor this run considers newest (#4158)."
elif [ "$STALE" = true ]; then
reason="The daily tor bump run wants ${LATEST} and has no open PR for it (a closed one is taken as declined), so this bump PR no longer tracks Alpine (#4158)."
else
reason="The pin already matches what Alpine carries; this bump PR is no longer needed (#4158)."
fi
while IFS=$'\t' read -r number _head flag; do
if [ "$flag" = close ]; then
gh pr close "$number" --comment "$reason"
fi
done <<< "$rows"
3 changes: 1 addition & 2 deletions .github/workflows/trivyignore-watch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ jobs:
# Exact title match over the open list, NOT `--search`: the search index lags issue
# creation by minutes, so a search-based dedup files a second issue on the very next
# run and then keeps both stale.
n=$(gh issue list --state open --limit 200 --json number,title \
--jq "map(select(.title == \"$TITLE\")) | .[0].number // empty")
n=$(bash scripts/watch/find-open-issue.sh "$TITLE")
if [ "$RC" = "0" ]; then
body="$body"$'\n\n'"_Last fully successful check: $(date -u +%F)_"
elif [ -n "$n" ]; then
Expand Down
Loading
Loading