Conversation
…nary probe Co-authored-by: lmangani <1423657+lmangani@users.noreply.github.com> Agent-Logs-Url: https://github.com/audiohacking/acestep-cpp-api/sessions/f7c28815-bfaa-4451-a983-c4db7b410f3f
Copilot
AI
changed the title
[WIP] Fix pre-built installation to deploy full content of acestep-cpp
Fix prebuilt deployment: install full archive, clean temp dirs, health binary probe
Mar 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
bundle-acestep.tsscript only deployedace-lmandace-synth, discarding all shared libraries (libggml*.so/.dylib/.dll) and helper binaries required at runtime. Temp job directories were also not fully cleaned up, and/healthhad no actual binary verification.Changes
scripts/bundle-acestep.ts— Copy every file from the extracted archive toacestep-runtime/bin/instead of cherry-picking two executables. The archives contain 20+ files:ace-server,ace-understand,neural-codec,mp3-codec,quantize, and all GGML shared libraries.chmod 0o755applied to all non-.afiles on non-Windows.src/worker.ts— Replace thereaddir+ per-fileunlinkloop infinallywithrm(jobDir, { recursive: true, force: true }). The old approach left the job directory itself on disk and silently missed any subdirectories (e.g. uploaded audio).src/index.ts—/healthnow spawnsace-synthwith no arguments (prints usage, exits non-zero — expected) to confirm the binary is present and executable:{ "status": "ok", "binary": "ok", "binary_path": "/…/acestep-runtime/bin/ace-synth", "binary_hint": "Usage: ace-synth --request <json...> …" }Returns
"binary": "unavailable"with an error hint when the binary is missing or fails to start.README.md/docs/API.md— Updated distribution tree and health response docs to reflect the above.⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.