Skip to content

fix: shorten output filenames with readable labels and hashes - #133

Merged
kyuz0 merged 1 commit into
ReversecLabs:developfrom
kyuz0:fix/compact-output-filenames
Sep 10, 2026
Merged

fix: shorten output filenames with readable labels and hashes#133
kyuz0 merged 1 commit into
ReversecLabs:developfrom
kyuz0:fix/compact-output-filenames

Conversation

@kyuz0

@kyuz0 kyuz0 commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Long target URLs and dataset names can make generated filenames unreadable or too long to create. Compact options now use up to 24 readable characters plus a 12-character SHA-256 suffix, replacing punctuation such as =, /, and : with hyphens. Long dataset names and tags use the same helper; generated result and dataset filenames stay under 180 characters with their timestamps and extensions intact.

Automatic resume uses the same naming logic and also recognizes existing filenames. Full options still reach the target unchanged. The change is limited to output naming, resume lookup, documentation, and regression tests.

Validation:

  • Ruff formatting and lint checks pass.
  • All 401 functional tests verified: 398 passed in the sandbox; the three multiprocessing tests passed when rerun with local socket access.
  • Functional tests cover long URLs, Unicode and punctuation, distinct hashes, filename length, old/new resume matching, and CLI dataset generation in all three formats.
  • CLI coverage verifies that the target receives the original options and that the compact result file can be resumed.

@kyuz0
kyuz0 merged commit 425373c into ReversecLabs:develop Sep 10, 2026
2 checks passed
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.

1 participant