fix(runtime): stabilize LinkAutocomplete nav test and wire required compose env
All checks were successful
ci/woodpecker/push/web Pipeline was successful

This commit is contained in:
Jason Woltje
2026-02-17 16:37:45 -06:00
parent 4a4aee7b7c
commit 63c6a129bd
2 changed files with 9 additions and 2 deletions

View File

@@ -466,7 +466,9 @@ describe("LinkAutocomplete", (): void => {
expect(firstItem).toHaveClass("bg-blue-50"); expect(firstItem).toHaveClass("bg-blue-50");
// Press ArrowDown // Press ArrowDown
fireEvent.keyDown(textarea, { key: "ArrowDown" }); act(() => {
fireEvent.keyDown(textarea, { key: "ArrowDown" });
});
// Second item should now be selected // Second item should now be selected
await waitFor(() => { await waitFor(() => {
@@ -475,7 +477,9 @@ describe("LinkAutocomplete", (): void => {
}); });
// Press ArrowUp // Press ArrowUp
fireEvent.keyDown(textarea, { key: "ArrowUp" }); act(() => {
fireEvent.keyDown(textarea, { key: "ArrowUp" });
});
// First item should be selected again // First item should be selected again
await waitFor(() => { await waitFor(() => {

View File

@@ -368,6 +368,8 @@ services:
JWT_EXPIRATION: ${JWT_EXPIRATION:-24h} JWT_EXPIRATION: ${JWT_EXPIRATION:-24h}
# Better Auth # Better Auth
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET} BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
# Encryption (required for federation credentials/private keys)
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
# Ollama (optional) # Ollama (optional)
OLLAMA_ENDPOINT: ${OLLAMA_ENDPOINT:-http://ollama:11434} OLLAMA_ENDPOINT: ${OLLAMA_ENDPOINT:-http://ollama:11434}
# OpenBao (optional) # OpenBao (optional)
@@ -492,6 +494,7 @@ services:
NODE_ENV: production NODE_ENV: production
PORT: ${WEB_PORT:-3000} PORT: ${WEB_PORT:-3000}
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:3001} NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:3001}
ORCHESTRATOR_API_KEY: ${ORCHESTRATOR_API_KEY}
ports: ports:
- "${WEB_PORT:-3000}:${WEB_PORT:-3000}" - "${WEB_PORT:-3000}:${WEB_PORT:-3000}"
depends_on: depends_on: