Repository navigation
Release 0.13.0 - #96
Merged
Merged
Conversation
Implements group 2 of the add-anonymous-feedback-reporting OpenSpec
change: a POST /feedback handler accepting type (bug|feature), title,
body, and optional reporter_email/source, that files a labeled GitHub
Issue on sweetrpg/platform via a new feedback package wrapping the
GitHub Issues API (go-github). GitHub failures/timeouts return 502
without retrying. Adds a feedback-specific Redis-backed rate-limit
tier (api-core.go/ratelimit, bumped to v0.3.1) stricter than and
layered on top of the service-wide limiter, scoped to only this
route. Adds title/body length caps and a honeypot + minimum-fill-time
bot-detection check that silently accepts (200, no issue created)
instead of rejecting, so a bot gets no signal. Adds swaggo annotations
and regenerates docs/swagger.{json,yaml,go}.
Adds a secretRef to the api-feedback Secret (produced by an ExternalSecret pulling /sweetrpg/admin/api/feedback from Akeyless, containing GITHUB_FEEDBACK_TOKEN) alongside the existing api-db/ api-misc secretRefs, matching this repo's existing pattern for secret-backed env vars. The ExternalSecret manifest itself (kubernetes/overlays/dev/secrets/ feedback.yaml) still needs to be added by someone with access to that path - this session's sandbox denies all read/write access to any **/secrets path, so kustomization.yaml does not yet list it.
Add Redis cache configuration (REDIS_HOST/REDIS_PORT) to admin-api's development deployment, enabling the feedback endpoint's feedback-tier rate limiter to back against a real cache instance instead of failing closed with 503. Wire the cache auth secret (REDIS_PASS) via ExternalSecret pulling from Akeyless. Resolves sweetrpg/platform#112. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
feat(feedback): anonymous feedback submission via GitHub Issues proxy
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.
Automated release PR. Review the changelog before merging.