-
Notifications
You must be signed in to change notification settings - Fork 36
Feature/claude helps with cicd #431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
- Add migration detection for both pending and new migrations - Implement manual review steps for migration approval - Create utility scripts for checking pending migrations and schema drift - Ensure all migrations run BEFORE API deployment - Add database backup functionality before migrations - Generate and commit new migrations automatically after approval - Include proper error handling and rollback capabilities 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…etection - Separate pending migration check from schema drift detection - Apply pending migrations BEFORE checking for schema drift - This prevents false positives where pending migrations would resolve apparent drift - Ensures schema drift check runs against updated database state The correct flow is now: 1. Check for pending migrations 2. Apply pending migrations (with review) 3. THEN check for schema drift against updated database 4. Generate new migrations only if drift still exists 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…d such. Firing Claude back up to work through being able to see the generated migration on the approval step.
- Fix jq error when gcloud returns empty array [] instead of object - Add support for both array and object response formats - Implement fallback mechanism to query recent backups list - Improve error handling and debugging for backup ID extraction This resolves the "Cannot index array with string" jq error. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add proper error detection for gcloud backup creation commands - Implement alternative backup method when JSON format fails - Use unique descriptions to identify created backups - Add timing delay and multiple lookup strategies for backup ID retrieval - Improve error messages and debugging output This addresses cases where gcloud returns empty arrays but backups are actually created. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…rors - Use --quiet flag for backup creation to suppress status messages - Retrieve backup info via separate list command with clean JSON output - Remove mixed text/JSON output that was causing jq parse failures - Simplify backup ID extraction by getting most recent backup directly This fixes the "Invalid numeric literal" jq error caused by mixed output formats. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…t pipeline - Replace simple deployment with full migration pipeline from MR_TO_MAIN.yml - Change trigger from PR to tag-based releases (push: tags: ['v*']) - Update all environment variables and secrets from TEST to PROD - Add migration safety: fail pipeline if schema drift detected after applying pending migrations - Include robust backup creation with fallback strategies for production database - Implement atomic deployment with comprehensive rollback capabilities - Remove automatic migration generation - production requires clean schema state - Remove prod-env-verified step as requested - Update permissions and dependencies for tag-based workflow - Maintain version cleanup (keeping last 3 versions for rollback) This ensures production deployments are safe and only proceed with clean database schema. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
…atically generated and approved. Generated and applied at: Mon Jul 28 21:50:28 UTC 2025
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.
No description provided.