Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ name: Docker Container
# (RELEASE_PLZ_TOKEN) and a manual `git push --tags` also emits a normal `push`
# event, so tag pushes reliably reach this workflow. `on: release` is kept for
# backward compatibility should a PAT-published Release ever reappear.
# Group only PR runs together; production and release runs must not supersede one another.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

on:
push:
branches: [main]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/logship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/personal-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ on:
tags:
- '**[0-9]+.[0-9]+.[0-9]+*'

# Group only PR runs together; tag releases must not supersede one another.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
# Run 'dist plan' (or host) to determine what tasks we need to do
plan:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renewal-scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
# `build` job.

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/write-probe-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ lto = "thin"
[workspace.metadata.dist]
# CI backends to support
ci = "github"
# Preserve the custom PR-only concurrency in release.yml during normal generation.
# Dist upgrades require a manual workflow update; explicit CI regeneration must reapply the block.
allow-dirty = ["ci"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# The installers to generate for each app
Expand Down
9 changes: 9 additions & 0 deletions agent.changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
Track changes to agent-facing development guidance for TinyCloud Node. Add a concise entry when
`agent.dev.md` or related agent workflow expectations change.

## 2026-11-20

- CI: Docker Container and Release cancel superseded PR runs. All PR workflows
that also handle non-PR events now isolate those events by run ID, preserving
pending as well as running main, tag, release and manual runs.
- Cargo-dist leaves the customized Release workflow intact (`allow-dirty = ["ci"]`).
Dist upgrades now require a manual release.yml update; explicit CI regeneration
must reapply its PR-only concurrency block.

## 2026-10-17

- Added the TC-887 native at-rest harness (`scripts/at-rest-harness/`): a real node on native
Expand Down
Loading