apollographql / rover

The CLI for Apollo GraphOS
https://rover.apollo.dev
Other
409 stars 86 forks source link

bug: Rover 0.26.2 crashed while running linting and schema checks #2187

Open girishsubramanyam opened 1 month ago

girishsubramanyam commented 1 month ago
## Description Rover v0.26.2 crashed while running linting and schema checks **Crash Report** ```toml name = "rover" operating_system = "unix:Ubuntu" crate_version = "0.26.2" explanation = """ Panic occurred in file '/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ariadne-0.4.1/src/lib.rs' at line 116 """ cause = "Label start is after its end" method = "Panic" backtrace = """ 0: 0x55d4483f1717 - rover::error::RoverError::print::hce218aa5f22ecdbb 1: 0x55d4483f50a9 - ::write_or_print::h04bb8860a7d9f751 2: 0x55d448078b12 - tokio::runtime::park::CachedParkThread::block_on::ha79eae6543ca403a 3: 0x55d44820bb46 - tokio::runtime::context::runtime::enter_runtime::h3280454ed655f90f 4: 0x55d448301d17 - tokio::runtime::runtime::Runtime::block_on::h4441c6d65a3de126 5: 0x55d448274de6 - rover::main::ha14038f9fe05381e 6: 0x55d44828b4e3 - std::sys::backtrace::__rust_begin_short_backtrace::h4c73e07e7764f55f 7: 0x55d4482e7bed - std::rt::lang_start::{{closure}}::he13e556c1deee5b8 8: 0x55d448be7dc0 - std::rt::lang_start_internal::h5e7c81cecd7f0954 9: 0x55d448274f35 - main 10: 0x7f8bc04d2d90 - 11: 0x7f8bc04d2e40 - __libc_start_main 12: 0x55d447f2c2d0 - 13: 0x0 - """ ```
swcollard commented 3 weeks ago

@girishsubramanyam could you provide a graphql schema that reproduces this crash? Thank you