Skip to content

chore: monorepo rename#21

Closed
hackmajoris wants to merge 3 commits into
mainfrom
core/monorepo-rename
Closed

chore: monorepo rename#21
hackmajoris wants to merge 3 commits into
mainfrom
core/monorepo-rename

Conversation

@hackmajoris
Copy link
Copy Markdown
Owner

@hackmajoris hackmajoris commented Dec 21, 2025

Changes

  • rename the monorepo from glad to gald-stack
  • rename the cmd/app to cmd/glad
  • split Taskfile into a global and app level specific.

Copy link
Copy Markdown
Contributor

@amazon-q-developer amazon-q-developer Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

This PR successfully renames the monorepo from "glad" to "glad-stack" and restructures the application from cmd/app to cmd/glad. The changes are comprehensive and mostly well-executed.

Positive Changes:

  • Consistent Import Updates: All Go import paths have been correctly updated to use github.com/hackmajoris/glad-stack
  • Documentation Updates: README.md properly reflects the new directory structure
  • Configuration Files: .gitignore and .dockerignore have been updated appropriately
  • Taskfile Refactoring: Good architectural improvement using includes to delegate app-specific tasks
  • Dockerfile Enhancement: Added build argument for flexible Lambda path configuration

⚠️ Issues to Address:

  1. Path Configuration: Verify that deployments/glad directory exists and contains CDK infrastructure files
  2. Task Command References: Some documentation may reference task commands that no longer exist after the Taskfile refactoring

🔍 Verification Needed:

  • Ensure the deployments/glad/ directory structure is properly set up
  • Test that all task commands referenced in documentation work with the new structure
  • Verify CDK deployment still functions correctly with the new paths

The rename is well-structured and maintains consistency across the codebase. Once the path configuration issues are resolved, this should be ready to merge.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

Comment on lines +16 to +22
"github.com/hackmajoris/glad-stack/cmd/glad/internal/database"
"github.com/hackmajoris/glad-stack/cmd/glad/internal/dto"
"github.com/hackmajoris/glad-stack/cmd/glad/internal/handler"
"github.com/hackmajoris/glad-stack/cmd/glad/internal/service"
"github.com/hackmajoris/glad-stack/pkg/auth"
"github.com/hackmajoris/glad-stack/pkg/config"
"github.com/hackmajoris/glad-stack/pkg/middleware"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛑 Module Import Inconsistency: The imports have been updated to use github.com/hackmajoris/glad-stack but the go.mod file still declares the module as github.com/hackmajoris/glad-stack. This creates a mismatch that will cause build failures. The go.mod module name must be updated to match the import paths.

Comment thread cmd/glad/Taskfile.yml
vars:
APP_NAME: glad
LAMBDA_PATH: cmd/glad
DEPLOYMENT_PATH: deployments/glad
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛑 Path Configuration Error: The DEPLOYMENT_PATH variable points to deployments/glad but based on the diff patterns, it appears the deployment directory may not have been renamed consistently. Verify that the deployments/glad directory exists and contains the CDK infrastructure files, or update this path to match the actual deployment directory structure.

Comment thread README.md
│ └── middleware/ # HTTP middleware
├── deployments/
│ └── app/ # AWS CDK infrastructure
│ └── glad/ # AWS CDK infrastructure
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verify that the deployments/glad/ directory structure exists and contains the CDK infrastructure files. The documentation now references this path, but ensure it matches the actual directory structure after the rename.

@hackmajoris hackmajoris changed the title core/monorepo rename chore: monorepo rename Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant