Repository navigation
Retire the unused Hetzner pool - #167
Merged
Merged
Conversation
Remove provider-only provisioning, bake, guard, agent, config and tests while retaining GCE/EC2 shared runtime and credentials. Keep pool-ensure as a no-op for existing callers. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
SSFSKIM
marked this pull request as ready for review
October 26, 2026 16:35
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposal — awaiting the owner's decision
Prepare the code retirement for #23. Do not merge this PR or perform the operational checklist until authorized. No cloud resources, repository secrets, release tags or deployed services/jobs have been changed.
The Hetzner config serves no repositories. GCE/EC2 already serve MAWS, manim-master and ci-kit-sandbox, while the old weekly bake still snapshots credentials and the ten-minute guard still runs.
Removed and retained
Caller compatibility
pool-ensureis a network- and credential-free no-op, still accepting the deprecatedhcloud-tokeninput without reading or forwarding it. Its output isresult=none. The launcher already observes GitHub's queue, so keeping provider discovery in this action would add a needless failure point.Audited the fetched default branches of MAWS (origin/master), manim-master, ci-kit-sandbox, cua, doperpowers and ci-kit:
gate.ymland sandboxmaws-probe.ymldirectly callpool-ensure@v1and passhcloud-token.gates.yml@v1withsecrets: inherit; the reusable workflow invokes its own checked-out action. ci-kit uses the workflow by local path.result. The reusable workflow no longer forwardsHCLOUD_TOKEN.v1was2b2c6bf2de120c40ca61f7691aaf9c9abdb0545cduring the audit. It already bundles an empty Hetzner repo list, returnsgcebefore requiring a token for current pool repos, and treats a missing main pool.json as empty. Merging this deletion does not break the old tag. Movingv1later publishes the no-op to callers; no tag was moved here.Validation
Local focused checks pass: 13/13 action/config tests and 42/42 shared ledger/container tests; shell syntax and git diff whitespace checks pass. The full suite belongs on GitHub Actions, not the MacBook; the initially requested local full run was discontinued without a complete verdict and is not claimed as passing. Committed-HEAD ci-gate is GREEN for
dd63b7fe44495cf1beaf29e746d24e5895734796: run 40345381032,PASS test 2m37s(fullnpm teston GitHub Actions).New regression tests failed before implementation on actual network requests and the retired config read, then passed after removal. They exercise the action with/without a legacy token while forbidding network access, and prove a fresh launcher reads only the GCE/EC2 configuration. Shared cloud runtime tests remain in the suite.
Post-merge checklist — not executed
ci-kit-bakeandci-kit-bake-check(both GCE and EC2 stages),ci-kit-launcher, andci-kit-webhookinssfskim-ci-kit/us-central1:gce/deploy.sh bake bake-check launcher webhook. Each has a separately deployed source bundle touched by this removal. Do not use the script's no-argument form, which also reconciles infrastructure/schedules/alerts. Redeploying jobs does not execute an image bake. Existing GCE/EC2 runner images are self-contained; rebuilding them is not needed for caller continuity.v1to the approved release commit to distribute the no-op/updated reusable workflow. This is publication, not a prerequisite for current callers to survive pool.json deletion. Caller cleanup can then remove their now-useless ensure steps/inputs.HCLOUD_TOKENrepository secret from MAWS, ci-kit and ci-kit-sandbox, once the retired workflows are gone. No corresponding secret exists in manim-master, cua or doperpowers. No other repository secret becomes unused: keep both repositories'CI_KIT_APP_ID/CI_KIT_APP_KEY, and MAWS's unrelated SSHMAWS_APP_DEPLOY_KEY.ci-kit=pool-imagelabels. Inventory any remaining ci-kit-owned pool/builder servers or firewall before deciding on their cleanup. The unrelated “session-mirror db” snapshot is not ours and must remain untouched. No Hetzner resource inventory or deletion was performed in this PR.Where the GitHub App private keys remain
There are two documented keys for
ci-kit-runners(App ID 5337915), not one Hetzner-only credential. Fingerprints below come from existing design records; secret values were not retrieved or freshly compared.CI_KIT_APP_KEY(withCI_KIT_APP_ID)pool-guard.yml→ec2/guard.mjs: mint a sandbox issues-read token for the independent EC2 guard's ledger reads. AWS access uses GitHub OIDC separately.CI_KIT_APP_KEY(withCI_KIT_APP_ID)maws-probe.ymlandmaws-gce-probe.ymlmint MAWS checkout tokens; dailytest-history.yml→history/collect.mjsreads MAWS Actions/Contents.ssfskim-ci-kit,ci-kit-app-keyandci-kit-app-id, enabled version 1ci-kit-bakeandci-kit-bake-check; operator toolsgce/tools/boot-sample.mjsandgce/tools/app-hook.mjs. Explicit secret-level access is granted to[email protected], also the bake/check identity; inherited owner/admin access may exist./etc/ci-kit/app.pem,/etc/ci-kit/app_id,/etc/ci-kit/hcloud_token. Those copies survive a source-code deletion until the snapshots are deleted; no live pool repo uses them.The recorded GitHub-secret/retired-image key is
SHA256:yj//oTVKm3OJamD12RO3JYnGFdQxzGoFYRmFkD90cYU=; the recorded Secret Manager key isSHA256:qQgu9FOJPM9maxPvDhd8nV+AyYS+tXW6+mp2RGiXvAg=. Revoking the first without replacing ci-kit and sandbox's secrets breaks their surviving consumers. Rotation is not mandated by this PR.If the owner chooses to rotate the GCP key, adding a Secret Manager version alone is insufficient: the launcher caches its PEM for process lifetime. Restart/redeploy it and verify a successful tick from the new process before revoking the old key. Fresh bake/check executions read latest; allow old-key executions to finish first. No image rebuild is needed solely for App-key rotation.
Read-only cloud metadata found no Secrets Manager secrets or SSM parameters in configured AWS account
290475840169, regionus-east-2; its only S3 bucket isci-kit-ec2-reports-290475840169, withreports/objects. Other enabled regions deny secret metadata through an organization SCP, so account-wide absence is not certified. No local PEM files, other cloud accounts/projects, secret values, App key-pair browser page or image contents were inspected. The GCP webhook secret is separate and is not an App private key.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)