matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Panic on LRU cache creation failure

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug LRU cache init at view/html.go:276 calls panic(err) on failure. Should handle gracefully.

To reproduce

  1. Force LRU cache creation error (unlikely but possible)
  2. Application panics and crashes

Expected behavior Return error or use validated compile-time constant for cache size

Matcha version master

OS All

Additional context File: view/html.go line 276 panic(err) kills application

andrinoff avatar Apr 21 '26 14:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot