Skip to content

Move off @launchql/protobufjs to @constructive-io/protobufjs 7.6.6 - #150

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
feat/constructive-protobuf
Nov 25, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
feat/constructive-protobuf

Conversation

@pyramation

@pyramation pyramation commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Part of constructive-io/pgsql-parser#405. Drops @launchql/protobufjs@7.2.6 (missing 11 upstream security fixes) in favor of @constructive-io/protobufjs@7.6.6, the rebased fork. Workspace manifests, lockfile and pnpm policy updated; 64 suites / 894 tests pass.


libpg-query and parser opened this PR for Dan
Implemented in session Remove vulnerable protobufjs fork from pg-proto-parser
Review with Devin · Open in Devin Desktop


Summary by CodeRabbit

  • Chores
    • Updated development tool version requirements across the project for more consistent builds.
    • Revised workspace package exclusions, adding two packages and removing several others.
    • Removed permission for one package to run install scripts.

@luxor-code-review

luxor-code-review Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 CI pins PGPM_VERSION 5.18.0 while devDeps now require 5.41.30 (ci.yml) — This PR bumps the pgpm devDependency to ^5.41.30 across all 27 workspace packages, but CI still installs the globally cached CLI at PGPM_VERSION: 5.18.0 in .github/workflows/ci.yml, .github/workflows/integration-test.yml, and .github/workflows/supabase.yml.

This is a config-only change: 28 package.json manifests get a pgpm floor bump from ^5 to ^5.41.30, the root bumps pgsql-test to ^5.20.16, and the pnpm supply-chain policy files are reconciled — stale first-party excludes are dropped, graphile-history/graphile-meta are newly excluded from the release-age wait, and the @launchql/protobufjs install-script waiver is removed from both pnpm-workspace.yaml and pnpm-policy.yaml consistently.

Files Change
package.json, all packages/*/package.json Dependency floor bumps: pgpm → ^5.41.30, root pgsql-test → ^5.20.16
pnpm-workspace.yaml, pnpm-policy.yaml minimumReleaseAgeExclude list pruned/extended; @launchql/protobufjs removed from allowBuilds in both files

One low-severity observation: the CI workflow pins PGPM_VERSION 5.18.0, which now lags the new pgpm 5.41.x floor the manifests declare.

Reviewed commit: b1a511d

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

This change narrows pgpm development dependency ranges across package manifests, updates pgsql-test ranges, revises pnpm workspace exclusions, and removes the @launchql/protobufjs install-script allowance.

Changes: Development dependency ranges

Layer / File(s) Summary
Update development dependency ranges
package.json, packages/*/package.json
Package manifests narrow pgpm ranges from ^5 to ^5.41.30. The root and Supabase manifests update pgsql-test to ^5.20.16.

pnpm workspace policies

Layer / File(s) Summary
Revise workspace exclusions
pnpm-workspace.yaml
The exclusions add graphile-history and graphile-meta and remove several package entries. The comment updates the exclusion count from 52 to 46.
Remove protobufjs install-script allowance
pnpm-policy.yaml, pnpm-workspace.yaml
The @launchql/protobufjs install-script allowance is removed. The nx and unrs-resolver entries remain.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: Minimal · up to b1a51 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Security architecture risk: Low · up to b1a51

The update removes the old protobuf dependency from the lockfile and removes its install-script approval. It also exempts two newly resolved development dependencies from the two-day release waiting period. That creates a narrow supply-chain exposure when dependencies are resolved again; the review found no expansion of deployed service access or permissions.

Retained concerns

  • Low · security · inferred: On pnpm clients that enforce the two-day release gate, fresh resolution can select newly published graphile-history and graphile-meta versions without waiting. Neither package was resolved or individually exempt at the base. The new exposure requires influence over a release selected by the toolchain; the checked-in versions do not float during a frozen install, and neither package gains install-script approval.
Security review details

Security Blast Radius

  • inferred — The new release-age exemptions affect workspace toolchain resolution on clients that enforce the gate. The policy change does not grant registry publishing rights or production service permissions.

Trust Boundaries and Controls

  • observed — The checked CI workflows still install with pnpm 9, which predates the build allowlist. The main CI workflow checks policy drift after installation. Removing the old approval therefore tightens the policy on enforcing clients, not the existing CI install-script boundary.

Hardening Proposals

  • proposed — Pin CI and local installs to a supported pnpm version that enforces the intended workspace controls, and verify that a frozen install succeeds without restoring the removed build approval.
Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: replacing @launchql/protobufjs with @constructive-io/protobufjs 7.6.6. The raw summary shows dependency bumps of pgpm and pgsql-test, and removal of the @launchql/prot…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: replacing @launchql/protobufjs with @constructive-io/protobufjs 7.6.6. The raw summary shows dependency bumps of pgpm and pgsql-test, and removal of the @launchql/protobufjs allowBuilds entry. The objectives confirm the swap of @launchql/protobufjs@7.2.6 for the rebased @constructive-io/protobufjs@7.6.6. The summary does not show the protobufjs package.json swap itself, since the excluded lockfile holds most of that change. The title is specific and accurate for the stated objective.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

package.json

ESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox.

packages/app-scope/package.json

ESLint skipped: the matched ESLint configuration already failed (missing-dependency).

packages/base32/package.json

ESLint skipped: the matched ESLint configuration already failed (missing-dependency).

  • 25 others
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 41b6640 and b1a511d.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
Files selected for processing: 30

  • package.json
  • packages/app-scope/package.json
  • packages/base32/package.json
  • packages/database-jobs/package.json
  • packages/db-utils/package.json
  • packages/defaults/package.json
  • packages/errors/package.json
  • packages/faker/package.json
  • packages/function-resolution/package.json
  • packages/geotypes/package.json
  • packages/inflection-db/package.json
  • packages/inflection/package.json
  • packages/infra-utils/package.json
  • packages/jwt-claims/package.json
  • packages/ltree-helpers/package.json
  • packages/measurements/package.json
  • packages/metaschema-modules/package.json
  • packages/metaschema-schema/package.json
  • packages/object-store/package.json
  • packages/object-tree/package.json
  • packages/partman/package.json
  • packages/stamps/package.json
  • packages/supabase/package.json
  • packages/totp/package.json
  • packages/types/package.json
  • packages/utils/package.json
  • packages/uuid/package.json
  • packages/verify/package.json
  • pnpm-policy.yaml
  • pnpm-workspace.yaml
Files with no reviewable changes: 1

  • pnpm-policy.yaml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@socket-security

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
Updatedpgpm@​5.8.0 ⏵ 5.41.3086 +1410010098100
Updatedpgsql-test@​5.20.13 ⏵ 5.20.1692 +310010098 +1100

View full report

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@devin-ai-integration
devin-ai-integration Bot merged commit 8a624ef into main Nov 25, 2026
31 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the feat/constructive-protobuf branch November 25, 2026 23:42
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