Skip to content

Generated with Hive: add sphinx authentication ui with qr code and polli#2984

Closed
pitoi wants to merge 16 commits intomasterfrom
feature/add-sphinx-auth-ui-1771054475
Closed

Generated with Hive: add sphinx authentication ui with qr code and polli#2984
pitoi wants to merge 16 commits intomasterfrom
feature/add-sphinx-auth-ui-1771054475

Conversation

@pitoi
Copy link
Contributor

@pitoi pitoi commented Feb 14, 2026

Generated with Hive: add sphinx authentication ui with qr code and polling

@pitoi pitoi added the user label Feb 14, 2026 — with Hive Chat PM
@vercel
Copy link

vercel bot commented Feb 14, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
hive Ignored Ignored Feb 14, 2026 3:51pm

tomsmith8 and others added 15 commits February 14, 2026 07:51
- Restore manual dev server startup with explicit environment variables
- Revert playwright.config.ts to use reuseExistingServer: true
- Add missing TOKEN_ENCRYPTION_KEY_ID environment variable
- Split workflow into proper steps: start dev → wait → run tests

Root cause: Environment variables weren't being passed correctly when relying
on Playwright's webServer to start the dev server, causing PostgreSQL
connection attempts with wrong credentials (user 'root' instead of 'hive_user').
The issue was that environment variables passed to a backgrounded process
weren't being properly inherited by the Next.js dev server.

Solution: Create a .env file that Next.js will read directly, ensuring
DATABASE_URL and all other required variables are available to the server.

This approach is more reliable than relying on environment variable
inheritance through backgrounded shell processes.
The PostgreSQL health check was running pg_isready without a username,
causing it to default to the system user 'root' (every 10 seconds),
which doesn't exist in the database configured with 'hive_user'.

This fix adds -U hive_user to the health check command.
pg_isready defaults to using the username as the database name.
Since our user is 'hive_user' but database is 'hive_db', we need
to explicitly specify -d hive_db in the health check command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants