Skip to content

Add missing v2 APIs and Maple SDK support#241

Merged
Makisuo merged 4 commits into
mainfrom
codex/add-missing-v2-apis
Jul 21, 2026
Merged

Add missing v2 APIs and Maple SDK support#241
Makisuo merged 4 commits into
mainfrom
codex/add-missing-v2-apis

Conversation

@Makisuo

@Makisuo Makisuo commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add v2 telemetry and API contracts with OpenAPI coverage
  • Implement the alchemy-maple SDK for dashboards, alerts, API keys, ingest keys, and providers
  • Extend trace and log query support and document the v2 API
  • Add integration, contract, provider, and query tests

Testing

  • Added and updated unit, contract, integration, and OpenAPI tests

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


Open in Devin Review

Makisuo and others added 2 commits July 21, 2026 12:44
Publishable Alchemy (v2, Effect-based) provider package so customers can
declare Maple resources in their own alchemy.run.ts against the public v2
API: dashboards, alert destinations, alert rules, API keys (one-time secret
kept as Redacted in Alchemy state, rotate-prop rolls in place), and the
ingest-keys singleton.

- lib/alchemy-maple: zero runtime deps (alchemy + effect as peers); thin
  HTTP client with typed errors and bounded 429/5xx retry; hand-written
  minimal wire schemas guarded by contract tests against @maple/domain
  (dev-only dep, never shipped)
- integration test drives the real provider lifecycles through the real
  v2 handlers over PGlite via a custom fetch
- examples/alchemy-maple: customer-facing usage example

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pullfrog

pullfrog Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Your Pullfrog Router balance is exhausted.

You have a card on file but auto-reload is disabled, so runs paused once your balance went past the overdraft buffer.

Top up balance → · Enable auto-reload →

Pullfrog  | ⚠️ this action is pinned to a commit SHA, which freezes the cleanup step — switch to @v0 or keep the SHA fresh with Dependabot | Rerun failed job ➔View workflow run | via Pullfrog | Using Claude Opus𝕏

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

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

Open in Devin Review

The package tests import plain vitest; @effect/vitest was never used.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
PlanetScale Postgres connection strings carry a routing suffix in the
username (`<role>.<branch-id>`) that the proxy strips before the server
sees it, so defaulting the grant target to the URL's username made every
PR-preview/stg deploy fail with `role "pscale_api_….…" does not exist`.
Ask the session (`SELECT current_user`) instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Makisuo
Makisuo merged commit 52642fb into main Jul 21, 2026
8 checks passed
@Makisuo
Makisuo deleted the codex/add-missing-v2-apis branch July 21, 2026 11:17
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