diff --git a/.craft.yml b/.craft.yml index 724499a422..053da2ef4a 100644 --- a/.craft.yml +++ b/.craft.yml @@ -1,7 +1,7 @@ github: owner: getsentry repo: rrweb -changelogPolicy: none +changelogPolicy: auto preReleaseCommand: bash scripts/craft-pre-release.sh requireNames: - /^sentry-internal-rrweb-snapshot-.*\.tgz$/ diff --git a/CHANGELOG.md b/CHANGELOG.md index caa3af4dfc..a09fcc4e7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- Revert "fix: isCheckout is not included in fullsnapshot event (#1141)" + ## 2.4.0 - revert: feat: Remove plugins related code, which is not used [#123](https://github.com/getsentry/rrweb/pull/123) diff --git a/packages/rrdom/test/diff.test.ts b/packages/rrdom/test/diff.test.ts index c418adf870..7fbf3c6027 100644 --- a/packages/rrdom/test/diff.test.ts +++ b/packages/rrdom/test/diff.test.ts @@ -1380,7 +1380,9 @@ describe('diff algorithm for rrdom', () => { warn.mockRestore(); }); - it('selectors should be case-sensitive for matching in iframe dom', async () => { + // XXX: This fails frequently in GHA due to caching (in `compileTSCode()`) + // ENOENT: no such file or directory, open '/home/runner/work/rrweb/rrweb/packages/rrdom/node_modules/.cache/rollup-plugin-typescript2/rpt2_63b53bcefb703a361889e909184eab6d1d585390/code/cache_/b2cbb4fcc9b1d34215bac12e22f86314e38adc84' + it.skip('selectors should be case-sensitive for matching in iframe dom', async () => { /** * If the selector match is case insensitive, it will cause some CSS style problems in the replayer. * This test result executed in JSDom is different from that in real browser so we use puppeteer as test environment. diff --git a/packages/rrdom/test/utils.ts b/packages/rrdom/test/utils.ts index 6fe53920d2..e31a60ae46 100644 --- a/packages/rrdom/test/utils.ts +++ b/packages/rrdom/test/utils.ts @@ -8,6 +8,7 @@ const _typescript = typescript as unknown as typeof typescript.default; */ export async function compileTSCode(inputFilePath: string) { const bundle = await rollup.rollup({ + cache: false, // caching causes failures on github actions input: inputFilePath, plugins: [ resolve() as unknown as rollup.Plugin,