Infrastructure: stop the queued bot cycle, one source check at a time, track site/ (#27)
CI / test (pull_request) Successful in 39s

- bot-cycle.yml: no schedule. It needs a runner on the bot's machine that no one has added, so every 4 hours
  a run queued forever. The bot's data already arrives through the daily source check (it reads
  DragonKind/DragonKind) and the model goes back through push-policy. Still runnable by hand.
- update-sources.yml: a concurrency group, so two dispatches never build and push at once.
- .gitignore: drop `/site` (a Python template's mkdocs line). site/ is the Atlas page; new files there were
  silently ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
This commit is contained in:
2026-11-19 15:16:59 +00:00
co-authored by Claude Opus 5.5
parent d0141f2d9c
commit 5f080e0a82
3 changed files with 9 additions and 4 deletions
+4 -2
View File
@@ -10,9 +10,11 @@
# DK_ACCOUNT_SALT the salt account names are hashed with (the same one every time) # DK_ACCOUNT_SALT the salt account names are hashed with (the same one every time)
# ATLAS_BOT_TOKEN as in update-sources.yml # ATLAS_BOT_TOKEN as in update-sources.yml
name: Bot cycle name: Bot cycle
# Not scheduled: no runner has the `bot-host` label yet (issue #27), and the bot's data already arrives through the
# daily source check. Put the schedule back once Ken adds a runner on the bot's machine:
# schedule:
# - cron: "41 */4 * * *"
on: on:
schedule:
- cron: "41 */4 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
cycle: cycle:
+4
View File
@@ -16,6 +16,10 @@ on:
schedule: schedule:
- cron: "23 10 * * *" # daily - cron: "23 10 * * *" # daily
workflow_dispatch: workflow_dispatch:
# one check at a time: a second dispatch waits instead of building and pushing alongside the first
concurrency:
group: update-sources
cancel-in-progress: false
jobs: jobs:
check: check:
runs-on: ubuntu-latest # a runner label on the server (act_runner) runs-on: ubuntu-latest # a runner label on the server (act_runner)
+1 -2
View File
@@ -166,8 +166,7 @@ venv.bak/
# Rope project settings # Rope project settings
.ropeproject .ropeproject
# mkdocs/Zensical documentation # (mkdocs' /site is not ignored: site/ here is the Atlas page)
/site
# mypy # mypy
.mypy_cache/ .mypy_cache/