Skip to content

Commit dd50c4f

Browse files
committed
Merge branch 'develop' into abhi-sveltekit-integration-test
2 parents 7fa5ec1 + 90aa41b commit dd50c4f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1006
-29825
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ jobs:
511511
needs: [job_get_metadata, job_build]
512512
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
513513
runs-on: ubuntu-20.04
514-
timeout-minutes: 15
514+
timeout-minutes: 18
515515
strategy:
516516
fail-fast: false
517517
matrix:
@@ -770,7 +770,7 @@ jobs:
770770
ref: ${{ env.HEAD_COMMIT }}
771771
- uses: pnpm/action-setup@v2
772772
with:
773-
version: 7
773+
version: 8.3.1
774774
- name: Set up Node
775775
uses: actions/setup-node@v3
776776
with:

.github/workflows/canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
ref: ${{ env.HEAD_COMMIT }}
2929
- uses: pnpm/action-setup@v2
3030
with:
31-
version: 7
31+
version: 8.3.1
3232
- name: Set up Node
3333
uses: actions/setup-node@v3
3434
with:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import * as Sentry from '@sentry/browser';
2+
3+
window.Sentry = Sentry;
4+
window.Replay = new Sentry.Replay({
5+
flushMinDelay: 1000,
6+
flushMaxDelay: 1000,
7+
});
8+
9+
Sentry.init({
10+
dsn: 'https://[email protected]/1337',
11+
sampleRate: 1,
12+
replaysSessionSampleRate: 0.0,
13+
replaysOnErrorSampleRate: 0.0,
14+
15+
integrations: [window.Replay],
16+
});
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
document.getElementById('go-background').addEventListener('click', () => {
2+
Object.defineProperty(document, 'hidden', { value: true, writable: true });
3+
const ev = document.createEvent('Event');
4+
ev.initEvent('visibilitychange');
5+
document.dispatchEvent(ev);
6+
});
7+
8+
document.getElementById('error').addEventListener('click', () => {
9+
throw new Error('Ooops');
10+
});
11+
12+
document.getElementById('error2').addEventListener('click', () => {
13+
throw new Error('Another error');
14+
});
15+
16+
document.getElementById('log').addEventListener('click', () => {
17+
console.log('Some message');
18+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
</head>
6+
<body>
7+
<button id="go-background">Go to background</button>
8+
<button id="error">Throw Error</button>
9+
<button id="error2">Another Error</button>
10+
<button id="log">Log stuff to the console</button>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)