From 4b735e51ab47b6056ecd93eda2c8a60bd237fffd Mon Sep 17 00:00:00 2001 From: Jason Huebert Date: Fri, 9 Oct 2026 13:08:55 -0500 Subject: [PATCH] ci: rename filter-build.yml to filter-release.yml The workflow no longer builds anything; the file name was the last stale artifact of the rename. Updates the two reusable-workflow calls in sync-upstream.yml, the concurrency group id, and the references in AGENTS.md and the local build script's comments. --- .../workflows/{filter-build.yml => filter-release.yml} | 2 +- .github/workflows/sync-upstream.yml | 4 ++-- AGENTS.md | 8 ++++---- scripts/local-release-build.sh | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) rename .github/workflows/{filter-build.yml => filter-release.yml} (99%) diff --git a/.github/workflows/filter-build.yml b/.github/workflows/filter-release.yml similarity index 99% rename from .github/workflows/filter-build.yml rename to .github/workflows/filter-release.yml index e2d4c717..eac1fd8a 100644 --- a/.github/workflows/filter-build.yml +++ b/.github/workflows/filter-release.yml @@ -43,7 +43,7 @@ permissions: contents: read concurrency: - group: filter-build-${{ inputs.channel }} + group: filter-release-${{ inputs.channel }} cancel-in-progress: false jobs: diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index ae9f3a85..b65d4ede 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -286,7 +286,7 @@ jobs: name: Create release (dev) needs: sync if: needs.sync.outputs.dev_changed == 'true' || inputs.force_build == true - uses: ./.github/workflows/filter-build.yml + uses: ./.github/workflows/filter-release.yml with: channel: dev branch: repeater-filter @@ -298,7 +298,7 @@ jobs: # stable is released only when it was deliberately promoted; it never needs # force_build because the promotion step is the only way it gets triggered if: needs.sync.outputs.stable_changed == 'true' - uses: ./.github/workflows/filter-build.yml + uses: ./.github/workflows/filter-release.yml with: channel: stable branch: repeater-filter-stable diff --git a/AGENTS.md b/AGENTS.md index a71c195b..4bdbde5a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ This is my personal fork of `meshcore-dev/MeshCore`. The fork-specific feature is the **repeater packet filter** (`filter ...` CLI, drop/forward rules, advert rate limiter) carried on the `repeater-filter*` branches, plus firmware release -channels released by `.github/workflows/filter-build.yml` (tag + release +channels released by `.github/workflows/filter-release.yml` (tag + release object; firmware assets are built locally). Remotes: `origin` = upstream `meshcore-dev/MeshCore` (never push there), @@ -99,7 +99,7 @@ family** before calling persistence work done: `Xiao_S3_WIO_repeater`, `RAK_4631_repeater` (nRF52), `PicoW_repeater`, `wio-e5_repeater` — host-native tests cannot catch a platform-specific API difference, and one did (the nRF52 file type has no default constructor). -`.github/workflows/filter-build.yml` cuts release channels (dev → +`.github/workflows/filter-release.yml` cuts release channels (dev → `repeater-filter`, stable → `repeater-filter-stable`) — tag + release object only; the firmware assets are built locally with `scripts/local-release-build.sh` and uploaded to the release with `gh` @@ -129,7 +129,7 @@ Fork-owned file set (free to edit): - `examples/simple_repeater/CliScript.h/.cpp` - `examples/simple_repeater/AdvertRateLimiter.h/.cpp`, `PersistUtil.h` - `test/test_packet_filter/`, `test/test_battery_gate/` -- `FILTER.md`, `FLEET.md`, `.github/workflows/filter-build.yml`, `sync-upstream.yml` +- `FILTER.md`, `FLEET.md`, `.github/workflows/filter-release.yml`, `sync-upstream.yml` Hook lines in upstream files (`MyMesh.h/.cpp`, `main.cpp`) must stay **minimal** — a reviewer should see a handful of lines, not a fork interleaved into @@ -262,7 +262,7 @@ FILTER.md: `PLATFORMIO_BUILD_FLAGS=-fstack-usage pio run -e ` before committing large local arrays; the stack gate in `scripts/local-release-build.sh` fails any release target whose `src/`/`examples/` code holds a frame - >= 2 KB (formerly a filter-build.yml CI check) — keep new frames well + >= 2 KB (formerly a filter-release.yml CI check) — keep new frames well under it. - Pure refactors keep both suites green **unchanged** — the suites (295 filter, 82 fleet, 44 battery) are the safety net that proves no behavior slipped. diff --git a/scripts/local-release-build.sh b/scripts/local-release-build.sh index 58286685..c7147626 100755 --- a/scripts/local-release-build.sh +++ b/scripts/local-release-build.sh @@ -36,7 +36,7 @@ # pool of gh release upload --clobber runs beside the build pool). # # Environment parity with the releases CI cuts: FIRMWARE_VERSION = + "-filter" (exactly what filter-build.yml's version +# the "filter-" prefix> + "-filter" (exactly what filter-release.yml's version # job derived), PLATFORMIO_BUILD_FLAGS starts with -fstack-usage, and build.sh's # "-" suffix comes from the release's pinned commit. Artifacts land # in //out/ as well as on the release, so a failed upload never @@ -66,7 +66,7 @@ usage() { sed -n '2,/^set -euo/p' "${BASH_SOURCE[0]}" | sed '$d' | sed 's/^# \{0 # environment already prepared by the orchestrator (venv PATH). Target listing, # platform mapping and building share one code path. -# repeater targets of the checked-out tree (the selection filter-build.yml +# repeater targets of the checked-out tree (the selection filter-release.yml # used to make before firmware builds moved local) if [[ ${1:-} == __list ]]; then cd "$WORKER_DIR" @@ -122,7 +122,7 @@ if [[ ${1:-} == __worker ]]; then pio run -e "$target" 1>&2 - # stack usage gate, moved here from filter-build.yml's per-target CI job: + # stack usage gate, moved here from filter-release.yml's per-target CI job: # one big stack scratch array in boot- or loop-path code brick-reboots every # repeater flashed with the release (2026-10: an 8.5 KB scratch in # FilterRules::load overflowed the 4 KB nRF52 / 8 KB ESP32 loop task stacks