• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / postgres-meta
80%

Build:
DEFAULT BRANCH: master
Repo Added 05 Feb 2025 02:24AM UTC
Token dkrWg0RpT2TL6jXoq6lIpRNJ8wSPIO5I9 regen
Build 274 Last
Files 81
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • add-application-name
  • avallete-patch-1
  • avallete/fix-indexes-array-results
  • avallete/pg-add-maximum-query-resultsize-limit
  • avallete/pgmeta-60-fastifyerror-request-body-is-too-large
  • avallete/pgmeta-63-generated-types-not-consistently-reproducible
  • avallete/pgmeta-73-suboptimal-tables-query-schema-filter-happens-late
  • avallete/pgmeta-74-add-a-way-on-postgres-meta-repository-to-trigger-canary
  • charis/primary-key-order
  • chore-review-actions
  • chore/add-python-types-runtime-canary-check
  • chore/add-sentry-monitoring
  • chore/bump-pgsql-parser
  • chore/cd-perms
  • chore/coveralls
  • chore/ignore-sentryclirc
  • chore/isolate-function-type-generation
  • chore/refactor-typegen-loops
  • chore/sec-955
  • chore/update-codeowners
  • chore/update-result-size-env-format
  • chore/upgrade-deps
  • ci/fix-canary-comment-action
  • claude/add-zod-jsonschema-generator-6hC8j
  • claude/bump-node-22
  • claude/funny-tesla-wofjdj
  • claude/postgres-meta-shutdown-2crvqs
  • claude/release-pipeline-failure-vsz7bs
  • close-both-apps
  • copilot/add-python-type-generator-support
  • davidcamachocateura/api-1579-prevent-requests-to-generatorstypescript-from-overloading
  • davidcamachocateura/api-1585-add-option-to-use-workers-to-format-types
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/github-script-8
  • dependabot/github_actions/actions/setup-node-5
  • dependabot/github_actions/actions/setup-node-6
  • dependabot/github_actions/aws-actions/configure-aws-credentials-5
  • dependabot/github_actions/aws-actions/configure-aws-credentials-6
  • dependabot/github_actions/cycjimmy/semantic-release-action-5
  • dependabot/npm_and_yarn/fastify-4.29.1
  • dependabot/npm_and_yarn/multi-c22e25d29b
  • dependabot/npm_and_yarn/pino-pretty-13.1.1
  • dependabot/npm_and_yarn/pino-pretty-13.1.2
  • dependabot/npm_and_yarn/vite-6.2.4
  • dependabot/npm_and_yarn/vite-6.2.5
  • dependabot/npm_and_yarn/vite-6.2.6
  • dependabot/npm_and_yarn/vite-6.3.4
  • dependabot/npm_and_yarn/vite-6.3.6
  • dependabot/npm_and_yarn/vite-6.4.1
  • dependabot/npm_and_yarn/vitest-3.0.5
  • etienne/bump-ci
  • etienne/sec-574-trusted-publisher-pg-meta
  • etienne/sec-666
  • etienne/sec-822
  • feat/add-functions-setof-type-introspection
  • feat/add-functions-setof-type-introspection-v2
  • feat/add-idle-timeout-session
  • feat/add-internal-supabase-options-schema
  • feat/application-name
  • feat/json-generator-metadata
  • feat/json-metadata-output
  • feat/no-transaction-parameter
  • feat/parameter-binding
  • feature/python-generator
  • fix-remove-cache-release-action
  • fix/add-graceful-exit-logging
  • fix/add-query-timeout
  • fix/catch-invalid-url-early
  • fix/composite-type-fields-nullable
  • fix/correct-instantiate-spelling
  • fix/docs-swagger-ui-github-token
  • fix/functions-typescript-type-definition
  • fix/go-type-name-crash-on-underscore
  • fix/inconsistent-function-return-types
  • fix/interval-go-swift-type-maps
  • fix/non-included-schemas-filters
  • fix/npm-release-repository-format
  • fix/nullable-interval-types
  • fix/only-add-statement-timeout-on-direct-connection
  • fix/postgres-meta-query-timeout-bypass
  • fix/prefer-current-schema-typescript-typegen
  • fix/python-optional-nullable-columns-insert-update
  • fix/query-timeout-connection-closing
  • fix/respect-pg-meta-db-port-encrypted-header
  • fix/sec-912
  • fix/tables-retrieve-non-public-schema
  • fix/this-end-is-not-a-function-error
  • fix/trigger-release
  • fix/ts-template-default-schema
  • fix/ts-typegen-stable-functions-union-orders
  • fix/typegen-go-array-types
  • fix/typegen-rows-one-array
  • fix/typescript-type-generation
  • fix/typescrypt-gen-args-sorting
  • fix/union-unknown-null
  • fix/upgrade-pg-for-scraml-handling
  • fix/view-insert-update-types-with-instead-of-triggers
  • fix_querytable_id
  • gwax/add-enum-constants
  • kiwicopple-patch-1
  • or/entity-route-test-coverage
  • referenced_column_sort_fix
  • silentworks/python-type-gen-fix
  • supabase-numeric-to-swift-decimal
  • tests
  • upgrade-github-actions-node24
  • upgrade-github-actions-node24-general

31 Aug 2026 03:02PM UTC coverage: 79.944% (-4.2%) from 84.113%
33406142349

push

github

web-flow
feat: consume @supabase/postgrest-typegen for type generation (#1084)

* feat: consume @supabase/postgrest-typegen for type generation

Integrate the extracted @supabase/postgrest-typegen package as the single
source of truth for type generation, replacing the embedded templates.

- src/lib/generators.ts: rewrite getGeneratorMetadata as a ~30-line adapter
  over the package's introspect(). It wraps pgMeta.query into the package's
  structural Queryable (throws on {error}), preserves the
  Promise<PostgresMetaResult<GeneratorMetadata>> contract, surfaces the first
  query error, and still ends the pool. Re-exports GeneratorMetadata from the
  package.
- src/server/server.ts: getTypeOutput now calls getGeneratorMetadata +
  generateTypescript/Go/Python/Swift, threading GENERATE_TYPES_DEFAULT_SCHEMA,
  POSTGREST_VERSION, detect-1:1, and Swift access-control env values. Behavior
  freeze: the CLI path still only supports included schemas.
- src/server/routes/generators/*.ts: swap `apply` template imports for the
  package's generateX; query params, headers, and error shapes unchanged.
- Delete src/server/templates/*.ts and test/server/templates/go.test.ts;
  re-point test/types.test.ts's pgTypeToTsType import and constants.ts's
  AccessControl import to the package; drop the now-unused VALID_* constants.
- Keep PostgresMetaRelationships.ts and src/lib/sql/*.sql.ts (they back the
  REST endpoints) — accepted temporary duplication.

`npm run check` passes. Full-suite byte-parity validation is Phase 2.3
(PGMETA-114). The dependency is pinned to 1.0.0-alpha.1; local validation
installs it from Verdaccio via an uncommitted scoped .npmrc, and the lockfile
is finalized when the package is published to npm (Phase 3).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B53a2ayu9d16u821FQ5Qqz

* chore: point @supabase/postgrest-typegen at pkg-pr-new preview build

The package isn't published to npm yet; pin th... (continued)

706 of 988 branches covered (71.46%)

Branch coverage included in aggregate %.

34 of 63 new or added lines in 8 files covered. (53.97%)

119 existing lines in 6 files now uncovered.

4679 of 5748 relevant lines covered (81.4%)

50.89 hits per line

Relevant lines Covered
Build:
Build:
5748 RELEVANT LINES 4679 COVERED LINES
50.89 HITS PER LINE
Source Files on master
  • Tree
  • List 80
  • Changed 15
  • Source Changed 9
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33406142349 master feat: consume @supabase/postgrest-typegen for type generation (#1084) * feat: consume @supabase/postgrest-typegen for type generation Integrate the extracted @supabase/postgrest-typegen package as the single source of truth for type generation, ... push 31 Aug 2026 03:04PM UTC web-flow github
79.94
31820444672 master Merge pull request #1103 from supabase/claude/postgres-meta-shutdown-2crvqs fix: Add configurable shutdown grace period for graceful server termination push 14 Aug 2026 04:42PM UTC web-flow github
84.11
31515034666 master feat: Add an option to use workers for typescript formatting (#1102) * feat: Add option to use worker for typescript formatting * Reduce duration to prevent timeouts push 11 Aug 2026 04:58PM UTC web-flow github
83.79
31493790393 master fix: avoid quadratic relationship lookup in typescript generator (#1101) push 11 Aug 2026 01:00PM UTC web-flow github
84.02
31095570121 master fix(ci): pass GITHUB_TOKEN to swagger-ui-action in docs workflow (#1099) The Docs workflow fails at the Generate Swagger UI step with '[@octokit/auth-action] GITHUB_TOKEN variable is not set'. The action uses the token to query and download the s... push 06 Aug 2026 11:03AM UTC web-flow github
84.0
31095232094 master chore: bump Node.js runtime to 22 (#1098) Node 20 reached end-of-life in April 2026. Bump the runtime used for CI, releases, and the published Docker image to Node 22: - .nvmrc: v20 -> v22 (used by ci, release, canary-deploy, docs workflows) -... push 06 Aug 2026 10:58AM UTC web-flow github
84.0
31091366812 master fix(ci): pin npm to v11 in release workflow (#1097) npm 12 dropped support for Node 20 (requires ^22.22.2 || ^24.15.0 || >=26.0.0), so 'npm install -g npm@latest' now fails on the Node 20 runner pinned by .nvmrc. Pin to npm@11, which supports Nod... push 06 Aug 2026 10:01AM UTC web-flow github
84.0
31029596775 master fix(typegen): only collapse ROWS 1 return types when SetofOptions is emitted (#1096) * fix(typegen): only collapse ROWS 1 return types when SetofOptions is emitted * fix: update snapshots push 05 Aug 2026 05:22PM UTC web-flow github
84.0
29594029941 master fix: improve literal escapes (#1090) * fix: missing ident on role management * fix: correctly literal for GUC values * chore: prettier push 17 Jul 2026 03:56PM UTC web-flow github
84.0
25808869440 master Merge pull request #1076 from supabase/fix/upgrade-pg-for-scraml-handling fix: upgrade pg package push 13 May 2026 03:27PM UTC web-flow github
84.0
See All Builds (274)

Badge your Repo: postgres-meta

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc