mirror of
https://github.com/jhuebert/MeshCore.git
synced 2026-12-03 10:54:13 +00:00
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.
This commit is contained in:
1 parent
309cb5ac23
commit
4b735e51ab
4 files changed
+10
-10
No files matched your search
@@ -43,7 +43,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: filter-build-${{ inputs.channel }}
|
||||
group: filter-release-${{ inputs.channel }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
@@ -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
|
||||
@@ -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 <env>` 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.
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
# pool of gh release upload --clobber runs beside the build pool).
|
||||
#
|
||||
# Environment parity with the releases CI cuts: FIRMWARE_VERSION = <tag minus
|
||||
# the "filter-" prefix> + "-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
|
||||
# "-<short-sha>" suffix comes from the release's pinned commit. Artifacts land
|
||||
# in <build-dir>/<tag>/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
|
||||
|
||||
Reference in new issue
Block a user