Commit 7dfc447
fix: Handle @latest in Go feature server and pre-compile version regex
- Strip @latest suffix (equivalent to no version) instead of passing
through as part of the FV name, which caused confusing "not found" errors
- Pre-compile version tag regex to package-level var to avoid recompilation
on every call in the hot path
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ac0348d commit 7dfc447
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
494 | 496 | | |
495 | 497 | | |
496 | 498 | | |
497 | | - | |
| 499 | + | |
498 | 500 | | |
499 | 501 | | |
500 | | - | |
501 | | - | |
| 502 | + | |
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
505 | 509 | | |
506 | 510 | | |
507 | 511 | | |
| |||
0 commit comments