Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 4, 2025

This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.

…onfiguration

- Updated buildspec.yml to include steps for uploading static and public assets to S3, improving asset management and resolving chunk drift issues.
- Added validation for the STATIC_ASSETS_BUCKET environment variable to ensure proper configuration.
- Modified next.config.ts to set assetPrefix for production, enabling S3 usage for static assets.
- Streamlined Docker build process by copying necessary files to a container-build directory, ensuring a cleaner and more efficient build.
[dev] [claudfuen] claudio/fix-file-upload
@vercel
Copy link

vercel bot commented Aug 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
app (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 4:25am
portal (staging) ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 4:25am

…nt configuration

- Modified Dockerfiles for both app and portal to copy all necessary files from the current directory, simplifying the build context.
- Updated the CMD instruction to directly run the server.js file, removing the previous conditional checks for entry points, enhancing clarity and efficiency.
[dev] [claudfuen] claudio/fix-file-upload
- Updated buildspec.yml files to upload public assets directly to the S3 bucket root, improving asset management.
- Added steps to copy standalone node_modules and ensure the availability of the Prisma client from both the monorepo root and app directory.
- Enhanced next.config.ts to include production rewrites for redirecting public assets to S3, streamlining asset delivery.
- Included debug statements to verify the contents of the container build directory, ensuring all necessary files are present.
[dev] [claudfuen] claudio/fix-file-upload
- Updated next.config.ts files for both app and portal to enhance the handling of static assets in production.
- Replaced the previous single rewrite rule with individual rewrites for common static file types, improving clarity and maintainability of asset management.
[dev] [claudfuen] claudio/fix-file-upload
… in app and portal

- Enhanced buildspec.yml files to clarify the upload process for Next.js static and public assets to S3, improving CDN performance.
- Refactored next.config.ts files to remove outdated production rewrites for static assets, streamlining asset handling.
[dev] [claudfuen] claudio/fix-file-upload
…one verification

- Updated buildspec.yml files to include detailed debug statements for verifying app-specific standalone builds.
- Added steps to ensure the presence of server.js, .next directory, and node_modules in the container build.
- Improved clarity in the build process by organizing commands and enhancing error handling for file operations.
…build verification

- Updated buildspec.yml files to include additional debug statements for verifying the app's own .next build structure and server.js presence.
- Refactored steps to copy the app's built files and standalone node_modules, ensuring a more robust container build process.
- Improved error handling and clarity in the build process by organizing commands and enhancing feedback for file operations.
[dev] [claudfuen] claudio/fix-file-upload
…andalone server.js

- Modified buildspec.yml files to check for app-specific server.js files in the .next/standalone/apps directory, enhancing the build process for individual applications.
- Added conditional logic to handle both app-specific and global server.js files, improving flexibility and clarity in the build output.
[dev] [claudfuen] claudio/fix-file-upload
… for assetPrefix

- Refactored next.config.ts files to replace the hardcoded S3 asset URL with a dynamic STATIC_ASSETS_URL environment variable for production, enhancing flexibility in asset management.
[dev] [claudfuen] claudio/fix-file-upload
…ng S3 upload

- Modified buildspec.yml files to remove the --delete option from the AWS S3 sync command, ensuring that only .map files are excluded from uploads, enhancing the asset management process.
[dev] [claudfuen] claudio/fix-file-upload
@claudfuen claudfuen merged commit 7e1677f into release Aug 4, 2025
13 checks passed
@claudfuen
Copy link
Contributor

🎉 This PR is included in version 1.51.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant