Skip to content

build(profiling-node): make sure debug build plugin is used #10534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 6, 2024

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Feb 6, 2024

Fixes #10525

When writing the rollup config, we didn't include the debug build plugin. This led to things not be replaced properly as profiling-node bundles everything into a single file.

This was also causing issues in our CI: https://github.com/getsentry/sentry-javascript/actions/runs/7804351046/job/21287026518?pr=10527

Backporting this fix to v7 so we can do a 7.100.1 release after we merge this in.

@AbhiPrasad AbhiPrasad requested review from JonasBa, a team, stephanie-anderson and lforst and removed request for a team February 6, 2024 19:21
@AbhiPrasad AbhiPrasad requested a review from mydea February 6, 2024 19:23
@AbhiPrasad
Copy link
Member Author

busting cache and then re-running

Copy link
Member

@JonasBa JonasBa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @AbhiPrasad

@AbhiPrasad AbhiPrasad changed the base branch from v7 to develop February 6, 2024 20:42
JoeKarow added a commit to weareinreach/InReach that referenced this pull request Feb 6, 2024
kodiakhq bot pushed a commit to weareinreach/InReach that referenced this pull request Feb 6, 2024
* fix(app): update all non-major dependencies

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* update @sentry/profiling-node (#1068)

* update integrations

* add @sentry/profiling-node to serverComponentsExternalPackages

* revert until getsentry/sentry-javascript#10534 merged & released

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Joe Karow <[email protected]>
@AbhiPrasad
Copy link
Member Author

So the test is failing

https://github.com/getsentry/sentry-javascript/actions/runs/7805852389/job/21293099723?pr=10534

image

but locally it clearly is being built, so there is some caching issue

image

@AbhiPrasad
Copy link
Member Author

image

thank you CI 😭

@AbhiPrasad AbhiPrasad merged commit f01e884 into develop Feb 6, 2024
@AbhiPrasad AbhiPrasad deleted the develop-rollup-profiling-node branch February 6, 2024 23:18
mydea pushed a commit that referenced this pull request Feb 7, 2024
Fixes #10525

When writing the rollup config, we didn't include the debug build
plugin. This led to things not be replaced properly as `profiling-node`
bundles everything into a single file.

This was also causing issues in our CI:
https://github.com/getsentry/sentry-javascript/actions/runs/7804351046/job/21287026518?pr=10527

Backporting this fix to v7 so we can do a `7.100.1` release after we
merge this in.
@mydea mydea mentioned this pull request Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@sentry/profiling-node: ReferenceError: __DEBUG_BUILD__ is not defined
2 participants