Repository navigation
Conversation
6 tasks
Contributor
Author
Lakes41
requested changes
Jun 24, 2026
Lakes41
left a comment
Contributor
There was a problem hiding this comment.
Thats fine, Good job. Please do resolve conflicts @rohitmulani63-ops
Contributor
Author
|
Hi @Lakes41, thanks for checking this. I resolved the conflicts against the latest main branch and kept the durable webhook idempotency changes alongside the newer dashboard mock/live updates. GitHub is showing the branch as cleanly mergeable now. |
Contributor
Author
|
thanks @Lakes41 glad this got merged if anything small comes up around the webhook flow docs or tests I can help |
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.
Description
Adds durable webhook idempotency for dashboard activity ingestion. Webhook event IDs are now recorded through one storage boundary so duplicate retries are handled during the write instead of by a separate pre-check.
Linked Issue
Closes #45
Type of Change
Changes Made
Test Evidence
node_modules\.bin\tsc.cmd --noEmit -p apps/dashboard/tsconfig.jsonpassed.node_modules\.bin\eslint.cmd apps/dashboard/lib/activity/storage.ts apps/dashboard/app/api/webhooks/route.ts apps/dashboard/test/webhook.test.ts apps/dashboard/lib/env.ts apps/dashboard/lib/activity/types.ts apps/dashboard/lib/hooks/useActivityFeed.tspassed.git diff --checkpassed for touched files.Not run: package test scripts. In this checkout, pnpm stops before package scripts because dependency build scripts require explicit approval.
Checklist
npm run typecheckpasses with no errorsnpm run lintpassesnpm run dev:docs.env.exampleScreenshots / Recordings
Not applicable for this backend/storage change.
Additional Notes
I ran the focused dashboard typecheck and ESLint commands listed above. The package scripts were not marked complete because the local pnpm install blocks package script execution until dependency build-script approval is handled.
The file-backed adapter is meant for local durable mode and as a concrete implementation of the idempotency boundary. Hosted production can use the same interface with a database-backed adapter and a unique constraint on webhook event ID.