Skip to content

feat(roadmap): check the repository webhook on onboarding - #5706

Merged
dan-petty merged 1 commit into
mainfrom
feat/3772-check-the-repository-webhook-on-onboarding
Nov 14, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/3772-check-the-repository-webhook-on-onboarding

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The Service runs a repository's scoped update at once when a webhook arrives. Onboarding had no row for the webhook, so a repository could be onboarded with no hook, or with a wrong URL, content type or event set, and nobody saw it.

The command now checks a seventh row, read-only: it reads GET repos/<owner>/<name>/hooks and compares each hook with the new service.webhook_url setting, the json content type and CONST_ROADMAP_WEBHOOK_EVENTS. It reports present, missing, wrong with the fields, or not readable as <login>, and a missing or wrong row prints the person's step with the secret command and no secret. docs/roadmap/onboard.md describes the row, and a test holds the step and the events of docs/CLUSTER.md step 8 together.

Closes #3772

Change: openspec/changes/archive/2026-11-14-3772-check-the-repository-webhook-on-onboarding/

@dan-petty dan-petty added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 14, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 14, 2026 16:45
@dan-petty
dan-petty enabled auto-merge (squash) November 14, 2026 17:21
The Service runs a repository's scoped update at once when a webhook
arrives. Onboarding had no row for the webhook, so a repository could be
onboarded with no hook, or with a wrong URL, content type or event set,
and nobody saw it.

The command now checks a seventh row, read-only: it reads `GET
repos/<owner>/<name>/hooks` and compares each hook with the new
`service.webhook_url` setting, the `json` content type and
`CONST_ROADMAP_WEBHOOK_EVENTS`. It reports `present`, `missing`, `wrong`
with the fields, or `not readable as <login>`, and a missing or wrong
row prints the person's step with the secret command and no secret.
`docs/roadmap/onboard.md` describes the row, and a test holds the step
and the events of `docs/CLUSTER.md` step 8 together.

Closes #3772

Change: `openspec/changes/archive/2026-11-14-3772-check-the-repository-webhook-on-onboarding/`
@dan-petty
dan-petty force-pushed the feat/3772-check-the-repository-webhook-on-onboarding branch from 8e0a2f8 to 2e18969 Compare November 14, 2026 17:58
@dan-petty
dan-petty merged commit eddffb1 into main Nov 14, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3772-check-the-repository-webhook-on-onboarding branch November 14, 2026 18:07
dan-petty pushed a commit that referenced this pull request Nov 14, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.141.0](v0.140.0...v0.141.0)
(2026-11-14)


### Features

* **roadmap:** check the repository webhook on onboarding
([#5706](#5706))
([eddffb1](eddffb1))


### Bug Fixes

* **ci:** Accept a repaired base test in fail-to-pass
([#5715](#5715))
([a0c2343](a0c2343))
* **monitoring:** use custom provider for grafana-llm-app litellm
gateway ([#5718](#5718))
([e71bc5f](e71bc5f))
* **roadmap:** Set the runner memory limit in the template
([#5708](#5708))
([2f657c5](2f657c5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): onboard checks the webhook of a repository

1 participant