Skip to content

Main-process fixes, test CI and Linux builds - #6

Merged
NathansDomainSolutions merged 2 commits into
mainfrom
fixes/main-process-robustness
Nov 17, 2026
Merged

NathansDomainSolutions merged 2 commits into
mainfrom
fixes/main-process-robustness

Conversation

@NathansDomainSolutions

Copy link
Copy Markdown
Owner

Fixes (src/main.js)

  • An unreadable library.json is copied aside (library.json.corrupt-<timestamp>) instead of being saved over with an empty library.
  • yt-dlp errors containing the letters "age" (page, message, image…) were all reported as "YouTube wants a sign-in"; only real age / sign-in errors match now.
  • macOS: no sends to a destroyed window after it closes; the fullscreen toggle returns the requested state.
  • Concurrent requests for one track's music video share a download.
  • Pending stem jobs are rejected if the stem worker exits.
  • GPU stems look for bin/python off Windows; library:update and file import ignore malformed input.

Linux

  • release.yml taken from the unmerged claude/release-linux branch: Linux x64 / ARM64 tarballs with a launcher and desktop-entry installer, a Linux smoke test, tag creation on manual runs, and its macOS universal fix. Not run from this branch.
  • package:linux-x64 script; website Linux download link.

CI

  • .github/workflows/test.yml runs the unit tests on push and PR.

Testing

  • npm test suites pass; test/smoke-main.js passes on Linux (Electron 44).

Note: this targets main, which does not contain the 0.3.11-beta (OscarDJ) code on codex/optimize-dj-core.

🤖 Generated with Claude Code

…closed crashes; add test CI

- loadLibrary: copy an unreadable library.json aside before it can be overwritten; drop malformed entries
- cleanError: 'age' matched inside any word, so most errors read as a YouTube sign-in
- mainWindow is cleared on close (macOS keeps running); fullscreen toggle returns the requested state
- fetchVideo: concurrent requests for one track share a download
- stems worker: reject pending jobs if the worker exits
- gpuSetup: bin/python off Windows
- library:update / importPaths: ignore malformed input
- .github/workflows/test.yml: run the unit tests on push and PR

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…load link

- release.yml: taken from the unmerged claude/release-linux branch (a4c8820): Linux x64/ARM64 tarballs with an
  OpenDJ.sh launcher and desktop-entry installer, a Linux smoke test, tag creation on manual runs, and its
  macOS universal fix for the arm64-only AI-stems runtime
- package.json: package:linux-x64 (same layout as the Windows builds)
- website: Linux download link, picked by default on Linux; the latest-release lookup matches .tar.gz as well as .zip

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@NathansDomainSolutions
NathansDomainSolutions merged commit 66ff5d3 into main Nov 17, 2026
1 check 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.

2 participants