Add GitHub Actions CI/CD pipeline and comprehensive documentation for WAL/replication#3
Add GitHub Actions CI/CD pipeline and comprehensive documentation for WAL/replication#3
Conversation
Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
…ntributing Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
…ments Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
|
@copilot Remove docker-tests and fix that basic tests in "Run tests" gives: |
Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
Fixed in commit 8c53489:
The error was caused by the default |
|
@copilot Step "Install PostgreSQL 17" errors with: |
Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
Fixed in commit da25e15: The issue was caused by trying to start a non-existent service
The service will start PostgreSQL 17 since it's the only version installed. |
|
@copilot Error in "Run tests": ERROR: extension "pg_bleve" is not available |
…er is used Co-authored-by: MagicFun1241 <25639816+MagicFun1241@users.noreply.github.com>
Fixed in commit 003d5fa: The issue was caused by conflicting PostgreSQL versions on the system. The fix:
This ensures the extension is installed and loaded from PostgreSQL 17 directories only. |
Summary
This PR implements comprehensive CI/CD infrastructure and documentation for pg_bleve extension.
Completed Tasks ✅
Recent Changes
Latest commit fixes:
-p 5432to ensure connection to the correct clusterpg_lsclustersoutput for debugging cluster configurationPrevious fixes:
postgresql@17-mainwhich doesn't existpostgresqlservice which automatically manages the installed versionFiles Added/Modified
New Files:
.github/workflows/ci.yml- CI/CD pipelinetests/comprehensive_test.sql- Full test suitetests/README.md- Test documentationdocs/ARCHITECTURE.md- Architecture detailsdocs/REPLICATION.md- Replication guidedocs/QUICKREF.md- Quick referenceCONTRIBUTING.md- Contribution guidelinesscripts/verify_ci.sh- Local verificationIMPLEMENTATION_SUMMARY.md- This summaryModified Files:
README.md- Added CI badge, limitations, docs links.gitignore- Better artifact exclusionsdocker-compose.yml- Test file mountsWhat Works
✅ CI/CD pipeline with automated testing
✅ Comprehensive test coverage
✅ CREATE INDEX bleve() syntax
✅ All search operators
✅ Docker deployment
✅ Complete documentation
✅ PostgreSQL 17 explicit support
✅ Correct PostgreSQL service management
✅ Clean PostgreSQL 17-only installation
Known Limitations (Documented)
See docs/REPLICATION.md for workarounds and future plans.
Testing
Run locally:
./scripts/verify_ci.shCI runs automatically on PR/push to master
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.