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

supabase / wrappers
81%

Build:
DEFAULT BRANCH: main
Repo Added 17 Dec 2024 03:43PM UTC
Files 66
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 main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • bnjjj/param_fingerprint_rescan
  • bo/choer/bump-v0.5.1
  • bo/chore/bq-json
  • bo/chore/bump-v0.5.2
  • bo/chore/bump-v0.5.3
  • bo/chore/bump-v0.5.4
  • bo/chore/bump-v0.5.5
  • bo/chore/change-embd-to-s3vec
  • bo/chore/clerk-fdw-release
  • bo/chore/clickhouse-steam-buffer-size
  • bo/chore/coverage-boost
  • bo/chore/coverage-up
  • bo/chore/duckdb
  • bo/chore/fdw-state-drop
  • bo/chore/github-runner
  • bo/chore/iceberg-create-table
  • bo/chore/more-tests
  • bo/chore/notion-0.1.1
  • bo/chore/pg18
  • bo/chore/remove-bucket-name-option
  • bo/chore/rust-lint-cfgs
  • bo/chore/s3vectors-arn-replacement
  • bo/chore/s3vectors-batch-size
  • bo/chore/upgarde-wasmtime
  • bo/chore/upgrade-deps
  • bo/chore/upgrade-rust
  • bo/chore/v0.4.5
  • bo/chore/v0.5.0
  • bo/chore/v0.6.0
  • bo/chore/v0.6.1
  • bo/chore/wrappers-0.5.6
  • bo/chore/wrappers-0.5.7
  • bo/ci/adjust-runner
  • bo/ci/arm-runner
  • bo/ci/blacksmith
  • bo/ci/coverage
  • bo/ci/multiple-locked
  • bo/ci/wasm-fdw-release
  • bo/ci/wasm-fdw-release-pkg
  • bo/docs/airtable-types
  • bo/docs/auth0-svr-option
  • bo/docs/clerk-0.2.1
  • bo/docs/hubspot-0.1.0
  • bo/docs/iceberg-batch-size
  • bo/docs/infura-checksum
  • bo/docs/motherduck
  • bo/docs/notion-0.1.1
  • bo/docs/openapi-checksum-examples
  • bo/docs/orb-0.1.0
  • bo/docs/readme-reorder
  • bo/docs/redis-ssl
  • bo/docs/s3vectors-metadata-filtering
  • bo/docs/shopify-fdw-checksum
  • bo/docs/snowflake-021-checksum
  • bo/docs/snowflake-checksum
  • bo/docs/vault-create-secret
  • bo/feat/clerk-fdw
  • bo/feat/clickhouse-types
  • bo/feat/clickhouse-uuid
  • bo/feat/cognito-autoschema
  • bo/feat/dynamodb-fdw
  • bo/feat/gravatar-fdw
  • bo/feat/hubspot-fdw
  • bo/feat/iceberg-fdw
  • bo/feat/iceberg-insert
  • bo/feat/iceberg-schema-evolution
  • bo/feat/mongodb-fdw
  • bo/feat/mysql-aggregate
  • bo/feat/orb-fdw
  • bo/feat/shopify-fdw
  • bo/feat/snowflake-timeout
  • bo/feat/stripe-schema
  • bo/feat/wasm-import-schema
  • bo/feat/wasm-import-schema-other
  • bo/fix/anstream
  • bo/fix/ci-clippy
  • bo/fix/ci-rust-toolchain
  • bo/fix/clickhouse-array-qual
  • bo/fix/clickhouse-login
  • bo/fix/clickhouse-streaming
  • bo/fix/clickhouse-timestamptz
  • bo/fix/clickhouse-type-cast
  • bo/fix/clickhouse-uuid
  • bo/fix/data-modify-drop
  • bo/fix/duckdb-import-schema
  • bo/fix/extension-upgrade
  • bo/fix/fix-coverage
  • bo/fix/icberg-fdw-options
  • bo/fix/iceberg-fdw-perf
  • bo/fix/iceberg-ft-option
  • bo/fix/mssql-numeric
  • bo/fix/notion-blocks-order
  • bo/fix/null-bytea
  • bo/fix/pgrx-install-locked
  • bo/fix/redis-tls-init
  • bo/fix/release-ci
  • bo/fix/release-workflow
  • bo/fix/relocatable-ext
  • bo/fix/s3fdw-parquet-read
  • bo/fix/s3vectors-fdw-inclusion
  • bo/fix/snowflake-wit-version
  • bo/fix/upgrade-dep
  • bo/fix/upgrade-s3vectors
  • bo/fix/wasm-fdw-release
  • bo/fix/wrappers-memctx
  • bo/perf/iceberg-direct-insert
  • bump-version
  • bump_pgrx_to_0.14.3
  • chore/docs-deploy
  • chore/harden-actions
  • chore/update-notion-doc
  • ci/docs-deploy-tag
  • ci/path-filters
  • claude/claude-md-ml7yfvtu0npj00jp-4S6fv
  • dependabot/cargo/aws-sdk-cognitoidentityprovider-1.103.0
  • dependabot/cargo/aws-sdk-s3tables-1.46.0
  • dependabot/cargo/aws-sdk-s3vectors-1.14.0
  • dependabot/cargo/aws-sdk-sso-1.90.0
  • dependabot/cargo/aws-sdk-ssooidc-1.92.0
  • dependabot/cargo/cargo-19d6922b9f
  • dependabot/cargo/cargo-259f2874b2
  • dependabot/cargo/cargo-f6ecf5c85a
  • dependabot/cargo/openssl-0.10.70
  • dependabot/cargo/openssl-0.10.72
  • dependabot/cargo/ring-0.17.13
  • dependabot/cargo/rsa-0.9.10
  • dependabot/cargo/tokio-1.43.1
  • dependabot/cargo/tracing-subscriber-0.3.20
  • dependabot/cargo/wasmtime-36.0.3
  • docs/airtable-improvements
  • duckdb-motherduck
  • etienne/sec-666-pin-all-github-actions-to-full-commit-sha
  • feat/aggregate-pushdown
  • feat/hubspot-api-key-name
  • feat/improve-docs-and-error-handling
  • feat/infura-fdw
  • feat/mysql
  • feat/openapi-session-auth
  • feat/shopify
  • feat/slack
  • feat/tencent-cls
  • feat/vault-name-fallback
  • feature/aggregate-pushdown
  • fix-clickhouse-join-rescan
  • fix-typo-docs-iceberg-wrapper
  • fix/31857
  • fix/prepared-statement-crash
  • fix/s3-csv-delimiter
  • openapi-fdw-v0.2.0
  • patch-1
  • pcnc/runner-group
  • pg13-pg_guard-extern-C
  • rob/billing-endpoints
  • rob/crud-endpoints
  • rs/bump-edition
  • s3vec-migration-fix
  • security/general-improvements
  • snyk-fix-3f49a78dbdb40e4301ec0fc385bf99f3
  • snyk-fix-435b890071a3e88cb8bd982fc92f5da3
  • snyk-fix-99363f78d3c00b9e8a3c1b6a54032480
  • snyk-fix-e239b504346b5223775bb0dad8f1cbd1
  • upgrade-github-actions-node24
  • wrappers-s3vectors-fdw

05 Jun 2026 02:09AM UTC coverage: 80.916% (-0.07%) from 80.987%
26991105463

push

github

web-flow
feat(wasm): per-request credentials from session variables (#604)

* feat(openapi_fdw): session variable auth override for per-request credentials

Adds `auth_token_setting` and `auth_token_prefix` server options to the
OpenAPI FDW, allowing a Postgres session configuration variable to supply
the authentication credential at query time rather than at server creation.

The credential is resolved via `current_setting(name, true)` each time a
request is made, so a security-definer wrapper function can inject a
per-user or per-transaction token via `set_config(..., true)` before
querying the foreign table. An empty or absent setting is a no-op,
preserving any static credential configured at server level.

Implementation:
- Add `query-setting` to the utils WIT interface (v1 + v2)
- Implement `query_setting()` in supabase-wrappers via SPI
- Wire host binding in wasm_fdw/host/utils.rs (v1 + v2)
- Add `auth_token_setting` / `auth_token_prefix` fields to ServerConfig
- Extract `apply_session_token()` as a pure testable helper
- Apply override in `make_request` before each HTTP call
- Add 15 unit tests covering all override edge cases

* test(openapi_fdw): integration test for session-token injection

Adds a pgrx integration test exercising the auth_token_setting path
end-to-end: with a session GUC unset the FDW injects no Authorization
header, and after set_config(...) the resolved token is sent prefixed.

This is the only runtime coverage of the query-setting host function ->
SPI -> guest round-trip; the existing unit tests only cover the pure
apply_session_token helper in isolation.

- wasm_fdw/tests.rs: new #[pg_test] openapi_session_token_injection
  (negative + positive cases) against the local mock on :8096
- dockerfiles/wasm/server.py: add /whoami route that reflects the
  received Authorization header so the test can assert on it

* fix(openapi_fdw): address review feedback

- apply_session_token: match the authorization header case-insensitively
  so ... (continued)

0 of 9 new or added lines in 1 file covered. (0.0%)

1 existing line in 1 file now uncovered.

9468 of 11701 relevant lines covered (80.92%)

70.17 hits per line

Relevant lines Covered
Build:
Build:
11701 RELEVANT LINES 9468 COVERED LINES
70.17 HITS PER LINE
Source Files on main
  • Tree
  • List 66
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26991105463 main feat(wasm): per-request credentials from session variables (#604) * feat(openapi_fdw): session variable auth override for per-request credentials Adds `auth_token_setting` and `auth_token_prefix` server options to the OpenAPI FDW, allowing a Pos... push 05 Jun 2026 02:25AM UTC web-flow github
80.92
26933770501 main feat(mongodb): [WRA-22] add MongoDB foreign data wrapper (#606) * feat(mongodb_fdw): add cargo feature and dependencies * ci(mongodb_fdw): add mongo:7 service to native docker-compose * feat(mongodb_fdw): scaffold module, error type, README * ... push 04 Jun 2026 06:10AM UTC web-flow github
80.99
26076674512 main chore: update wasmtime version to 36.0.7 (#602) push 19 May 2026 04:55AM UTC web-flow github
81.01
25627781377 main Merge b37ba179b into adfb7a311 Pull #601 10 May 2026 11:49AM UTC web-flow github
81.63
25627664838 main Merge 22d0e7c5d into adfb7a311 Pull #601 10 May 2026 11:42AM UTC web-flow github
81.63
25476086624 main chore: bump Wrappers version to 0.6.1 (#597) push 07 May 2026 04:40AM UTC web-flow github
81.01
25302345241 main feat(mysql): add aggregate pushdown support for MySQL FDW (#596) * feat: add aggregate pushdown support for MySQL FDW * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github... push 04 May 2026 05:28AM UTC web-flow github
81.01
25217488007 main feat: add aggregate pushdown support (COUNT/SUM/AVG/MIN/MAX) (#586) * feat: add aggregate pushdown support (COUNT/SUM/AVG/MIN/MAX) Based on PR #549 by JohnCari with critical fix: aggregates and group_by are now stored in FdwState and passed thro... push 01 May 2026 02:25PM UTC web-flow github
80.79
24066154514 main feat: [WRA-17] add DynamoDB FDW (#593) * feat: add DynamoDB FDW * fix: follow copilot suggestions * ci: add cache deletion step to native wrappers test * fix: update clickhouse-rs source references to latest commit push 07 Apr 2026 06:01AM UTC web-flow github
80.32
23775507213 main feat: allow vault secret lookup by name in _id options (#591) * feat: allow vault secret lookup by name in `_id` options Change `get_vault_secret()` to fall back to name-based lookup when the input is not a valid UUID. This allows all FDW `*_id... push 31 Mar 2026 01:14AM UTC web-flow github
80.35
See All Builds (454)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc