Skip to content
Merged
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
41 changes: 41 additions & 0 deletions .github/workflows/queen-sim-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Actor simulation nightly (queen)
# The actor simulation gate (gHashTag/t27 specs/queen/simulation.t27) runs
# every night on the `queen` branch, where the Queen's actor runtime lives
# (gHashTag/trios#1873 and #1868, plan #1763, ledger #1729).
#
# WHY THIS FILE IS ON main. GitHub runs a `schedule` only from the default
# branch, and this repository's default branch is `main`, so a cron in
# queen's own .github/workflows/queen-actors-sim.yml would never fire. This
# workflow only dispatches that one on `queen` with `nightly: true`; the job,
# its steps and its failure report live on `queen` beside the code they test.
# A failed night fails that run, and the run comments on (or opens) the
# trios issue labelled sim-nightly with the seed and the first broken
# invariant.
#
# Anchor: phi^2 + phi^-2 = 3.

on:
schedule:
- cron: "17 2 * * *" # 02:17 UTC every night
workflow_dispatch: {}

permissions:
actions: write
contents: read

concurrency:
group: queen-sim-nightly
cancel-in-progress: false

jobs:
dispatch:
name: Dispatch the actor simulation on queen
runs-on: ubuntu-latest
steps:
- name: Dispatch queen-actors-sim.yml on queen
env:
GH_TOKEN: ${{ github.token }}
run: |
gh workflow run queen-actors-sim.yml --repo "$GITHUB_REPOSITORY" \
--ref queen -f nightly=true -f recreate=none
echo "Dispatched; the run is listed under Actions > Actor simulation (branch queen)."
Loading