Conversation
Updates 56 packages across dependencies and devDependencies: Dependencies (31 updated): - AWS SDK clients: 3.1085.0 → 3.1094.0 (30 packages) - All AWS service clients including S3, Lambda, DynamoDB, etc. - Radix UI components: Various minor patch bumps (10 packages) - React alert dialog, dialog, dropdown menu, label, popover, progress, etc. - Core: next 16.2.10 → 16.2.11, react/react-dom 19.2.7 → 19.2.8 DevDependencies (8 updated): - TypeScript ESLint: 8.63.0 → 8.65.0 - Autoprefixer: 10.5.2 → 10.5.4 - PostCSS: 8.5.17 → 8.5.22 - ESLint Next.js config: 16.2.10 → 16.2.11 Verified: - pnpm lint: ✓ PASSED (no errors) - pnpm build: ✓ PASSED (TypeScript, static generation successful) - No breaking changes introduced - All API routes compile correctly ⚠ 3 deprecated subdependencies detected (glob, inflight, sourcemap-codec) but they do not impact functionality or build output.
When starting a Glue job, automatically ensure required log groups exist: - /aws-glue/jobs/error - /aws-glue/jobs/output - /aws-glue/jobs/audit This fixes the '400: The specified log group does not exist' error that occurs when running Glue jobs on MiniStack. The ensureGlueLogGroups() function: - Checks if log group exists via DescribeLogGroupsCommand - Creates it if missing via CreateLogGroupCommand - Is called before every glueStartJobRun() invocation MiniStack (unlike real AWS Glue) requires log groups to be created upfront before jobs can write logs to them.
Changes: 1. Remove duplicate Access-Control-Allow-Origin header in nginx proxy - Was being added in both OPTIONS block and final response - Caused browser error: multiple values '*, *' not allowed - Now adds header only once in final response 2. Update docker-compose.ministack.yml for glue-image-puller service - Automatically pulls AWS Glue image before MiniStack starts - Uses service_completed_successfully dependency condition 3. Add docker-compose.ministack-aws-glue-full.yml - Comprehensive Glue setup with persistent S3 and Docker integration - Includes glue-image-puller service - Includes ministack with full image and CORS proxy 4. Update README documentation - Clarify log group auto-creation behavior - Simplify setup instructions - Remove references to manual setup scripts - Add Glue troubleshooting section
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Fixes critical CORS issues when using the hosted app with local MiniStack, and adds automatic log group creation for AWS Glue jobs on MiniStack.
Features
1. CORS Proxy for MiniStack Browser Access
Access-Control-Allow-Originheaders to all MiniStack responsesapp.openarchflow.cloud) to access local MiniStack onlocalhost:4567Access-Control-Request-Headers2. AWS Glue Log Group Auto-Creation
/aws-glue/jobs/error,/aws-glue/jobs/output,/aws-glue/jobs/auditglueStartJobRun()function3. Docker Compose Configurations
glue-image-pullerservicepull_policy: alwaysfor MiniStack image4. Documentation
Breaking Changes
None. Fully backward compatible:
localhost:4566directlylocalhost:4567DEFAULT_MINISTACK_CONFIG.endpointunchangedFiles Changed
docker/ministack-cors-proxy/nginx.conf— CORS proxy configurationdocker/ministack-cors-proxy/Dockerfile— nginx Alpine imagedocker-compose.ministack.yml— Updated with glue-image-pullerdocker-compose.ministack-aws-glue-full.yml— New Glue-enabled composesrc/lib/ministack/glue-actions.ts— Auto log group creationREADME.md— Updated documentation.devcontainer/docker-compose.yml— Docker socket mount for DinDTesting
CORS Proxy
Glue Log Groups
Build & Lint
pnpm lint— Zero errorspnpm build— Successful TypeScript compilationRelated Issues
Fixes CORS error:
Access to fetch at 'http://localhost:4566/...' from origin 'https://app.openarchflow.cloud' has been blocked by CORS policyFixes Glue error:
400: The specified log group does not exist: /aws-glue/jobs/error