feat: getPlaylist/listPlaylists over GET (v0.21.0) - #21
Merged
Merged
Conversation
this-fifo
had a problem deploying
to
openCloud-smoke
September 16, 2026 20:58 — with
GitHub Actions
Failure
This branch was successfully deployed
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.
What
getPlaylistandlistPlaylistsnow send GET requests with the same parameters in the query string, through the existingrequestGethelper used bybrowse,similarand the SFX methods. No call-site changes.Why
GET responses for
/v1/playlistare cached at the edge (60s TTL). When many servers start up against the same playlist at once, they now share one origin request instead of each hitting the API. POST remains accepted server-side, so older SDK versions keep working.Changes
src/init.luau:getPlaylist/listPlaylists→requestGettests/getPlaylist.spec.luau(new): method, path, query-string encoding, headers, no body, pre-flight validation, 5xx mappingwally.toml0.21.0, README install pin, README note undergetPlaylist, CHANGELOGVerification
stylua --check,selene: cleanlune run tests/run.luau: 22 passed, 0 failed