fix: restore Docker builds after Next.js upgrade - #52
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the Docker build failure exposed after upgrading to Next.js 16.3.3. During
next build, TypeScript checkssrc/tests/ai/agent-bridge.test.ts, which importsagent-bridge/lib.mjs; the Docker context previously excluded the entireagent-bridgedirectory.Failed run: https://github.com/FgForrest/riffado/actions/runs/35384924483
Type of Change
Related Issues
None.
Changes Made
agent-bridge/lib.mjsin the application Docker build context.Testing
docker build --progress=plain --target builder -t riffado-docker-debug:next-16.3.3-fixed .pnpm format-and-lint:fixpnpm type-checkpnpm test src/tests/ai/agent-bridge.test.ts(35 tests passed)agent-bridge/lib.mjsfrom the sidecar directory.Test Environment
Checklist
pnpm format-and-lint)pnpm type-check)Database Changes
None.
Breaking Changes
None.
Additional Notes
The formatter/linter reports two pre-existing informational suggestions in
src/tests/admin/elevated-cookie.test.ts. The Docker build also reports the existing PostHog build-argument secret warnings and instrumentation Edge Runtime warnings; this change introduces no new warnings.