Skip to content

fix(repos): Guard the webhook row against the default URL - #7391

Merged
dan-petty merged 2 commits into
mainfrom
fix/7308-onboard-writes-no-webhook-from-a
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7308-onboard-writes-no-webhook-from-a

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Row 12 of devops repos onboard plans a webhook to the example host for each repository when service.webhook_url holds its default value, and a confirmed run would create that hook (#7308). The same row also patches a new secret onto a live hook from a run that never pushes the secret to the cluster, so the Service refuses each delivery until push-secrets and deploy-stack run. The owner kept row 12 out of the run with --only, and the command must be safe with no such option.

Closes #7308

Change: openspec/changes/archive/2026-11-27-7308-onboard-writes-no-webhook-from-a/

@devops-cli-service devops-cli-service Bot added type/bug Type bug: the code does not do what it must scope/repos The devops repos commands and worktrees labels Nov 27, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 7717212/18799 -
group 2 done 1 12009321/29336 pytest on base: tests/github/onboard/test_onboard_rows.py
group 3 done 1 3206332/5443 -
  • tools: run_command 108, edit_file 44, read_file 29
  • scoped check pre-push: passed, 4 s
  • scoped check static: passed, 25 s
  • scoped check tests: passed, 40 s
  • scoped check strength: passed, 0 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • group 3: skipped, group 3: kind other
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.commands.test_repos_onboard::test_a_default_webhook_url_is_a_person_step, tests.commands.test_repos_onboard::test_a_confirm_with_the_default_webhook_url_writes_no_hook.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.github.onboard.test_onboard_rows::test_a_secret_write_needs_the_service_row, tests.github.onboard.test_onboard_rows::test_a_no_deploy_run_writes_no_hook_secret, tests.github.onboard.test_onboard_rows::test_a_refused_service_row_writes_no_hook_secret, tests.github.onboard.test_onboard_rows::test_a_drifted_repository_gets_one_write_for_each_difference.
  • verify of group 3: uv run devops ci docs exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
\u2713 All documentation files are up to date.

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 27, 2026 05:58
@dan-petty
dan-petty merged commit 8a4f37c into main Nov 27, 2026
31 checks passed
@dan-petty
dan-petty deleted the fix/7308-onboard-writes-no-webhook-from-a branch November 27, 2026 12:01
dan-petty-release Bot added a commit that referenced this pull request Nov 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.224.2](v0.224.1...v0.224.2)
(2026-11-27)


### Bug Fixes

* **repos:** Guard the webhook row against the default URL
([#7391](#7391))
([8a4f37c](8a4f37c))

---
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/repos The devops repos commands and worktrees type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(repos): onboard writes no webhook from a default URL

1 participant