SQL validation infrastructure and Liquibase view file protection#8339
Merged
SQL validation infrastructure and Liquibase view file protection#8339
Conversation
…nfiguration Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve extract sample data scripts and timeout handling
Fix extract-sample-data timeout handling and ensure complete schema extraction
Feb 5, 2026
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Fix extract-sample-data timeout handling and ensure complete schema extraction
Add extraction summary report with timeout and error tracking
Feb 5, 2026
…ation Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Add extraction summary report with timeout and error tracking
SQL script validation framework and extraction improvements
Feb 5, 2026
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
…e process Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
…on process Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
SQL validation framework: fix syntax errors and standardize documentation
Revert manual edits to full_schema.sql and enforce pg_dump regeneration process
Feb 5, 2026
…gnore Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Revert manual edits to full_schema.sql and enforce pg_dump regeneration process
Enhance SQL extraction scripts with timeout handling, comprehensive testing framework, and validation
Feb 5, 2026
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Enhance SQL extraction scripts with timeout handling, comprehensive testing framework, and validation
Improve extract-sample-data scripts with timeout handling, comprehensive SQL validation, and documentation
Feb 5, 2026
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Improve extract-sample-data scripts with timeout handling, comprehensive SQL validation, and documentation
Improve extract-sample-data scripts: timeout handling, complete coverage, and Liquibase integrity fixes
Feb 5, 2026
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Improve extract-sample-data scripts: timeout handling, complete coverage, and Liquibase integrity fixes
Improve extract-sample-data scripts: timeout handling, complete extraction, testing framework
Feb 5, 2026
…ster state Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
Improve extract-sample-data scripts: timeout handling, complete extraction, testing framework
SQL validation infrastructure and Liquibase view file protection
Feb 5, 2026
|
📊 JSON Schema Validation ResultsValidation Summary:
Schema Status
📄 Full Report: See uploaded artifacts for detailed validation report ℹ️ Status: Field mismatches are documented and tracked. These represent differences between original projected schemas and actual implemented data. 📄 Data-Validated Schemas: See |
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
Implemented comprehensive SQL validation infrastructure for 31 SQL scripts across 7 categories. Added automated testing framework, fixed syntax errors, and ensured Liquibase view SQL files remain unmodified.
Key changes:
test-sql-scripts.shwith syntax validation, documentation checking, and safe execution testing. Generates CSV reports with categorization.SQL_SCRIPTS_REFERENCE.mdcataloging all 31 scripts with usage patterns, quick reference by use case, and safety warnings for destructive operations.Type of Change
Primary Changes
Technical Changes
Impact Analysis
Political Analysis Impact
Technical Impact
Testing
Documentation
Checklist
Additional Notes
Critical fix: Liquibase view SQL files (view_.sql) must remain unmodified as they're referenced by db-changelog-.xml files. Any modifications break schema migrations. Files restored to exact master branch state.
Test framework supports:
Security Considerations
Release Notes
Added SQL validation infrastructure with automated testing framework for 31 database scripts. Fixed syntax errors in 7 scripts. Enhanced data extraction with timeout tracking and summary reporting. Protected Liquibase view SQL files from accidental modification.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.