Skip to content

Conversation

@pete-woods
Copy link

Bundling does not currently support this format of reference.

Adding a test to help develop a fix.

@daveshanley
Copy link
Member

looking into this.

@pete-woods
Copy link
Author

@daveshanley I added a "fix" for this to this PR, now I know the issue is reference query segments starting with a numeric character.

I'm unconvinced the way I've fixed it is the right one, though. I suspect the real fix should lie in the JSON path lib tokenisation (which I think is maybe incorrectly tokenising #/400_xxxx into separate tokens for 400 (INT) and _xxxx (STRING).

@codecov
Copy link

codecov bot commented Jan 7, 2026

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.51%. Comparing base (b7fe7bb) to head (4db64f1).

Files with missing lines Patch % Lines
index/find_component.go 0.00% 8 Missing and 2 partials ⚠️
utils/utils.go 0.00% 8 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #499      +/-   ##
==========================================
- Coverage   99.60%   99.51%   -0.09%     
==========================================
  Files         189      189              
  Lines       22671    22689      +18     
==========================================
- Hits        22582    22580       -2     
- Misses         56       74      +18     
- Partials       33       35       +2     
Flag Coverage Δ
unittests 99.51% <0.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@pete-woods pete-woods changed the title Test for supporting nested file references DRAFT: Support references starting with numeric character Jan 7, 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