Open
Conversation
|
5008291 to
ff4bf7e
Compare
Contributor
🌐 Web preview readyPreview URL: https://audius-web-preview-pr-14135.audius.workers.dev Unique preview for this PR (deployed from this branch). |
- Phase 1: comments with entity_type='Event' (py indexer + Go api) - Phase 2: follow-event via subscriptions.entity_type - Phase 3: dedicated /contest page + routing - Phase 4: ContestCommentsSection feed + compose - Phase 5: track page teaser (dead code deleted) - 70 new tests (Python + Go + web vitest)
Two narrow fixes that surfaced while driving remix-contest flows from
Node (audius-cmd):
- Storage.uploadFile passed the CrossPlatformFile wrapper straight to
tus-js-client, which in Node only accepts Buffer/ReadStream. Unwrap
NodeFile.buffer before constructing the tus.Upload so Node callers
that send `{buffer, name, type}` (the shape the zod schema validates)
actually get uploaded.
- CommentsApi.createCommentWithEntityManager hardcoded entity_type to
'Track' for anything other than 'FanClub'. The zod schema already
accepts 'Event' for remix-contest comments, so thread it through
instead of silently coercing it to 'Track'.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds `audius-cmd event create|follow|unfollow` so remix-contest flows can be driven end-to-end from the CLI (create an event on a track, subscribe/unsubscribe fans) instead of via ad-hoc scripts. Also catches up the existing commands to SDK changes that had drifted past audius-cmd: - `track upload` now uses the two-step `uploadTrackFiles` + `publishTrack` flow introduced with TUS uploads; the single-step `uploadTrack` no longer exists. - `comment create` now calls `createCommentWithEntityManager` directly (`postComment` is gone) and accepts `Event` as an entity type so remix-contest comments can be posted through the CLI. The arg parser is also relaxed to accept either a hashid or a numeric id, matching the output of the new `event create`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0f1f2e8 to
2a88f8e
Compare
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.
Adds contest page
Adds contest comments
Adds contest text-posts
Adds follow contest