Skip to content

feat(backend): add optional raw payload storage for incoming data (#589)#591

Draft
bartmichalak wants to merge 1 commit intomainfrom
feat/raw-payload-storage
Draft

feat(backend): add optional raw payload storage for incoming data (#589)#591
bartmichalak wants to merge 1 commit intomainfrom
feat/raw-payload-storage

Conversation

@bartmichalak
Copy link
Contributor

Description

  • Adds raw_payload_storage service for optional logging of raw incoming payloads (webhooks, SDK, API responses)
  • Configured via RAW_PAYLOAD_STORAGE env var (disabled by default, log to enable)
  • Hooked into Garmin /push webhook as first integration point

Checklist

General

  • My code follows the project's code style
  • I have performed a self-review of my code
  • I have added tests that prove my fix/feature works (if applicable)
  • New and existing tests pass locally

Backend Changes

You have to be in backend directory to make it work:

  • uv run pre-commit run --all-files passes

Frontend Changes

  • pnpm run lint passes
  • pnpm run format:check passes
  • pnpm run build succeeds

Testing Instructions

Steps to test:
1.
2.
3.

Expected behavior:

Screenshots

Additional Notes

@coderabbitai
Copy link

coderabbitai bot commented Mar 10, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 45ea0365-f332-4f43-9c49-39e1e57cfaa0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/raw-payload-storage

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Comment @coderabbitai help to get the list of available commands and usage tips.

@railway-app
Copy link

railway-app bot commented Mar 10, 2026

🚅 Deployed to the open-wearables-pr-591 environment in Open Wearables

Service Status Web Updated (UTC)
backend ✅ Success (View Logs) Web Mar 11, 2026 at 12:41 am
celery-beat ✅ Success (View Logs) Mar 11, 2026 at 12:41 am
frontend ✅ Success (View Logs) Web Mar 10, 2026 at 11:59 pm
celery-worker ✅ Success (View Logs) Mar 10, 2026 at 11:59 pm
celery-flower ✅ Success (View Logs) Web Mar 10, 2026 at 11:59 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant