Repository navigation
docs: creation runbook for the vigos-devkit-upgrade GitHub App - #1742
Merged
Merged
Conversation
4 tasks
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.
Description
Adds the missing creation runbook for the
vigos-devkit-upgradeGitHub App —the machine identity behind the scaffolded self-polling
devkit-upgrade.ymlworkflow — and points that workflow's grant header at the new runbook instead
of restating the grant inline.
Type of Change
docs-- Documentation onlyModifiers
!) -- This change breaks backward compatibilityChanges Made
docs/runbooks/devkit-upgrade-app.md(docs/runbooks/did not existyet), mirroring the structure of
vig-os/org-config'sdocs/runbooks/github-app.md: Purpose, Prerequisites, Create the App,Permissions, Webhooks, Visibility, Installation, Bootstrap secrets, Key
rotation, What this App must NOT be given.
assets/workspace/.github/workflows/devkit-upgrade.yml's grant header:removed the restated permission list and replaced the closing
App provisioning + rotation: https://github.com/vig-os/devkit/issues/1302line with a link to the new runbook (absolute URL, since the runbook itself
is not shipped into consumer repos —
test_scaffold_has_no_unshipped_path_referencesrequires that).
CHANGELOG.md## Unreleased→### Addedentry (and itsassets/workspace/.devcontainer/CHANGELOG.mdmirror, regenerated by thesync-manifestpre-commit hook).This is a normal-train change, not release-neutral. It edits
assets/workspace/..., which moves the image derivation path, so it cannotride the release-neutral lane.
Acceptance criteria (issue #1739)
vigos-devkit-upgradeApp exists in this repo andstates the grant, the visibility setting, the install targets and the
key-rotation procedure —
docs/runbooks/devkit-upgrade-app.md,Permissions / Visibility / Installation / Key rotation sections.
vig-os/org-configrather than re-deciding it, and says which repo isthe source of truth for the credential lists — the runbook's Visibility
section links
vig-os/org-config#271and theAPP VISIBILITY DECISIONjsonnet comment; Bootstrap secrets states
vig-os/org-config'sotterdog/vig-os/vig-os.jsonnetis authoritative for the secret lists.GET /app/installationsinventory sweep — step6 of Key rotation, called out as a required step (the only
compensating control for a public App's install page).
devkit-upgrade.ymlheader links to the runbook — seethe header diff above.
Factual gaps flagged instead of guessed
The runbook calls these out inline as "verify against the live App" rather
than inventing values, since no source read for this issue states them:
URL.
repositories") on
vig-osand onexo-pet.Changelog Entry
Testing
uv run pytest tests/test_workflow_devkit_upgrade.py -v --tb=short— 32 passeduv run pytest tests -q --tb=short --deselect tests/test_image.py --deselect tests/test_integration.py— 1307 passed, 1 skipped, 193 deselectedprek run --all-files— green (exit 0)Manual Testing Details
N/A.
Checklist
docs/templates/, then runjust docs) — n/a, this adds a runbook underdocs/runbooks/, which is not part of the generated-docs pipeline (docs/generate.pyonly watchesdocs/templates/*.j2,docs/narrative/*.md, etc.)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)test_scaffold_has_no_unshipped_path_referencesandtest_workflow_model.pyscaffold tests already cover the workflow header changeAdditional Notes
Not urgent (issue is
priority:low,effort:small). No App facts wereinvented — every claim in the runbook traces to the workflow header, the
vig-os/org-configjsonnet'sAPP VISIBILITY DECISIONcomment, that repo'sown
docs/runbooks/github-app.md, or issue #1739 itself.Refs: #1739