Skip to content

feat(wall): invite links last 30 days - #29

Merged
imnotannamaria merged 1 commit into
mainfrom
feat/wall-invite-30-days
Nov 24, 2026
Merged

imnotannamaria merged 1 commit into
mainfrom
feat/wall-invite-30-days

Conversation

@imnotannamaria

Copy link
Copy Markdown
Owner

What

A wall of love invite link is now good for 30 days from the moment it is created or renewed, instead of 3.

  • INVITE_TTL_MS in lib/wall/constants.ts changed from 3 days to 30
  • The expired screen (pt and en), the two admin hints, the admin's expired-invite line (which used to promise "another day"), the route list in /back, and CLAUDE.md / AGENTS.md / README.md all say 30 days now
  • New integration test: a new link and a renewed one both expire 30 days out. Before it, a typo in the constant would have passed every test

No migration

expires_at has no CHECK and no query caps it. Nothing to run in the SQL editor.

After merge

  • The expiry is written when a link is created, so links created before this deploy keep their 3 days. Renewing one in the admin gives it 30.
  • Create new links from production's /admin/wall: the URL is built from the origin of the request that created it, so a link made on localhost points at localhost.

Checks

  • npm run test: 589 passed
  • npm run test:all -- --no-e2e: 49 integration tests passed, the new one included
  • npx tsc --noEmit: clean
  • npm run lint: 0 errors, 4 warnings, all in entrepta files that existed before this change
  • e2e: not run. tests/e2e/wall.spec.ts doesn't assert the duration or any of the changed text

Visual pass

The text changed from "3" to "30" in each place, one character longer:

  • /admin/wall/new: the hint above the form
  • The card shown after creating a link: the hint, and the expires date
  • /admin/wall/<id> for an expired invite: the line under the details
  • An expired invite link, in a pt-BR invite and an en invite

🤖 Generated with Claude Code

A link is good for thirty days from the moment it is created or renewed,
instead of three. The expired screen, the admin hints, the terminal's route
list and the docs say so; the admin no longer promises "another day".

A new integration test pins the duration: before it, a typo in
INVITE_TTL_MS would have passed every test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
anna-maria-dev Ready Ready Preview Nov 24, 2026 9:36pm UTC

@imnotannamaria
imnotannamaria merged commit 00a835a into main Nov 24, 2026
2 of 8 checks passed

This branch was successfully deployed

1 active deployment
Preview — fa2b8ed7 Deployed Nov 24, 2026 by vercel[bot]
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