documenso/.github/workflows
Lucas Smith 653ab3678a
feat: better ratelimiting (#2520)
Replace hono-rate-limiter with a Prisma/PostgreSQL bucketed counter
approach that works correctly across multiple instances without sticky
sessions.

- Add RateLimit model with composite PK (key, action, bucket) and atomic
upsert
- Create rate limit factory with window parsing, bucket computation, and
fail-open
- Define auth-tier and API-tier rate limit instances
- Add Hono middleware, rateLimitResponse helper, and tRPC
assertRateLimit helper
- Wire rate limit headers through AppError constructor (was declared but
never assigned)
- Apply rate limits to auth routes (email-password, passkey), tRPC
routes
  (2FA email, link org account), API routes, and file upload endpoints
- Add cleanup cron job for expired rate limit rows (batched delete every
15 min)
- Remove hono-rate-limiter dependency
2026-02-20 12:23:02 +11:00
..
ci.yml chore: update ci 2025-03-27 22:49:59 +11:00
codeql-analysis.yml chore: update ci 2025-03-27 22:49:59 +11:00
deploy.yml chore: update ci 2023-12-08 09:44:36 +11:00
e2e-tests.yml feat: better ratelimiting (#2520) 2026-02-20 12:23:02 +11:00
first-interaction.yml chore: update ci and formatting 2023-12-08 13:01:36 +11:00
issue-assignee-check.yml chore: update github actions (#1085) 2024-05-08 11:52:26 +07:00
issue-labeler.yml chore: update github actions (#1085) 2024-05-08 11:52:26 +07:00
issue-opened.yml chore: updated triage label 2024-05-08 17:03:57 +05:30
pr-labeler.yml chore: update ci and formatting 2023-12-08 13:01:36 +11:00
pr-review-reminder.yml chore: update github actions (#1085) 2024-05-08 11:52:26 +07:00
publish.yml chore: add manual dispatch to publish workflow and remove chromium builds (#2415) 2026-01-27 14:15:04 +11:00
semantic-pull-requests.yml chore: prevent frequent commenting for semantic pr titles 2023-12-11 23:37:28 +05:30
stale.yml chore: update github actions (#1085) 2024-05-08 11:52:26 +07:00
translations-force-pull.yml feat: initial i18n marketing implementation (#1223) 2024-07-26 14:56:42 +10:00
translations-pull.yml feat: initial i18n marketing implementation (#1223) 2024-07-26 14:56:42 +10:00
translations-upload.yml fix: translation extraction job (#2288) 2025-12-06 16:19:35 +11:00