Repository navigation
feat: add signed push webhooks and hook file metadata - #13
Merged
Merged
Conversation
Define versioned Buf push events with every new commit and its file changes. Deliver signed ProtoJSON after accepted ref updates and expose net file metadata to shell hooks. Assisted-by: GPT-6 via Codex Signed-off-by: Xe Iaso <xe@tigrisdata.com>
rbarabas
approved these changes
Sep 23, 2026
Load each repository's ProtoJSON settings from bucket state and expose raw settings queries through the Admin Authorizer operation on HTTP and SSH. Assisted-by: GPT-6 via Codex Signed-off-by: Xe Iaso <xe@tigrisdata.com>
Receive-pack now reports the ref updates it applied directly, so the before/after snapshot diff is dead code. Staticcheck failed CI on the unused snapshotRefs (U1000); diffRefs survived only through its test. Assisted-by: Claude Opus 5.5 via Claude Code Signed-off-by: Xe Iaso <xe@tigrisdata.com>
Xe
pushed a commit
that referenced
this pull request
Sep 23, 2026
# [1.7.0](v1.6.0...v1.7.0) (2026-09-23) ### Features * add signed push webhooks and hook file metadata ([#13](#13)) ([34e61cf](34e61cf)) Signed-off-by: Tigris Data <social@tigrisdata.com>
|
🎉 This PR is included in version 1.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Summary
.objgit/webhooks/<org>/<repo>/settings.json, with generated Go types and a raw JSON example.Authorizer'sAdminoperation.Details
Shell hooks receive net file changes, and packed-ref writes validate advertised old tips before reporting events. The default authorizer denies secret queries; an ACL-backed authorizer must explicitly grant
Admin, and webhook delivery remains best effort without a durable queue.Test plan
go build ./...npm run formatandbuf format --diff --exit-codego test ./...,buf lint, andbuf build