Skip to content

Import otel Cloudflare Workers package#154

Merged
petyosi merged 6 commits into
mainfrom
petyosi/import-otel-cf-workers
Jul 1, 2026
Merged

Import otel Cloudflare Workers package#154
petyosi merged 6 commits into
mainfrom
petyosi/import-otel-cf-workers

Conversation

@petyosi

@petyosi petyosi commented Jul 1, 2026

Copy link
Copy Markdown
Member

Summary

  • import @pydantic/otel-cf-workers into the monorepo as an ESM-only package with preserved BSD licensing and vendored provenance
  • wire @pydantic/logfire-cf-workers to the workspace implementation package and publish it as ESM-only
  • unify OpenTelemetry catalog dependencies, bump @vercel/otel, and remove the suspicious @opentelemetry/api-logs duplicate
  • update Cloudflare docs, package READMEs, AGENTS guidance, release changeset, PRP, and old-repo archive README draft

Validation

  • vp check
  • vp run @pydantic/otel-cf-workers#build
  • vp run @pydantic/otel-cf-workers#typecheck
  • vp run @pydantic/otel-cf-workers#lint
  • vp run @pydantic/otel-cf-workers#test
  • vp run @pydantic/logfire-cf-workers#build
  • vp run @pydantic/logfire-cf-workers#typecheck
  • vp run @pydantic/logfire-cf-workers#lint
  • vp run @pydantic/logfire-cf-workers#test
  • vp run --filter "./packages/*" build
  • vp run --filter "./packages/*" typecheck
  • vp run --filter "./packages/*" test
  • pre-push package build/test hook during git push

Notes

The remaining non-OTel duplicate transitive packages come from incompatible upstream major lines
(mostly Express 4, Changesets internals, and tooling/type packages), so this PR leaves them alone
rather than forcing risky overrides.

@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 found 5 potential issues.

Open in Devin Review

Comment thread packages/otel-cf-workers/src/instrumentation/do.ts Outdated
Comment thread packages/otel-cf-workers/src/index.ts Outdated
Comment thread packages/otel-cf-workers/src/tracer.ts
Comment thread packages/otel-cf-workers/src/instrumentation/do-storage.ts
Comment thread packages/otel-cf-workers/src/instrumentation/kv.ts

@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 found 4 new potential issues.

Open in Devin Review

Comment thread packages/otel-cf-workers/src/instrumentation/kv.ts Outdated
Comment thread packages/otel-cf-workers/src/instrumentation/analytics-engine.ts Outdated
Comment thread packages/otel-cf-workers/src/multiexporter.ts Outdated
Comment thread packages/otel-cf-workers/src/instrumentation/do.ts Outdated

@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 found 1 new potential issue.

Open in Devin Review

Comment thread packages/otel-cf-workers/src/instrumentation/fetch.ts
@petyosi petyosi merged commit 7378d2b into main Jul 1, 2026
2 checks passed
@petyosi petyosi deleted the petyosi/import-otel-cf-workers branch July 1, 2026 14:34
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