Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto_squash_enabled Issue/Pull Error #647

Closed
ubedan opened this issue Jun 5, 2024 · 1 comment
Closed

auto_squash_enabled Issue/Pull Error #647

ubedan opened this issue Jun 5, 2024 · 1 comment

Comments

@ubedan
Copy link
Contributor

ubedan commented Jun 5, 2024

Getting an error with a recent version of octocrab (0.38) when trying to download certain pull requests.

[2024-06-05T07:26:50Z ERROR github_metadata_backup] Could not get pull-request #4298: Serde Error: unknown variant auto_squash_enabled, expected one of added_to_project, assigned, auto_merge_disabled, auto_merge_enabled, automatic_base_change_failed, automatic_base_change_succeeded, base_ref_changed, base_ref_force_pushed, closed, commented, comment_deleted, committed, connected, convert_to_draft, converted_note_to_issue, converted_to_discussion, cross-referenced, demilestoned, deployed, deployment_environment_changed, disconnected, head_ref_deleted, head_ref_force_pushed, head_ref_restored, labeled, line-commented, locked, mentioned, marked_as_duplicate, merged, milestoned, moved_columns_in_project, pinned, ready_for_review, referenced, removed_from_project, renamed, reopened, review_dismissed, review_requested, review_request_removed, reviewed, subscribed, transferred, unassigned, unlabeled, unlocked, unmarked_as_duplicate, unpinned, unsubscribed, user_blocked
Found at 0: snafu::backtrace_impl::::generate
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/snafu-0.8.3/src/backtrace_impl_std.rs:5:9
1: snafu::GenerateImplicitData::generate_with_source
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/snafu-0.8.3/src/lib.rs:1280:9
2: <octocrab::error::SerdeSnafu as snafu::IntoErroroctocrab::error::Error>::into_error
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/octocrab-0.38.0/src/error.rs:23:10
3: <core::result::Result<T,E> as snafu::ResultExt<T,E>>::context
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/snafu-0.8.3/src/lib.rs:811:31
4: <octocrab::page::Page as octocrab::from_response::FromResponse>::from_response::{{closure}}
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/octocrab-0.38.0/src/page.rs:187:24
5: <core::pin::Pin

as core::future::future::Future>::poll
at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/future/future.rs:123:9
6: octocrab::Octocrab::get_with_headers::{{closure}}
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/octocrab-0.38.0/src/lib.rs:1280:68
7: octocrab::Octocrab::get::{{closure}}
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/octocrab-0.38.0/src/lib.rs:1219:56
8: octocrab::api::issues::ListTimelineEventsBuilder::send::{{closure}}
at /home/d/.cargo/registry/src/index.crates.io-6f17d22bba15001f/octocrab-0.38.0/src/api/issues.rs:831:51
9: github_metadata_backup::get_timeline_page::{{closure}}
at ./src/main.rs:175:10

@ubedan
Copy link
Contributor Author

ubedan commented Jun 11, 2024

See #651 Fixes #647 for auto_squash_enabled Issue/Pull Error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants