Skip to content

feat(publish): rule-engine package, config init scaffolding, and crates.io release automation - #50

Merged
ankur-paan merged 1 commit into
mainfrom
feat/publish-rule-engine-and-init-scaffold
Oct 23, 2026
Merged

ankur-paan merged 1 commit into
mainfrom
feat/publish-rule-engine-and-init-scaffold

Conversation

@ankur-paan

Copy link
Copy Markdown
Collaborator

Summary

This pull request introduces the primary rule-engine package (with ruleengine alias), embedded streaming SQL library exports, runtime configuration scaffolding via rule-engine init, and full CI release automation for crates.io.

Key Changes

  1. New Crates:
    • rule-engine: Provides rule-engine, kuiperd, and rekuiperd binaries, plus library re-exports for core and sql so developers can embed the streaming SQL engine directly in Rust applications (use rule_engine::sql::Parser;).
    • ruleengine: Alias binary crate reserving the unhyphenated name on crates.io and delegating to kuiperd::run_daemon().
  2. Configuration Init Scaffolding:
    • Implemented rule-engine init / kuiperd init (and --init flag) in crates/kuiperd/src/lib.rs.
    • Scaffolds ./etc/kuiper.yaml, mqtt_source.yaml, client.yaml, ./data/, and ./log/ on demand using compile-time templates. Supports --dir <path> and --force.
  3. Workspace & Topological Publishing Hygiene:
    • Explicit version constraints (version = "1.0.0-rc4") configured in root Cargo.toml.
    • Removed circular [dev-dependencies] on rekuiper-sql from rekuiper-core by moving plugin integration tests to rekuiper-server/tests/.
  4. Release Automation:
    • Added publish-cargo job to .github/workflows/release.yml to automatically publish all 9 workspace crates to crates.io in topological order using the CARGO_REGISTRY_TOKEN secret.
  5. Documentation:
    • Added Section 8 ("Cargo (crates.io) Installation") to docs/en_US/installation.md following the ASD-STE100 standard.
    • Included clean light-theme architecture SVG diagram docs/en_US/public/diagrams/cargo-install-flow.svg.
  6. Local CI Verification:
    • Updated scripts/run_full_ci.sh to test all workspace packages; verified 100% pass on WSL ext4 across fmt, advisories, isolation, clippy (-D warnings), and all unit/integration test suites.

Verification

  • Local CI (scripts/run_full_ci.sh) executed in WSL ext4: PASSED.
  • All 9 packages live on crates.io under version 1.0.0-rc4.
  • Doc-tests for rule-engine embedder API passed.

Copilot AI balanced review requested due to automatic review settings October 22, 2026 18:58
@vercel

vercel Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ekuiper Ready Ready Preview Oct 22, 2026 6:58pm UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@ankur-paan
ankur-paan merged commit 1944db4 into main Oct 23, 2026
9 checks passed
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.

2 participants