chore(deps): bump octocrab to 0.53.1#28
Open
mendral-app[bot] wants to merge 1 commit into
Open
Conversation
Upgrades octocrab from 0.49.5 to 0.53.1. None of the documented breaking changes (Either removal, PullRequest Option field changes, SimplePullRequest type, AutoMerge nullable fixes) affect our usage pattern which is limited to: Octocrab builder, installation auth, pulls().get_diff(), pr_commits(), list_reviews(), .reviews(), issues() API, search(), and generic .get().
Deploying pratrol with
|
| Latest commit: |
f5c8948
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://28062168.pratrol.pages.dev |
| Branch Preview URL: | https://mendral-deps-octocrab-0-53-1.pratrol.pages.dev |
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.
Packages bumped
Risk level: Risky — 4-minor bump on a pre-1.0 crate (each 0.x minor is semver-breaking).
Breaking changes in 0.50–0.53 (from release notes):
eitherdependency (0.50.0) — replaced with custom enum forpoll_once. We don't usepoll_onceorEither.Option<>from PullRequest fields (0.50.0) — fields likenode_idare now non-optional. We don't useoctocrab::models::pulls::PullRequestdirectly; we deserialize webhooks into custom DTOs.pulls().list()returnsSimplePullRequest(0.51.0) — type change on list results. We never callpulls().list().AutoMerge.once_cell::sync::Lazy→std::sync::LazyLock(0.53.1) — internal change.Our usage (limited surface):
Octocrab::builder()+.app()+.installation_and_token()pulls().get_diff(),.pr_commits(),.list_reviews(),.pull_number().reviews()issues().add_labels(),.get_label(),.create_label()search().issues_and_pull_requests().get::<T>(endpoint, params)Page<T>,ReviewAction,octocrab::Error(pattern-matched onError::GitHub { source, .. })What couldn't be verified:
octocrab::Errorenum variants changed signatures between 0.49 and 0.53.get_diff(),.pr_commits(),.list_reviews()return type changedPage<T>API remained stableSuggested manual checks:
Per-package changelog & impact
octocrab 0.49.5 → 0.53.1
0.50.0:
eithercrate dependency (custom enum replaces it)Option<>wrappers from PullRequest fields per GitHub API spec0.51.0:
pulls().list()now returnsSimplePullRequest(matches GitHub API response)0.52.0:
changesfield toPullRequestWebhookEventPayload0.53.0:
0.53.1:
once_cell::sync::Lazywithstd::sync::LazyLockImpact: Load-bearing crate for all GitHub API interactions (PR diffs, commits, reviews, labels, search). None of the 5 documented breaking changes touch our specific API surface, but undocumented changes to method signatures or error types could cause compilation failures. CI validates.
Files modified
Cargo.toml(version0.49.5→0.53.1)Cargo.lock.github/workflows/ci.yml(pin actions to SHA — required by new org policy)Skipped this ecosystem
Note
Created by Mendral. Tag @mendral-app with feedback or questions.