Skip to content

build(release): pin and prove LadybugDB 0.18.1#124

Merged
100yenadmin merged 12 commits into
mainfrom
fix/electric2-ladybug-package
Jul 14, 2026
Merged

build(release): pin and prove LadybugDB 0.18.1#124
100yenadmin merged 12 commits into
mainfrom
fix/electric2-ladybug-package

Conversation

@100yenadmin

@100yenadmin 100yenadmin commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

  • pin @ladybugdb/core to exact 0.18.1 without unrelated lockfile churn
  • build one deterministic release tarball and prove that same artifact on Linux, macOS, and Windows
  • fail closed on checksum, package identity, dependency version, direct native import, CLI, or MCP help drift
  • require all three original platform proofs before recovery publication

Closes #120

Focused proof

  • node --test .github/scripts/check-electric-release-policy.test.mjs .github/scripts/verify-electric-package.test.mjs (58 passed)
  • node .github/scripts/check-electric-release-policy.mjs
  • actionlint .github/workflows/electric-release.yml .github/workflows/electric-release-resume.yml
  • Prettier and git diff --check
  • rebuilt @ladybugdb/core direct import: 0.18.1, Database and Connection available
  • real tarball clean-prefix verifier: checksum, package identity, exact Ladybug version, native import, CLI, and MCP help passed

Safety boundary

No npm/container publication, live index access, embeddings, OpenClaw canary, gateway restart, or local wrapper mutation. Cross-platform native proof remains a required exact-head GitHub Actions gate.

Coordinates with upstream GitNexus abhigyanpatwari#2441 and LadybugDB abhigyanpatwari#681; no duplicate issue is opened.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Electric release packaging now creates a deterministic tarball, verifies it on Linux, macOS, and Windows, and blocks release or recovery completion unless checksum, native loading, vendor, and CLI checks pass. Confidence: 99%.

Changes

Electric package proof

Layer / File(s) Summary
Package verifier and fixture coverage
.github/scripts/verify-electric-package.mjs, .github/scripts/verify-electric-package.test.mjs
Adds checksum, package identity, native export, vendor tree, installed CLI, MCP help, and argument validation checks with temporary cross-platform fixtures.
Deterministic release packaging
.github/workflows/electric-release.yml, .github/scripts/check-electric-release-policy.mjs, .github/scripts/check-electric-release-policy.test.mjs, gitnexus/package.json
Packages and hashes the release tarball without local installation checks, pins @ladybugdb/core to 0.18.1, and updates policy fixtures and assertions.
Matrix proof and release gating
.github/workflows/electric-release.yml, .github/scripts/check-electric-release-policy.mjs, .github/scripts/check-electric-release-policy.test.mjs
Adds the package_proof matrix for macOS, Linux, and Windows and requires it before release mutation.
Policy, recovery, and CI validation
.github/workflows/electric-release-resume.yml, .github/workflows/ci-tests.yml, .github/scripts/check-electric-release-policy.mjs, .github/scripts/check-electric-release-policy.test.mjs
Extends recovery job assertions for all three proof jobs and runs verifier tests in packaged-install smoke CI.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant PackageJob
  participant PackageProof
  participant verifyElectricPackage
  participant ReleaseJob
  PackageJob->>PackageProof: Download tarball and SHA256SUMS
  PackageProof->>verifyElectricPackage: Install and verify on three runner OSes
  verifyElectricPackage-->>PackageProof: Return verification report
  PackageProof->>ReleaseJob: Satisfy package_proof dependency
Loading

Possibly related issues

  • electricsheephq/evaOS-gitnexus issue 113 — Both changes strengthen deterministic npm tarball packaging and release-job validation.

Possibly related PRs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive Core requirements match, but lock-only resolution and churn rejection can't be verified because gitnexus/package-lock.json was filtered out. Confidence 88%. Include gitnexus/package-lock.json in review or surface its diff so lock-only installation and churn rejection can be verified.
✅ Passed checks (4 passed)
Check name Status Explanation
Out of Scope Changes check ✅ Passed The changes stay focused on pinning, verifier coverage, and release gating; no clear unrelated work appears. Confidence 93%.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately captures the main change: pinning and verifying LadybugDB 0.18.1 in the release flow.
Description check ✅ Passed The description matches the changeset and clearly summarizes the pinning, proof workflow, and recovery gates.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/electric2-ladybug-package

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

@socket-security

socket-security Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​ladybugdb/​core@​0.18.0 ⏵ 0.18.169 +11009296 +1100

View full report

@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: aa7996a93a543df024f4931c330ad918ffa559be
Updated: 2026-07-14T16:01:33.798Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@100yenadmin

Copy link
Copy Markdown
Member Author

Exact-head proof for aa7996a93a543df024f4931c330ad918ffa559be: release-policy/package-verifier tests passed 43/43; committed policy checker, actionlint, Prettier, and git diff --check passed; package and lock resolve exact @ladybugdb/core@0.18.1; rebuilt native import exposes Database and Connection; a real tarball clean-prefix install passed checksum, package identity, dependency version, native import, CLI help, and MCP help. The protected release workflow remains the cross-platform same-tarball gate. No publication, index operation, embedding, OpenClaw process, or wrapper was touched.

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: aa7996a93a543df024f4931c330ad918ffa559be into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 3/5 (~42 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +41/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +47/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +149/-0 Changed file Moderate: validated P3 finding
.github/scripts/verify-electric-package.test.mjs added +107/-0 Test coverage Moderate: validated P2 finding
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 2 (P0: 0, P1: 0, P2: 1, P3: 1).
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

  • Release regression: 1
  • Runtime correctness: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.test.mjs
Comment thread .github/scripts/verify-electric-package.mjs
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 7aa2d0e437a17560476bdfc99176eca8210f3f45
Updated: 2026-07-14T16:30:04.547Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@100yenadmin

Copy link
Copy Markdown
Member Author

@evaos-code-review-bot re-review

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

CI Report

All checks passed

Pipeline Status

Stage Status Details
✅ Typecheck success tsc --noEmit
✅ Tests success unit tests, 3 platforms
✅ E2E success gitnexus-web changes only

Test Results

Tests Passed Failed Skipped Duration
14731 14669 0 62 20s

✅ All 14669 tests passed

62 test(s) skipped — expand for details

Code Coverage

Tests

Metric Coverage Covered Base Delta Status
Statements 80.92% 54785/67696 N/A% 🟢 ████████████████░░░░
Branches 68.03% 33676/49498 N/A% 🟢 █████████████░░░░░░░
Functions 87.13% 6373/7314 N/A% 🟢 █████████████████░░░
Lines 84.44% 48881/57886 N/A% 🟢 ████████████████░░░░

📋 View full run · Generated by CI

@evaos-code-review-bot

Copy link
Copy Markdown

evaOS Code Review Bot queued a current-head review for electricsheephq/evaOS-gitnexus#124 at 7aa2d0e437a17560476bdfc99176eca8210f3f45.

Command: re-review from 100yenadmin comment 4971492186.

Safety boundary: command handling cannot approve, merge, repair, push branches, or expand repo permissions.

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 7aa2d0e437a17560476bdfc99176eca8210f3f45 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 3/5 (~44 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +41/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +47/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +153/-0 Changed file Moderate: validated P3 finding
.github/scripts/verify-electric-package.test.mjs added +124/-0 Test coverage Moderate: validated P3 finding
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 2 (P0: 0, P1: 0, P2: 0, P3: 2).
Dropped findings before posting: 1. High-severity findings: 0.

Risk Taxonomy

  • Migration: 1
  • Security boundary: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.test.mjs Outdated
Comment thread .github/scripts/verify-electric-package.mjs Outdated
@100yenadmin
100yenadmin force-pushed the fix/electric2-ladybug-package branch from 7aa2d0e to acefe4a Compare July 14, 2026 16:49
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: acefe4afc05d5516b7e985ec5df54e86ce3bf72c
Updated: 2026-07-14T16:54:42.275Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: acefe4afc05d5516b7e985ec5df54e86ce3bf72c into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 3/5 (~44 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +41/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +47/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +153/-0 Changed file Moderate: validated P3 finding
.github/scripts/verify-electric-package.test.mjs added +124/-0 Test coverage Moderate: validated P2 finding
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Moderate: validated P2 finding

Review Signal

Validated inline findings: 3 (P0: 0, P1: 0, P2: 2, P3: 1).
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

  • Release regression: 2
  • Runtime correctness: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.test.mjs
Comment thread .github/workflows/electric-release.yml
Comment thread .github/scripts/verify-electric-package.mjs
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 54b85fb733e9fd1a0caf32f1777df0e96321f904
Updated: 2026-07-14T17:00:28.707Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 54b85fb733e9fd1a0caf32f1777df0e96321f904 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 4/5 (~54 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +41/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +47/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +192/-0 Changed file Moderate: validated P2 finding
.github/scripts/verify-electric-package.test.mjs added +154/-0 Test coverage Moderate: validated P3 finding
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 3 (P0: 0, P1: 0, P2: 1, P3: 2).
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

  • Release regression: 2
  • Runtime correctness: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.mjs Outdated
Comment thread .github/scripts/verify-electric-package.test.mjs
Comment thread .github/scripts/verify-electric-package.mjs

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/scripts/verify-electric-package.mjs:
- Around line 71-92: Update runCli to pass an explicit finite timeout to
spawnSync, and detect the timeout-specific result when the packaged CLI exceeds
that bound. Throw a clear error identifying that the gitnexus CLI hung or timed
out, while preserving the existing handling for other execution failures and
nonzero exit statuses.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 09659d37-f329-469d-89d2-fa1e630943ab

📥 Commits

Reviewing files that changed from the base of the PR and between 798ae9f and 54b85fb.

⛔ Files ignored due to path filters (1)
  • gitnexus/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (8)
  • .github/scripts/check-electric-release-policy.mjs
  • .github/scripts/check-electric-release-policy.test.mjs
  • .github/scripts/verify-electric-package.mjs
  • .github/scripts/verify-electric-package.test.mjs
  • .github/workflows/ci-tests.yml
  • .github/workflows/electric-release-resume.yml
  • .github/workflows/electric-release.yml
  • gitnexus/package.json
📜 Review details
⏰ Context from checks skipped due to timeout. (15)
  • GitHub Check: tests / macos-latest (platform-sensitive) 2/3
  • GitHub Check: tests / windows-latest (platform-sensitive) 3/3
  • GitHub Check: tests / ubuntu / coverage 3/3
  • GitHub Check: tests / ubuntu / coverage 2/3
  • GitHub Check: tests / windows-latest (platform-sensitive) 2/3
  • GitHub Check: tests / macos-latest (platform-sensitive) 1/3
  • GitHub Check: tests / windows-latest (platform-sensitive) 1/3
  • GitHub Check: tests / macos-latest (platform-sensitive) 3/3
  • GitHub Check: tests / ubuntu / coverage 1/3
  • GitHub Check: tests / packaged install smoke (ubuntu-latest)
  • GitHub Check: tests / benchmarks (GITNEXUS_BENCH)
  • GitHub Check: tests / tree-sitter ABI (windows-latest)
  • GitHub Check: tests / packaged install smoke (windows-latest)
  • GitHub Check: Build gitnexus
  • GitHub Check: Analyze (javascript-typescript)
🧰 Additional context used
📓 Path-based instructions (2)
gitnexus/**

📄 CodeRabbit inference engine (.cursor/rules/100-monorepo.mdc)

For CLI (gitnexus/): Run tests with npm test, integration tests with npm run test:integration, and type-check with npx tsc --noEmit

Files:

  • gitnexus/package.json
gitnexus/package.json

📄 CodeRabbit inference engine (.cursor/rules/100-monorepo.mdc)

Running npm install in gitnexus/ executes prepare script (tsc build) and postinstall script (tree-sitter patches); requires python3, make, and g++ to be installed

gitnexus/package.json: Use npm test for the full CLI/core Vitest suite, npm run test:unit for unit tests, and npm run test:integration for integration tests.
Do not assume a C/C++ toolchain is required for installation; vendored grammar source builds are only fallback behavior, and optional grammars may be skipped with GITNEXUS_SKIP_OPTIONAL_GRAMMARS=1.

Files:

  • gitnexus/package.json
🔇 Additional comments (8)
.github/scripts/verify-electric-package.mjs (1)

1-38: LGTM!

Also applies to: 40-70, 94-192

.github/scripts/verify-electric-package.test.mjs (1)

1-154: LGTM!

gitnexus/package.json (1)

58-58: LGTM!

.github/workflows/electric-release.yml (1)

203-226: LGTM!

Also applies to: 237-279

.github/scripts/check-electric-release-policy.mjs (1)

191-196: LGTM!

Also applies to: 252-266, 275-299, 341-345, 438-440, 457-459

.github/scripts/check-electric-release-policy.test.mjs (1)

62-93: LGTM!

Also applies to: 197-199, 229-231, 474-474, 493-514

.github/workflows/ci-tests.yml (1)

303-305: LGTM!

.github/workflows/electric-release-resume.yml (1)

200-202: LGTM!

Also applies to: 325-327

Comment thread .github/scripts/verify-electric-package.mjs Outdated
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: stale head

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: c92f914d55e91434311d7908467c9bb933c14af6
Updated: 2026-07-14T17:13:02.642Z

evaOS review stopped because this queued head is no longer the live PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 153770093ee2431626b6b664dcda7709ee625e03
Updated: 2026-07-14T17:18:09.791Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 153770093ee2431626b6b664dcda7709ee625e03 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 4/5 (~54 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +41/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +47/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +197/-0 Changed file Low
.github/scripts/verify-electric-package.test.mjs added +180/-0 Test coverage Moderate: validated P3 finding
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Moderate: validated P2 finding
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 2 (P0: 0, P1: 0, P2: 1, P3: 1).
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

  • Flaky test risk: 1
  • Release regression: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/workflows/electric-release-resume.yml
Comment thread .github/scripts/verify-electric-package.test.mjs Outdated
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: eb8cd1d7109e71c7d5defbd9f8cb84558d7be006
Updated: 2026-07-14T17:32:14.525Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: eb8cd1d7109e71c7d5defbd9f8cb84558d7be006 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 4/5 (~54 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +41/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +47/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +212/-0 Changed file Moderate: validated P2 finding
.github/scripts/verify-electric-package.test.mjs added +179/-0 Test coverage Low
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 1 (P0: 0, P1: 0, P2: 1, P3: 0).
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

  • Runtime correctness: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.mjs Outdated
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: stale head

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 4c0966e414823f80b550b882f104f5037195f554
Updated: 2026-07-14T17:38:20.141Z

evaOS review stopped because this queued head is no longer the live PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: stale head

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 307afda46f65553a7dabccba40151f1beb8d9805
Updated: 2026-07-14T17:44:18.699Z

evaOS review stopped because this queued head is no longer the live PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 14, 2026
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 197dbaedd4207a14a63a43d4706cea7d486af357
Updated: 2026-07-14T17:52:50.220Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: 197dbaedd4207a14a63a43d4706cea7d486af357 into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 4/5 (~54 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +44/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +59/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +247/-0 Changed file Moderate: validated P3 finding
.github/scripts/verify-electric-package.test.mjs added +228/-0 Test coverage Elevated: large change
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 1 (P0: 0, P1: 0, P2: 0, P3: 1).
Dropped findings before posting: 1. High-severity findings: 0.

Risk Taxonomy

  • Release regression: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.mjs Outdated
@evaos-code-review-bot

evaos-code-review-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

evaOS review status: completed

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: e1e04dd41e6fdf82dcfa78064b765e818e5c423c
Updated: 2026-07-14T18:17:36.950Z

evaOS review completed for this PR head.

Automation note: agents should wait for this comment to reach completed, stale_head, closed_or_merged_before_review, skipped, or failed before treating evaOS review as settled for this head. provider_deferred means evaOS still intends to retry.

PR URL: #124

Review URL: #124 (review)

@evaos-code-review-bot evaos-code-review-bot Bot 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.

Walkthrough

PR: #124 - build(release): pin and prove LadybugDB 0.18.1
Head: e1e04dd41e6fdf82dcfa78064b765e818e5c423c into main. Review event: COMMENT.
Provider: GLM/Z.ai through ZCode (zcode-glm, zcode, model GLM-5.2).

Estimated review effort: 4/5 (~54 min)

Changed Files

File Status Churn Purpose Risk
.github/scripts/check-electric-release-policy.mjs modified +44/-10 Changed file Low
.github/scripts/check-electric-release-policy.test.mjs modified +59/-5 Test coverage Low
.github/scripts/verify-electric-package.mjs added +253/-0 Changed file Moderate: validated P3 finding
.github/scripts/verify-electric-package.test.mjs added +240/-0 Test coverage Elevated: large change
.github/workflows/ci-tests.yml modified +3/-0 Changed file Low
.github/workflows/electric-release-resume.yml modified +6/-0 Changed file Low
.github/workflows/electric-release.yml modified +43/-13 Changed file Low

Review Signal

Validated inline findings: 1 (P0: 0, P1: 0, P2: 0, P3: 1).
Dropped findings before posting: 0. High-severity findings: 0.

Risk Taxonomy

  • Migration: 1

Validation and Proof

2 required validation/proof recommendation(s) selected from changed files.

  • required: TypeScript/web build or CI proof - Runtime TypeScript/web files or package/config files changed. Proof: npm run build; typecheck; focused Vitest; green GitHub check.
  • required: CI/release smoke proof - CI, release, launchd, or package metadata changed. Proof: green GitHub check; release-status; coverage-audit; rollback note.
    Proof status: missing - 1 required validation/proof recommendation(s) missing from PR metadata.
    Profile validation hints: Call out stale index, wrong repo identity, memory growth, and destructive analyze behavior.
    Profile proof expectations: Look for focused CLI, index, query, or migration proof.

Related Context

Related issues/PRs: #120, abhigyanpatwari#2441, abhigyanpatwari#681.
Suggested labels: tests.
Suggested reviewers: none from current metadata.

Review Settings Preview

  • Profile: assertive
  • Enabled sections: Review summary (inline_review); Walkthrough (inline_review); Changed-files table (walkthrough); Effort estimate (walkthrough); Related issues/PRs (walkthrough); Suggested labels (suggestion_only); Review status comment (sticky_status)
  • Path instructions: none
  • Label suggestions: gitnexus, code-intelligence, backend
  • Reviewer suggestions: none
  • Suggestion behavior: suggestions only; labels and reviewers are not auto-applied.
  • Roadmap-only settings: auto-apply labels; auto-request reviewers; required status checks

Pre-merge checklist

  • Inline comments target current RIGHT-side diff lines.
  • No secret-like content survived into posted inline comments.
  • REQUEST_CHANGES is only used when eligible P0/P1 findings survive validation.
  • Required behavior proof is present or not applicable.
  • Labels and reviewers are suggestions only; the bot did not auto-apply them.

Comment thread .github/scripts/verify-electric-package.mjs
@100yenadmin

Copy link
Copy Markdown
Member Author

Exact-head release-readiness gate complete at e1e04dd41e6fdf82dcfa78064b765e818e5c423c: focused policy/verifier proof 58/58; 45 GitHub checks passed with six expected skips; required checks green; CodeRabbit approved this head; all 16 review threads are terminal with complete pagination; branch diff and hidden-Unicode checks clean. Evidence: /Volumes/LEXAR/Codex/session-notes/2026-07-14/gitnexus-electric-2-sprint/reviews/pr-124.md. Verdict: production-ready.

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.

Electric.2: pin LadybugDB 0.18.1 and prove packaged native loading

1 participant