Skip to content

chore: bump owletto pointer + fix unit job CLI dist build#1126

Merged
buremba merged 3 commits into
mainfrom
feat/ci-fixups
May 28, 2026
Merged

chore: bump owletto pointer + fix unit job CLI dist build#1126
buremba merged 3 commits into
mainfrom
feat/ci-fixups

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented May 28, 2026

Two tiny pre-existing CI fixes surfaced while triaging #1121's red checks (both are red on `main` too, so this is hygiene, not regression).

1. `chore(submodule)`: bump owletto pointer to current main

`check-drift` flags that the lobu parent pins `a317d4e` but `owletto/main` has moved on to `6bcdb9c` (one extension fix + two image bumps already merged on owletto's side). Per CLAUDE.md "bump the lobu submodule pointer as a separate PR" — this is that PR.

2. `ci(unit)`: build cli dist before running bin/lobu unit tests

The cli-ux unit test spawns `packages/cli/bin/lobu.js memory browser-auth --help`. The bin shim resolves `../dist/index.js` at runtime; without a prior build the resolver fails with:

```
error: Cannot find module '../dist/index.js' from '/home/runner/work/lobu/lobu/packages/cli/bin/lobu.js'
```
…and the test fails the `expect(out).toContain("--connector")` assertion because the spawned subprocess never started. CI's unit job builds core / connector-sdk / embeddings / connector-worker but not cli; add cli to that list.

Test plan

  • Local: `bun test packages/cli/src/tests/cli-ux.test.ts` → 15 pass / 0 fail (was the failing surface).
  • Local: `PATH="/opt/homebrew/opt/node@22/bin:$PATH" node packages/cli/bin/lobu.js memory browser-auth --help` after `make build-packages` prints the expected `--connector` flag.
  • CI verifies the rest: `unit` and `check-drift` go green on this PR.

View with Codesmith Autofix with Codesmith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

buremba added 2 commits May 28, 2026 16:56
The cli-ux unit test spawns `packages/cli/bin/lobu.js memory browser-auth
--help`. The bin shim resolves `../dist/index.js` at runtime; without a
prior build the resolver fails with `Cannot find module '../dist/index.js'`
and the test fails on `expect(out).toContain("--connector")` because the
spawned subprocess never started.

Local invocation of the bin worked because make build-packages had run;
CI's unit job builds core/connector-sdk/embeddings/connector-worker but
not cli, so the bin was always broken under CI. Add cli to the build list.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Warning

Review limit reached

@buremba, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 3 minutes and 14 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fbd9d0ad-3a9b-4b32-8586-d753a2d948cf

📥 Commits

Reviewing files that changed from the base of the PR and between 8ec3a81 and 1873e66.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • packages/owletto
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/ci-fixups

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.

@buremba buremba merged commit 199fb2f into main May 28, 2026
21 checks passed
@buremba buremba deleted the feat/ci-fixups branch May 28, 2026 16:04
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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