Skip to content

feat: V1 hardening, health, CodeQL/Dependabot, templates - #10

Merged
ArianAr merged 4 commits into
mainfrom
feat/v1-hardening
Jul 15, 2026
Merged

feat: V1 hardening, health, CodeQL/Dependabot, templates#10
ArianAr merged 4 commits into
mainfrom
feat/v1-hardening

Conversation

@ArianAr

@ArianAr ArianAr commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

Road to 1.0 production hardening and repo hygiene:

Security / ops

  • Rate limits on create + unlock (429 + Retry-After, env-configurable)
  • Security headers (CSP, X-Frame-Options DENY, nosniff, …)
  • GET /api/health + Docker healthcheck
  • purgeExpiredPastes batch cleanup
  • robots.txt blocks crawlers on pastes/API

Repo

  • .github/dependabot.yml (in-repo; pairs with UI Dependabot)
  • CodeQL workflow
  • Issue + PR templates

CLI / docs

  • --version / -V
  • README HTTP API table + rate-limit env vars

Test plan

  • pnpm test — 47 server + 9 CLI
  • pnpm typecheck
  • CI green on this PR

ArianAr added 4 commits July 15, 2026 20:21
Add in-memory rate limits for create/unlock, security headers, expired
paste purge, /api/health (Docker healthcheck), robots.txt, Dependabot and
CodeQL workflow files, issue/PR templates, CLI --version, and API docs.
Address Dependabot high/moderate alerts: drizzle-orm SQL identifier
escaping and PostCSS stringify XSS. Keep tests green.
GitHub default CodeQL setup rejects advanced SARIF uploads. Keep
Dependabot in-repo; CodeQL continues via repository default setup.

@ArianAr ArianAr left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review

Verdict: Approve

  • Rate limits, security headers, health, cleanup, robots — solid V1 ops bar
  • Dependabot in-repo; no advanced CodeQL (default setup conflict fixed)
  • Dep security bumps + tests green (47 server / 9 CLI)
  • Required ci check green

Merging under auto-merge policy. Follow-up: v1.0.0 release PR.

@ArianAr
ArianAr merged commit 72a9885 into main Jul 15, 2026
8 of 9 checks passed
@ArianAr
ArianAr deleted the feat/v1-hardening branch July 15, 2026 17:27
@ArianAr ArianAr added enhancement New feature or request security Security-related issue or fix (non-advisory tracking) area:server Next.js server / API area:api HTTP API area:cli CLI client (/cli) area:docker Docker / self-host packaging area:ci GitHub Actions, branch protection, tooling test Testing or test infrastructure labels Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:api HTTP API area:ci GitHub Actions, branch protection, tooling area:cli CLI client (/cli) area:docker Docker / self-host packaging area:server Next.js server / API enhancement New feature or request security Security-related issue or fix (non-advisory tracking) test Testing or test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant