semantics.md: GitHub App REGISTRATION is API-doable at 4.1.2 — say so (#74 leftover) #84
Labels
No labels
blocked
blocker:ci-red
blocker:conflict
blocker:drill-pending
blocker:unrequested
bug
claimed
documentation
enhancement
epic
merge-next
needs-triage
ready
release
scope:apply
scope:capture
scope:coolify-api
scope:fleet
scope:manifest
scope:secrets
stale
state:addressing
state:bots-reviewing
state:building
state:needs-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heavy-duty/cast#84
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The last unticked box from #74, left behind when #82 landed. #82 fixed the association claim (which App clones a repo — now resolved via
source_id↔GET /github-apps); it did not touch whatsemantics.mdsays about registration.Per the #72 audit,
POST /github-apps+POST /security/keysexist at v4.1.2 (routes/api.php:131-136). They register an already-created App — you supplyapp_id/installation_id/ the secrets / the private key. What stays manual is the GitHub-side App Manifest flow (creating the App on GitHub in the first place), which is already tracked in #7/#5, and #7's manifest-flow idea remains the real fix.So the honest split — currently unstated — is:
CANNOT_RESTOREalready says this and stays correct)What to do
semantics.md'sgithub_appssection that registration of an already-created App is API-doable at 4.1.2, and name the two routesWhile in there — known upstream bugs worth recording next to it
From the #72 audit, both relevant if cast ever drives these routes:
PATCH /github-apps/{id}rejects a CUID2private_key_uuid(a contributor has a draft PR)And on
next(v4.2, tracked in #77):api_urlbecomes optional (derived fromhtml_url), and the secrets become readable with aread:sensitivetoken — which is the same token-abilities change #77 already tracks forcustom_labels/compose reads.Docs-only; no behavior change. Small enough to ride along with any other
semantics.mdtouch.