server icon indicating copy to clipboard operation
server copied to clipboard

fix(files/type): preserve numeric keys (follow-up)

Open joshtrichards opened this issue 1 month ago • 0 comments

  • Expands on #50660 which was for #42902

Summary

Primary changes:

  • Fixes implementation for custom mappings to preserve numeric keys (which was passing the prior unit test)
  • Fixes test that wasn't testing the custom mappings code path

Secondary changes:

  • Refactors tests to use an isolated temp dir with proper cleanup
  • Adds a focused test to see if numeric-looking keys (e.g. "001") are preserved
    • (the current implementation is brittle and can break if we aren't careful with how we manage keys)

TODO

  • [ ] ...

Checklist

joshtrichards avatar Dec 08 '25 15:12 joshtrichards