Skip to content

Refactor v2 - #31

Merged
Tanq16 merged 10 commits into
mainfrom
refactor-v2
May 18, 2026
Merged

Refactor v2#31
Tanq16 merged 10 commits into
mainfrom
refactor-v2

Conversation

@Tanq16

@Tanq16 Tanq16 commented May 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

Tanq16 and others added 10 commits February 14, 2026 19:02
Co-authored-by: Cursor <cursoragent@cursor.com>
Add focused unit tests across utils, highway, display, and job
packages covering parsing, state persistence, progress accounting,
and stream handling.

Fix HTTP downloader progress accounting so the percentage no longer
bounces or exceeds 100% during chunk retries by reconciling
chunk.Downloaded with on-disk size and emitting signed deltas.

Co-authored-by: Cursor <cursoragent@cursor.com>
This adds a comprehensive plan for integrating yt-dlp into danzo
as an internal job using `--progress-template` to output newline-delimited
JSON to stdout. Evidence from various test cases including multiphase
downloading is included within the markdown file.

Co-authored-by: Tanq16 <37408906+Tanq16@users.noreply.github.com>
This commit updates `ytdlp-integration.md` to include raw test execution
evidence from downloading via a Vimeo URL alongside a full, runnable
example of how to write the Go integration code. The Go sample invokes
`exec.Command`, uses the `yt-dlp` `--progress-template` flag, and successfully
parses the output using a scanner and `encoding/json`.

Co-authored-by: Tanq16 <37408906+Tanq16@users.noreply.github.com>
This commit adds analysis and concrete Go code examples to `ytdlp-integration.md`
demonstrating how to handle sequential downloading steps (like downloading
video first, then audio) and parsing `[Merger]` text logs to properly emit
substatus progress updates within the `highway` architecture.

Co-authored-by: Tanq16 <37408906+Tanq16@users.noreply.github.com>
Implemented a new job package for yt-dlp that executes the binary using
its JSON progress template for seamless highway architecture integration.
Added `ytdlp` as a supported command and registered it in the CLI.

Co-authored-by: Tanq16 <37408906+Tanq16@users.noreply.github.com>
Harden yt-dlp wrapper with stderr capture, single failure reporting,
output-path collision handling, and focused unit tests. Document ytdlp
in README, remove the planning doc, and add manual integration scripts
for ghr (terraform) and a 500 MB HTTP download to USB test storage.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use tanq16/anbu for unauthenticated ghr (GitHub release assets)
and thinkbroadband 512MB for http. Document why terraform and
link.testfile.org are unsuitable for CLI integration runs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Tanq16
Tanq16 merged commit b9b3f11 into main May 18, 2026
3 checks passed
@Tanq16
Tanq16 deleted the refactor-v2 branch May 18, 2026 12:52
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