opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

Development setup for changes effecting API + SDK/Plugins

Open Flarna opened this issue 4 years ago • 3 comments
trafficstars

  • [x] This only affects the JavaScript OpenTelemetry library
  • [ ] This may affect other libraries, but I would like to get opinions here first

The development setup for plugins in contrib repo was already quite cumbersome if you want to adapt something to match changes done in core repo before an actual release of core was done.

But now we have even one more indirection as API was moved into a new repo.

Is there a known "easy" setup if someone has the need to add a new API and wants to use it in a plugin hosted in contrib? I have not tried yet but I fear that the dependencies to packages here - which in turn depend on API - easily result in having two (incompatible) versions of API installed.

I think some (nightly) CI setup to verify that tip latest API main works with latest core main would be nice. One step further would be a CI run to verify latest contrib + latest core + latest API.

Flarna avatar Feb 20 '21 01:02 Flarna

I have just learned that this repo published canaries releases to NPM (e.g. 0.19.1-alpha.33). If something similar is done for API it would allow to use the new API here and adapt. Even further down to contrib would be possible.

This would avoid the need to release API just to have something in hand to adapt core.

see also https://github.com/open-telemetry/opentelemetry-js-api/pull/70#issuecomment-842506733

Flarna avatar May 21 '21 12:05 Flarna

This could actually be helpful right now as currently updating core is blocked on an unreleased API fix.

dyladan avatar May 21 '21 12:05 dyladan

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Oct 21 '24 06:10 github-actions[bot]

This issue was closed because it has been stale for 14 days with no activity.

github-actions[bot] avatar Jan 06 '25 06:01 github-actions[bot]