ComfyUI/app/assets
Matt Miller f7558232fa
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Python Linting / Run Pylint (push) Waiting to run
refactor(assets): extract cursor JSON escaping helper; size wire cap above per-field caps
Addresses review feedback on cursor.py:

- Extract the inline escape chain into _apply_wire_compatible_json_escapes()
  with a comment pinning it to the wire format's escape set, so the parity
  intent is explicit rather than reading as an ad-hoc transform.
- Raise MAX_ENCODED_CURSOR_LENGTH to 8192 (comfortably above the ~5.2KB
  worst-case the per-field caps can produce) and drop the mint-time length
  guard. Encoder/decoder symmetry now holds by construction: the encoder
  can't produce a cursor the decode path rejects, so there is no confusing
  user-visible 'cursor too long' failure at mint time.
- Rewrite the two over-wire-cap tests to assert worst-case multibyte and
  escape-heavy values mint and round-trip, instead of being rejected.
2026-06-08 16:56:10 -07:00
..
api Merge remote-tracking branch 'origin/master' into matt/be-944-conflict-resolve 2026-06-08 16:35:55 -07:00
database feat(assets): thread cursor through schemas, service, and query layer 2026-05-20 12:58:55 -07:00
services refactor(assets): extract cursor JSON escaping helper; size wire cap above per-field caps 2026-06-08 16:56:10 -07:00
helpers.py refactor(assets): modular architecture + async two-phase scanner & background seeder (#12621) 2026-03-07 20:37:25 -05:00
scanner.py feat(assets): extract image dimensions at ingest and emit on asset responses (#13991) 2026-06-08 14:27:50 -07:00
seeder.py feat(assets): register output files as assets after prompt execution (#12812) 2026-03-24 20:48:55 -07:00