Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec515d33ea | ||
|
|
7ffec54cab | ||
|
|
d1f5b8fd72
|
@@ -0,0 +1,37 @@
|
||||
# GENERATED by script/coord-init.sh — DO NOT EDIT BY HAND (machine-table-v1).
|
||||
# Regenerate: bash script/coord-init.sh --table <machine-table.tsv> --out <dir>
|
||||
# Cross-machine coordination wake channel — parameterized rendering of the
|
||||
# hand-written #6590 wake.yml (semantic parity: machine:<X> dual-shape label
|
||||
# guard + status= comment guard + from:<X>, per-machine runner label,
|
||||
# concurrency group with cancel-in-progress, constant local payload file).
|
||||
# Iron invariants (wiki rules/cross-machine-agent-ops §0): events contribute
|
||||
# TIMING only, never content — the payload is a constant file local to the
|
||||
# target machine; the workflow references no Gitea secret.
|
||||
name: wake
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
wake:
|
||||
if: |
|
||||
(github.event_name == 'issues' &&
|
||||
((github.event.label != null && github.event.label.name == 'machine:wf-mac01') ||
|
||||
(github.event.changes != null && contains(github.event.changes.added_labels.*.name, 'machine:wf-mac01')))) ||
|
||||
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, 'status=') && contains(github.event.issue.labels.*.name, 'from:wf-mac01'))
|
||||
runs-on: [self-hosted, wf-mac01]
|
||||
concurrency:
|
||||
group: wake-wf-mac01
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- name: wake local dispatcher via prompt_async (constant local payload)
|
||||
# shell: default (POSIX runner)
|
||||
run: |
|
||||
curl -sS --fail-with-body --max-time 30 -X POST http://127.0.0.1:4097/prompt_async \
|
||||
-H 'content-type: application/json' \
|
||||
-d @/Users/zhusihong/workspaces/Octopus/octopus-coord-n06-external-verify/.n06-tmp/wf-4097/wake-payload-wf-mac01.json
|
||||
Reference in New Issue
Block a user