Repository navigation
feat(music): live node progress; c0mpute.com songs follow the brief's length; v0.2.85 - #172
Merged
Merged
Conversation
…he brief's length; v0.2.85
- Gateway: POST /v1/music takes an x-request-id and records each stage of
that request (finding a worker, queued behind busy workers, rendering on
node X with the node's own ETA, fetching the result, retrying and why).
GET /v1/progress/{id} returns it. Reported through a task-local, so the
shared auction path needs no new arguments; the winning bid is now read as
soon as it is chosen, not only on failure.
- c0mpute.com/chat shows that line while a song renders (relayed by
Infernet as `node`, sanitized).
- c0mpute.com's /api/v1/music no longer defaults duration to 30: that was
sent to Infernet as an explicit choice and overrode the length in the
brief, so every c0mpute.com song came out 30 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan13 finding(s) HIGH/CRITICAL: 1 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
POST /v1/musicnow accepts anx-request-idheader. The gateway records each stage of that request: finding a worker, queued, rendering on a named node (with that node's own ETA), fetching the result, and retrying (with the reason).GET /v1/progress/{id}returns the current stage. The winning bid is now read as soon as it's chosen, not only after a failure.node, and c0mpute.com sanitizes it before display./api/v1/musicwas settingduration: 30when none was given. Infernet treated that as the person's explicit choice, so it overrode the length in the brief, and every c0mpute.com song came out 30 s long.The Infernet side, which sends the id, polls progress and relays it, is a separate PR in InfernetProtocol/infernet-protocol.
Checks: clippy is clean.
c0mpute-corelib tests pass 340 of 340, including the newjob_progresstests.tscis clean andbun testfor music passes 4 of 4.🤖 Generated with Claude Code