Skip to content

fix(tests): drop the empty [[package]] left in the next-app-route fixture lock (tokio-ban KeyError) - #14593

Closed
raliclo wants to merge 1 commit into
PerryTS:mainfrom
raliclo:fix/fixture-lock-empty-package
Closed

raliclo wants to merge 1 commit into
PerryTS:mainfrom
raliclo:fix/fixture-lock-empty-package

Conversation

@raliclo

@raliclo raliclo commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Summary

tokio-ban fails on every PR with KeyError: 'name' in scripts/tokio_inventory.py. #14482 removed the perry-uuid entry from the release-integration fixture lock by hand and left its [[package]] header behind, so two headers sit back to back; TOML parses that as a package with no keys. This PR deletes the stray header.

Changes

  • tests/integration/release/packages/next-app-route/provider/Cargo.lock: remove the empty [[package]] line (one line).

Related issue

Introduced by #14482. No other lockfile in the tree has an entry without name/version (checked all 27 tracked Cargo.lock files with tomllib).

Test plan

On f451fa6139 (current main), the three steps of the tokio-ban job:

command main this branch
python3 scripts/tokio_inventory.py --self-test OK OK
python3 tests/tooling/infrastructure/test_tokio_gate.py OK OK
python3 scripts/tokio_inventory.py --offline KeyError: 'name' (exit 1) tokio ban: 115 manifests, 27 lockfiles and Rust sources clean (offline) (exit 0)

No changelog.d entry: the change is outside crates/ and is CI-only churn.

Checklist

  • I have NOT bumped the workspace version or edited CHANGELOG.md
  • My commits follow the loose feat: / fix: / docs: / chore: prefix convention used in the log
  • I've read CONTRIBUTING.md and agree to the Code of Conduct

🤖 Generated with Claude Code

https://claude.ai/code/session_01CUQanVsnitcrmYLAWWPc3p

…ture lock

PerryTS#14482 removed the perry-uuid entry from
tests/integration/release/packages/next-app-route/provider/Cargo.lock by hand
and kept its `[[package]]` header, so two headers sat back to back. TOML reads
that as a package table with no keys, and `scripts/tokio_inventory.py
--offline` (the `tokio-ban` job) dies on `package["name"]` with KeyError on
every PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CUQanVsnitcrmYLAWWPc3p
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters: 1

  • tests/integration/release/packages/next-app-route/provider/Cargo.lock is excluded by !**/*.lock

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 437b14b9-2b39-4f60-b917-b3b69c857a15

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@raliclo

raliclo commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

This fix is also included in #14604, which fixes the other mechanical/stale reds on main in one PR. Whichever you prefer: merge this one alone, or close it in favour of #14604.

@raliclo

raliclo commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Merged as part of #14604 (ed15abd), so this one is no longer needed. Closing.

@raliclo raliclo closed this Nov 13, 2026
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

Successfully merging this pull request may close these issues.

2 participants