Skip to content

Upgrade chi middleware v4 -> v5#1307

Merged
Hayden-IO merged 1 commit into
sigstore:mainfrom
jku:upgrade-chi
Mar 3, 2026
Merged

Upgrade chi middleware v4 -> v5#1307
Hayden-IO merged 1 commit into
sigstore:mainfrom
jku:upgrade-chi

Conversation

@jku

@jku jku commented Mar 3, 2026

Copy link
Copy Markdown
Member
  • chi has been seen panicing with "slice bounds out of range [-1:]" while recovering a panic
  • Upgrade is expected to fix things as the panicing function has been rewritten

Note that I don't know anything about chi or the versions here, apart from v5 being the maintained version. Tests seem to pass

Fixes #1306 (maybe)

@jku jku requested review from a team as code owners March 3, 2026 17:51
@codecov

codecov Bot commented Mar 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.12%. Comparing base (6fd19b0) to head (89eef13).
⚠️ Report is 582 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1307       +/-   ##
===========================================
- Coverage   52.85%   17.12%   -35.74%     
===========================================
  Files          20       55       +35     
  Lines        1209     3072     +1863     
===========================================
- Hits          639      526      -113     
- Misses        509     2493     +1984     
+ Partials       61       53        -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread go.mod Outdated
* chi has beens seen panicing with "slice bounds out of range [-1:]"
  while recovering a panic
* Upgrade is expected to fix things as the panicing function has been
  rewritten

Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>

@Hayden-IO Hayden-IO left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

@Hayden-IO Hayden-IO merged commit eccfa11 into sigstore:main Mar 3, 2026
9 checks passed
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.

panic while serving /api/v1/timestamp/certchain

2 participants