Skip to content

ci: own-repository workflows only, batched release builds - #55

Merged
Elektr0Vodka merged 2 commits into
mainfrom
fix/main-actions-own-repo
Dec 1, 2026
Merged

Elektr0Vodka merged 2 commits into
mainfrom
fix/main-actions-own-repo

Conversation

@Elektr0Vodka

Copy link
Copy Markdown

Keeps every workflow inside this repository and cuts the number of jobs the release button starts.

Own repository only

  • build-observer-firmwares.yml: removed the agessaman/flasher.meshcore.io checkout, its FLASHER_DISPATCH_TOKEN and the config/doc push.
  • Deleted github-pages.yml (published to docs.meshcore.io) and stale-bot.yml (only runs on meshcore-dev/MeshCore).
  • The DMC and MQTT builders no longer start on a tag push. The Run workflow button still works.

DMC Firmware Release

  • Up to 12 boards share a runner and one toolchain restore. A repeater run goes from 109 jobs and 107 toolchain downloads to 19 and 11; all six stable sets from 422 jobs to 76.
  • One release run at a time (queue: max); further runs wait instead of being cancelled.
  • Write access only for publish and the new guard job. guard holds the existing-tag check, because drafts are not listed for a read-only token, and runs no repository code.
  • A board that fails is skipped and reported; the rest of its batch is built and published. A run cancelled by hand publishes nothing.

Why: Actions was switched off for this repository after the two days with the most release jobs (532 on 19 Oct, 1055 on 23 Nov). That this is a usage restriction is likely but not confirmed.

Testing: the planning, build-loop and collect scripts were run locally from the YAML against the real board lists, with a stub instead of the compiler (including failing boards). Not yet run on GitHub: use companion-observer on dev first (5 boards; it does replace that dev release). actionlint 1.7.7 reports queue as unknown; it is a documented GitHub setting newer than that release.

Drop everything that targets a repository or domain that is not ours:
- build-observer-firmwares: the agessaman/flasher.meshcore.io checkout, its
  FLASHER_DISPATCH_TOKEN and the config/doc push
- github-pages: published the upstream docs with the docs.meshcore.io CNAME
- stale-bot: only ever ran on meshcore-dev/MeshCore

The DMC and MQTT builders no longer start on a tag push; they stay available
from the Run workflow button.
Actions was switched off for this repository after days with one runner per
board (532 jobs on 2026-10-19, 1055 on 2026-11-23).

- Up to 12 boards share a runner and one toolchain restore: a repeater run
  goes from 109 jobs and 107 toolchain downloads to 19 jobs and 11.
- A single concurrency group with queue: max, so firmware sets run one after
  another and none is dropped from the queue.
- The warm-up jobs only look the cache up instead of downloading it.
- Write access only for guard and publish. The existing-tag check moves to
  guard because drafts are not listed for a read-only token.
- A failing board is still skipped and reported; the rest of its batch is
  built and published. A run cancelled by hand publishes nothing.
@Elektr0Vodka
Elektr0Vodka merged commit 33ce987 into main Dec 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant