oxidecomputer / oxidecomputer/progenitor

assertion failed: response_types.len() <= 1

Open
#950 8 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1k
Forks
136
Avg merge
8h 36m
Merged PRs (30d)
14

Description

Here's the reproducible project:

https://github.com/clarkmcc/esi-rs

When building I get

thread 'main' panicked at /Users/.../.cargo/git/checkouts/progenitor-639bd64206ac5e43/2f32cde/progenitor-impl/src/method.rs:1264:9:
  assertion failed: response_types.len() <= 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the panic with the project at https://github.com/clarkmcc/esi-rs. Inspect progenitor-impl/src/method.rs at the assertion near line 1264 and trace how response_types is built for the failing API operation. Done means the project builds without this assertion panic, with regression coverage for the reported operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, rust
Domain
api, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.