Skip to content

chore: bump @altimateai/altimate-core to 0.5.1#925

Merged
anandgupta42 merged 1 commit into
mainfrom
chore/bump-core-0.5.1
Jun 10, 2026
Merged

chore: bump @altimateai/altimate-core to 0.5.1#925
anandgupta42 merged 1 commit into
mainfrom
chore/bump-core-0.5.1

Conversation

@anandgupta42

@anandgupta42 anandgupta42 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Bumps the bundled @altimateai/altimate-core engine dependency in packages/opencode from 0.4.0 to the latest published release 0.5.1.

  • packages/opencode/package.json — version pin 0.4.00.5.1
  • bun.lock — resolved version plus the five per-platform native binaries (darwin-arm64, darwin-x64, linux-arm64-gnu, linux-x64-gnu, win32-x64-msvc) move in lockstep

The transitive @altimateai/altimate-core@0.1.6 pulled in by @altimateai/dbt-integration is intentionally left unchanged.

Type of change

  • Chore / dependency bump

Issue for this PR

Closes #924

How did you verify your code works?

  • bun install resolves cleanly and rewrites the lockfile to 0.5.1 across all platforms
  • bun run typecheck (tsgo --noEmit) passes in packages/opencode with the new version

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have verified the change builds/typechecks

Summary by cubic

Upgrades @altimateai/altimate-core in packages/opencode from 0.4.0 to 0.5.1 to pick up the latest engine fixes. Build and typechecks pass.

  • Dependencies
    • Updated packages/opencode/package.json to 0.5.1.
    • Refreshed bun.lock, including per-platform binaries (darwin-arm64, darwin-x64, linux-arm64-gnu, linux-x64-gnu, win32-x64-msvc).
    • Left transitive @altimateai/altimate-core@0.1.6 via @altimateai/dbt-integration unchanged.

Written for commit be597f7. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Chores
    • Updated core library dependency to a newer stable version.

Update the bundled core engine dependency in `packages/opencode` from
`0.4.0` to the latest published release `0.5.1`.

- `packages/opencode/package.json`: bump version pin
- `bun.lock`: resolved version and per-platform native binaries
  (`darwin-arm64`, `darwin-x64`, `linux-arm64-gnu`, `linux-x64-gnu`,
  `win32-x64-msvc`) move in lockstep

Verified `bun install` resolves cleanly and `bun run typecheck` passes.

Closes #924

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@anandgupta42 anandgupta42 merged commit ea6a2a0 into main Jun 10, 2026
18 checks passed
@anandgupta42 anandgupta42 deleted the chore/bump-core-0.5.1 branch June 10, 2026 17:51
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: d914380f-54ed-40a5-b6a7-c79aaf52b3bf

📥 Commits

Reviewing files that changed from the base of the PR and between 2aa8b0e and be597f7.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • packages/opencode/package.json

Disabled knowledge base sources:

  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.


📝 Walkthrough

Walkthrough

Updated @altimateai/altimate-core dependency from 0.4.0 to 0.5.1 in packages/opencode/package.json to integrate the latest SQL/equivalence/rewrite engine fixes and features. Native platform binaries are resolved via lockfile.

Changes

Dependency Update

Layer / File(s) Summary
Core engine dependency version update
packages/opencode/package.json
@altimateai/altimate-core dependency bumped from 0.4.0 to 0.5.1 to pull the latest engine fixes and features. Transitive dependencies and platform binaries are resolved through the lockfile.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A hop and a bump, version now new,
Core engine shines with fixes so true,
Platform binaries lock in place,
SQL rewrite finds faster pace!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-core-0.5.1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

anandgupta42 added a commit that referenced this pull request Jun 10, 2026
altimate-core 0.5.1 (#925) added an optional `dialect` arg to
`checkEquivalence` and a `decidable` flag on `EquivalenceResult`. The dbt
PR reviewer already threads a dialect end-to-end, but commit 89f77a7
had to DROP it at the engine boundary because 0.4.0 only took 3 params.
This forwards it now that 0.5.1 accepts it, and consumes `decidable`.

- `native/altimate-core.ts`: forward the dialect hint to
  `core.checkEquivalence`. Use `|| undefined` (not `??`) so the default
  empty `ReviewConfig.dialect` coerces to "no hint" — the engine throws
  on `unknown dialect ''`, and "" must mean auto-detect.
- `native/sql/register.ts`: same dialect forwarding + coercion in the
  `sql.diff` handler.
- `native/types.ts`: declare `dialect?` on `SqlDiffParams`.
- `review/runner.ts`: honor the engine's authoritative `decidable` flag
  (`data.decidable !== false`). Strictly safer — only ever abstains more;
  backward-compatible when the field is absent (0.4.0 shape).

Tests (all real-engine where it counts):
- `altimate-core-native.test.ts`: dialect forwarding changes parse
  outcome, `decidable` surfaced true/false, empty-string coercion, sql.diff.
- `review-equivalence-e2e.test.ts`: full `runReview` pipeline →
  real engine — non-equivalent caught, equivalent stays silent, identical
  skipped, projection change caught, and the default empty-string-dialect
  path still decides (regression guard).
- `review-runner.test.ts`: runner honors decidable=false / true / absent.

Verified: `bun run typecheck` clean, marker check clean, full new-test
suite green. Reviewed via multi-model consensus (Gemini independently
caught the empty-string dialect throw, now fixed + guarded).

The pre-existing sibling sites (`columnLineage`/`formatSql`/etc.) share
the empty-string fragility but are protected by `run.ts` resolving the
dialect first; tracked separately in #927.

Closes #926

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: bump @altimateai/altimate-core to 0.5.1

1 participant