Skip to content

Commit 03fd6bd

Browse files
anakrishCopilot
andcommitted
Run audits 3x/week for monthly coverage; add freshness note
Schedule Mon/Wed/Fri rotation using day-of-year mod 10 to select preset. Full codebase audit coverage every ~3.5 weeks. Knowledge freshness is already tracked by copilot-config-validation.yml which checks 8 knowledge↔source pairs weekly and warns on staleness. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9e7c6a1 commit 03fd6bd

2 files changed

Lines changed: 39 additions & 7 deletions

File tree

.github/workflows/#miri.yml#

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2name: miri
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Run at 6:30 AM UTC every Wednesday
7+
- cron: "30 6 * * 3"
8+
9+
jobs:
10+
miri-test:
11+
name: miri (nightly)
12+
runs-on: ubuntu-latest
13+
env:
14+
MIRIFLAGS: "-Zmiri-disable-isolation"
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v6
18+
- uses: ./.github/actions/toolchains/rust
19+
with:
20+
toolchain: nightly
21+
components: miri rust-src
22+
- name: Set up Miri
23+
run: cargo miri setup
24+
- name: Run Miri tests
25+
run: cargo miri test -p regorus
26+
- name: Run Miri ACI tests
27+
run: cargo miri test -p regorus --test aci
28+
- name: Run Miri kata tests
29+
run: cargo miri test -p regorus --test kata

.github/workflows/codebase-audit.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@ on:
4141
- 'test-gaps'
4242
- 'api-ergonomics'
4343

44-
# Weekly rotation: one preset per week, cycling through all 10.
45-
# GitHub week numbers mod 10 select which preset runs.
44+
# Runs Mon/Wed/Fri, rotating through all 10 presets.
45+
# Full codebase coverage every ~3.5 weeks.
4646
schedule:
47-
- cron: '0 8 * * 1' # Every Monday at 8:00 UTC
47+
- cron: '0 8 * * 1' # Monday at 8:00 UTC
48+
- cron: '0 8 * * 3' # Wednesday at 8:00 UTC
49+
- cron: '0 8 * * 5' # Friday at 8:00 UTC
4850

4951
concurrency:
5052
group: codebase-audit-${{ github.event.inputs.preset || 'scheduled' }}
@@ -70,7 +72,8 @@ jobs:
7072
TOPIC="${{ github.event.inputs.topic }}"
7173
PERSPECTIVES="${{ github.event.inputs.perspectives }}"
7274
73-
# For scheduled runs, rotate through presets by week number
75+
# For scheduled runs, rotate through presets by day-of-year.
76+
# With 3 runs/week and 10 presets, full coverage in ~3.5 weeks.
7477
if [ "${{ github.event_name }}" = "schedule" ]; then
7578
PRESETS=(
7679
panic-safety
@@ -84,10 +87,10 @@ jobs:
8487
test-gaps
8588
api-ergonomics
8689
)
87-
WEEK=$(date +%V)
88-
INDEX=$((10#$WEEK % ${#PRESETS[@]}))
90+
DAY_OF_YEAR=$(date +%j)
91+
INDEX=$((10#$DAY_OF_YEAR % ${#PRESETS[@]}))
8992
PRESET="${PRESETS[$INDEX]}"
90-
echo "Scheduled run: week ${WEEK} → preset '${PRESET}'"
93+
echo "Scheduled run: day ${DAY_OF_YEAR} → preset '${PRESET}'"
9194
fi
9295
9396
# Resolve preset to topic + perspectives

0 commit comments

Comments
 (0)