Skip to content

Commit

Permalink
chetter-app-0.1.0
Browse files Browse the repository at this point in the history
The changes in this release are all to support deleting 50+ references
when handling a "Closed PR" webhook event.

- Change reference namespace from ref/chetter/ to refs/heads/.  This was
  required in order to make use of GraphQL so that we can delete a large
  number of references in a single API call.  See:
  https://github.com/orgs/community/discussions/83980
- Drop RepositoryController::delete_ref in favor of
  RepositoryController::delete_refs.
- When handling a PR being closed, delete references in a background
  job.  Given how long it takes GitHub's API to delete a reference, it's
  not tenable to do this in the foreground where GitHub's webhook sender
  will just hang up.
  • Loading branch information
jsbronder committed Feb 6, 2024
1 parent 2dbbefe commit 08134c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chetter-app"
version = "0.0.3"
version = "0.1.0"
edition = "2021"

[dependencies]
Expand Down

0 comments on commit 08134c0

Please sign in to comment.