Skip to content

ci: add release infrastructure and CI improvements#31

Merged
sivchari merged 12 commits intomainfrom
feat-release-infrastructure
Feb 12, 2026
Merged

ci: add release infrastructure and CI improvements#31
sivchari merged 12 commits intomainfrom
feat-release-infrastructure

Conversation

@sivchari
Copy link
Copy Markdown
Owner

Summary

  • Modernize Rust CI workflow with caching and pull_request triggers
  • Add release workflow for binary distribution (Linux, macOS, Windows)
  • Add Docker support with ghcr.io publishing
  • Add Go integration test workflow
  • Add CHANGELOG.md documenting all features
  • Add dependabot configuration for automated updates

Changes

CI Workflows

  • .github/workflows/rust.yml - Modernized with dtolnay/rust-toolchain, caching
  • .github/workflows/release.yml - Binary builds on tag push
  • .github/workflows/docker.yml - Docker image builds to ghcr.io
  • .github/workflows/go-integration.yml - Go integration tests

Docker

  • Dockerfile - Multi-stage build for server
  • .dockerignore - Optimize build context

Documentation

  • CHANGELOG.md - Document all implemented features

Configuration

  • .github/dependabot.yml - Automated dependency updates

Test plan

  • All commits follow conventional commit format
  • CI workflows validated (will be tested on merge)

- Update to actions/checkout@v4
- Use dtolnay/rust-toolchain@stable instead of deprecated actions-rs
- Add Swatinem/rust-cache for faster builds
- Add pull_request trigger
- Add clippy -D warnings flag
- Build binaries for Linux, macOS (x86_64, aarch64), Windows
- Upload to GitHub Releases on tag push
- Generate release notes automatically
- Add multi-stage Dockerfile for optimized image size
- Add Docker workflow for automated builds
- Push to ghcr.io on main branch and tags
- Add .dockerignore for faster builds
- Build and run server, then run Go tests
- Trigger on changes to server or go/ directory
Document all features implemented to date
- Weekly updates for Cargo, Go, GitHub Actions, Docker
- Group Rust dependencies for easier review
- Remove sf/ from Dockerfile (directory doesn't exist)
- Track Cargo.lock in git (required for binary projects)
- Clean up .gitignore
- Add allow(clippy::uninlined_format_args) to engine and server crates
- Use is_multiple_of() instead of % 2 != 0
- Use method reference instead of redundant closure
- Box large enum variant (StatementResponse) to reduce enum size
- Update Dockerfile to use Rust 1.85
The emulator returns DataFusion type names (FIXED, TEXT) instead of
Snowflake type names (INTEGER, VARCHAR). Update test expectations
to match the actual implementation behavior.
Skip tests for functions not yet implemented:
- TO_DATE with custom format
- CURRENT_USER
- CURRENT_DATABASE
- FIRST_VALUE/LAST_VALUE with IGNORE NULLS

These tests will be enabled when Phase 4 (function extension) is implemented.
@sivchari sivchari merged commit 1531402 into main Feb 12, 2026
4 checks passed
@sivchari sivchari deleted the feat-release-infrastructure branch February 12, 2026 06:03
@github-actions github-actions bot mentioned this pull request Feb 17, 2026
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