fix: batch of stellar wave fixes#175
Merged
Chucks1093 merged 4 commits intoApr 25, 2026
Merged
Conversation
Ensure nullable fields are sorted deterministically by using Prisma's nulls parameter to place null values last, keeping sort behavior predictable and consistent across mixed null/non-null datasets. Refs #145
Support stale-if-error behavior for cached public reads by adding staleIfError option to cache control middleware. Define 24-hour max stale window for creator list, stats, and profile endpoints to maintain service availability during origin failures while keeping response metadata explicit. Refs #147
Emit structured audit events for admin metadata changes to CreatorProfile, including actor, target, timestamp fields. Create audit events table to persist action history with granular change tracking. Add PATCH endpoint for updating creator metadata with x-admin-id header authentication and change tracking to avoid sensitive payload leakage. Refs #148
Add API_VERSION, ENABLE_API_VERSION_HEADER, and related configuration variables to .env.example to document the contract for the API version response header middleware. Keep version source centralized in config as designed. Refs #144
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.
Summary
Implement four fixes for Stellar Wave program issues: null-safe sorting,
stale-if-error cache support, audit event logging for admin actions, and
API version header documentation.
Changes
Testing
Closes #144
Closes #145
Closes #147
Closes #148