diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index c0b943277570..a68dea235925 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -85,9 +85,9 @@ body: attributes: label: Reproduction Example/SDK Setup description: - To ensure that we can help you as fast as possible, please share a link to a reproduction example (GitHub repo or online code editor). - This enables us to quickly understand and address your issue. - If you do not post a link, kindly paste your `Sentry.init` code, so we can see how you set up Sentry. + To ensure that we can help you as fast as possible, please share a link to a reproduction example (GitHub repo + or online code editor). This enables us to quickly understand and address your issue. If you do not post a link, + kindly paste your `Sentry.init` code, so we can see how you set up Sentry. placeholder: |- https://some-JS-online-code-editor.com/my-example diff --git a/.github/ISSUE_TEMPLATE/flaky.yml b/.github/ISSUE_TEMPLATE/flaky.yml index 2e86f8ebd869..4c733b8505b3 100644 --- a/.github/ISSUE_TEMPLATE/flaky.yml +++ b/.github/ISSUE_TEMPLATE/flaky.yml @@ -19,7 +19,7 @@ body: id: job-name attributes: label: Name of Job - placeholder: "CI: Build & Test / Nextjs (Node 18) Tests" + placeholder: 'CI: Build & Test / Nextjs (Node 18) Tests' description: name of job as reported in the status report validations: required: true diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index 5fbf87c67d79..cfa664b1d219 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -1,13 +1,13 @@ -name: "Install yarn dependencies" -description: "Installs yarn dependencies and caches them." +name: 'Install yarn dependencies' +description: 'Installs yarn dependencies and caches them.' outputs: cache_key: - description: "The dependency cache key" + description: 'The dependency cache key' value: ${{ steps.compute_lockfile_hash.outputs.hash }} runs: - using: "composite" + using: 'composite' steps: - name: Compute dependency cache key id: compute_lockfile_hash diff --git a/.github/actions/install-playwright/action.yml b/.github/actions/install-playwright/action.yml index 5eac05a32a2d..3bd70ff71f2a 100644 --- a/.github/actions/install-playwright/action.yml +++ b/.github/actions/install-playwright/action.yml @@ -1,5 +1,5 @@ -name: "Install Playwright dependencies" -description: "Installs Playwright dependencies and caches them." +name: 'Install Playwright dependencies' +description: 'Installs Playwright dependencies and caches them.' inputs: browsers: description: 'What browsers to install.' @@ -9,41 +9,40 @@ inputs: default: '.' runs: - using: "composite" + using: 'composite' steps: - - name: Get Playwright version - id: playwright-version - run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT - shell: bash - working-directory: ${{ inputs.cwd }} + - name: Get Playwright version + id: playwright-version + run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT + shell: bash + working-directory: ${{ inputs.cwd }} + - name: Restore cached playwright binaries + uses: actions/cache/restore@v4 + id: playwright-cache + with: + path: | + ~/.cache/ms-playwright + key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} - - name: Restore cached playwright binaries - uses: actions/cache/restore@v4 - id: playwright-cache - with: - path: | - ~/.cache/ms-playwright - key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} + # We always install all browsers, if uncached + - name: Install Playwright dependencies (uncached) + run: npx playwright install chromium webkit firefox --with-deps + if: steps.playwright-cache.outputs.cache-hit != 'true' + shell: bash + working-directory: ${{ inputs.cwd }} - # We always install all browsers, if uncached - - name: Install Playwright dependencies (uncached) - run: npx playwright install chromium webkit firefox --with-deps - if: steps.playwright-cache.outputs.cache-hit != 'true' - shell: bash - working-directory: ${{ inputs.cwd }} + - name: Install Playwright system dependencies only (cached) + run: npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }} + if: steps.playwright-cache.outputs.cache-hit == 'true' + shell: bash + working-directory: ${{ inputs.cwd }} - - name: Install Playwright system dependencies only (cached) - run: npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }} - if: steps.playwright-cache.outputs.cache-hit == 'true' - shell: bash - working-directory: ${{ inputs.cwd }} - - # Only store cache on develop branch - - name: Store cached playwright binaries - uses: actions/cache/save@v4 - if: github.event_name == 'push' && github.ref == 'refs/heads/develop' - with: - path: | - ~/.cache/ms-playwright - key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} + # Only store cache on develop branch + - name: Store cached playwright binaries + uses: actions/cache/save@v4 + if: github.event_name == 'push' && github.ref == 'refs/heads/develop' + with: + path: | + ~/.cache/ms-playwright + key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} diff --git a/.github/actions/restore-cache/action.yml b/.github/actions/restore-cache/action.yml index e523cca6d904..7e7a3971cd7e 100644 --- a/.github/actions/restore-cache/action.yml +++ b/.github/actions/restore-cache/action.yml @@ -1,27 +1,27 @@ -name: "Restore dependency & build cache" -description: "Restore the dependency & build cache." +name: 'Restore dependency & build cache' +description: 'Restore the dependency & build cache.' inputs: dependency_cache_key: - description: "The dependency cache key" + description: 'The dependency cache key' required: true runs: - using: "composite" + using: 'composite' steps: - - name: Check dependency cache - id: dep-cache - uses: actions/cache/restore@v4 - with: - path: ${{ env.CACHED_DEPENDENCY_PATHS }} - key: ${{ inputs.dependency_cache_key }} + - name: Check dependency cache + id: dep-cache + uses: actions/cache/restore@v4 + with: + path: ${{ env.CACHED_DEPENDENCY_PATHS }} + key: ${{ inputs.dependency_cache_key }} - - name: Restore build artifacts - uses: actions/download-artifact@v4 - with: - name: build-output + - name: Restore build artifacts + uses: actions/download-artifact@v4 + with: + name: build-output - - name: Install dependencies - if: steps.dep-cache.outputs.cache-hit != 'true' - run: yarn install --ignore-engines --frozen-lockfile - shell: bash + - name: Install dependencies + if: steps.dep-cache.outputs.cache-hit != 'true' + run: yarn install --ignore-engines --frozen-lockfile + shell: bash diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0c9602267379..43cb9fc0d6b6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -13,10 +13,10 @@ updates: schedule: interval: 'weekly' allow: - - dependency-name: "@sentry/*" - - dependency-name: "@opentelemetry/*" - - dependency-name: "@prisma/instrumentation" - - dependency-name: "opentelemetry-instrumentation-remix" + - dependency-name: '@sentry/*' + - dependency-name: '@opentelemetry/*' + - dependency-name: '@prisma/instrumentation' + - dependency-name: 'opentelemetry-instrumentation-remix' versioning-strategy: increase commit-message: prefix: feat diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 47af3cc98ace..57f3afb43c9d 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -1,4 +1,4 @@ -name: "Gitflow: Auto prepare release" +name: 'Gitflow: Auto prepare release' on: pull_request: types: @@ -48,7 +48,9 @@ jobs: - name: Prepare release uses: getsentry/action-prepare-release@v1 - if: github.event.pull_request.merged == true && steps.version-regex.outputs.match != '' && steps.get_version.outputs.version != '' + if: + github.event.pull_request.merged == true && steps.version-regex.outputs.match != '' && + steps.get_version.outputs.version != '' env: GITHUB_TOKEN: ${{ steps.token.outputs.token }} with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ffafc9a351d..3929d09d01f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,7 +99,6 @@ jobs: any_code: - '!**/*.md' - - name: Get PR labels id: pr-labels uses: mydea/pr-labels-action@fn/bump-node20 @@ -107,7 +106,8 @@ jobs: outputs: commit_label: '${{ env.COMMIT_SHA }}: ${{ env.COMMIT_MESSAGE }}' # Note: These next three have to be checked as strings ('true'/'false')! - is_base_branch: ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/v9' || github.ref == 'refs/heads/v8'}} + is_base_branch: + ${{ github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/v9' || github.ref == 'refs/heads/v8'}} is_release: ${{ startsWith(github.ref, 'refs/heads/release/') }} changed_ci: ${{ steps.changed.outputs.workflow == 'true' }} changed_any_code: ${{ steps.changed.outputs.any_code == 'true' }} @@ -172,7 +172,8 @@ jobs: key: nx-Linux-${{ github.ref }}-${{ env.HEAD_COMMIT || github.sha }} # On develop branch, we want to _store_ the cache (so it can be used by other branches), but never _restore_ from it restore-keys: - ${{needs.job_get_metadata.outputs.is_base_branch == 'false' && env.NX_CACHE_RESTORE_KEYS || 'nx-never-restore'}} + ${{needs.job_get_metadata.outputs.is_base_branch == 'false' && env.NX_CACHE_RESTORE_KEYS || + 'nx-never-restore'}} - name: Build packages # Set the CODECOV_TOKEN for Bundle Analysis @@ -191,12 +192,24 @@ jobs: outputs: dependency_cache_key: ${{ steps.install_dependencies.outputs.cache_key }} - changed_node_integration: ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, '@sentry-internal/node-integration-tests') }} - changed_remix: ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, '@sentry/remix') }} - changed_node: ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, '@sentry/node') }} - changed_deno: ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, '@sentry/deno') }} - changed_bun: ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, '@sentry/bun') }} - changed_browser_integration: ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, '@sentry-internal/browser-integration-tests') }} + changed_node_integration: + ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, + '@sentry-internal/node-integration-tests') }} + changed_remix: + ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, + '@sentry/remix') }} + changed_node: + ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, + '@sentry/node') }} + changed_deno: + ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, + '@sentry/deno') }} + changed_bun: + ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, + '@sentry/bun') }} + changed_browser_integration: + ${{ needs.job_get_metadata.outputs.changed_ci == 'true' || contains(steps.checkForAffected.outputs.affected, + '@sentry-internal/browser-integration-tests') }} job_check_branches: name: Check PR branches @@ -504,7 +517,9 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} job_browser_playwright_tests: - name: Playwright ${{ matrix.bundle }}${{ matrix.project && matrix.project != 'chromium' && format(' {0}', matrix.project) || ''}}${{ matrix.shard && format(' ({0}/{1})', matrix.shard, matrix.shards) || ''}} Tests + name: + Playwright ${{ matrix.bundle }}${{ matrix.project && matrix.project != 'chromium' && format(' {0}', + matrix.project) || ''}}${{ matrix.shard && format(' ({0}/{1})', matrix.shard, matrix.shards) || ''}} Tests needs: [job_get_metadata, job_build] if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request' runs-on: ubuntu-20.04-large-js @@ -574,13 +589,17 @@ jobs: env: PW_BUNDLE: ${{ matrix.bundle }} working-directory: dev-packages/browser-integration-tests - run: yarn test:all${{ matrix.project && format(' --project={0}', matrix.project) || '' }}${{ matrix.shard && format(' --shard={0}/{1}', matrix.shard, matrix.shards) || '' }} + run: + yarn test:all${{ matrix.project && format(' --project={0}', matrix.project) || '' }}${{ matrix.shard && + format(' --shard={0}/{1}', matrix.shard, matrix.shards) || '' }} - name: Upload Playwright Traces uses: actions/upload-artifact@v4 if: failure() with: - name: playwright-traces-job_browser_playwright_tests-${{ matrix.bundle}}-${{matrix.project}}-${{matrix.shard || '0'}} + name: + playwright-traces-job_browser_playwright_tests-${{ matrix.bundle}}-${{matrix.project}}-${{matrix.shard || + '0'}} path: dev-packages/browser-integration-tests/test-results overwrite: true retention-days: 7 @@ -822,19 +841,24 @@ jobs: - name: Determine which E2E test applications should be run id: matrix - run: yarn --silent ci:build-matrix --base=${{ (github.event_name == 'pull_request' && github.event.pull_request.base.sha) || '' }} >> $GITHUB_OUTPUT + run: + yarn --silent ci:build-matrix --base=${{ (github.event_name == 'pull_request' && + github.event.pull_request.base.sha) || '' }} >> $GITHUB_OUTPUT working-directory: dev-packages/e2e-tests - name: Determine which optional E2E test applications should be run id: matrix-optional - run: yarn --silent ci:build-matrix-optional --base=${{ (github.event_name == 'pull_request' && github.event.pull_request.base.sha) || '' }} >> $GITHUB_OUTPUT + run: + yarn --silent ci:build-matrix-optional --base=${{ (github.event_name == 'pull_request' && + github.event.pull_request.base.sha) || '' }} >> $GITHUB_OUTPUT working-directory: dev-packages/e2e-tests job_e2e_tests: name: E2E ${{ matrix.label || matrix.test-application }} Test # We need to add the `always()` check here because the previous step has this as well :( # See: https://github.com/actions/runner/issues/2205 - if: always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}' + if: + always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}' needs: [job_get_metadata, job_build, job_e2e_prepare] runs-on: ubuntu-22.04 timeout-minutes: 15 @@ -951,12 +975,9 @@ jobs: # We need to add the `always()` check here because the previous step has this as well :( # See: https://github.com/actions/runner/issues/2205 if: - always() && - needs.job_get_metadata.outputs.is_release != 'true' && - needs.job_e2e_prepare.result == 'success' && - needs.job_e2e_prepare.outputs.matrix-optional != '{"include":[]}' && - (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && - github.actor != 'dependabot[bot]' + always() && needs.job_get_metadata.outputs.is_release != 'true' && needs.job_e2e_prepare.result == 'success' && + needs.job_e2e_prepare.outputs.matrix-optional != '{"include":[]}' && (github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]' needs: [job_get_metadata, job_build, job_e2e_prepare] runs-on: ubuntu-20.04 timeout-minutes: 15 diff --git a/.github/workflows/cleanup-pr-caches.yml b/.github/workflows/cleanup-pr-caches.yml index 5ebd0b7aad9d..591d9292e0c0 100644 --- a/.github/workflows/cleanup-pr-caches.yml +++ b/.github/workflows/cleanup-pr-caches.yml @@ -1,4 +1,4 @@ -name: "Automation: Cleanup PR caches" +name: 'Automation: Cleanup PR caches' on: pull_request: types: diff --git a/.github/workflows/clear-cache.yml b/.github/workflows/clear-cache.yml index 5c327553e3b8..3109b0d49ff3 100644 --- a/.github/workflows/clear-cache.yml +++ b/.github/workflows/clear-cache.yml @@ -1,4 +1,4 @@ -name: "Action: Clear all GHA caches" +name: 'Action: Clear all GHA caches' on: workflow_dispatch: inputs: diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml index 776f8135178d..c8944467384b 100644 --- a/.github/workflows/enforce-license-compliance.yml +++ b/.github/workflows/enforce-license-compliance.yml @@ -1,4 +1,4 @@ -name: "CI: Enforce License Compliance" +name: 'CI: Enforce License Compliance' on: push: diff --git a/.github/workflows/external-contributors.yml b/.github/workflows/external-contributors.yml index 740976fc2909..0ba6f0681f4e 100644 --- a/.github/workflows/external-contributors.yml +++ b/.github/workflows/external-contributors.yml @@ -1,4 +1,4 @@ -name: "CI: Mention external contributors" +name: 'CI: Mention external contributors' on: pull_request_target: types: @@ -41,10 +41,11 @@ jobs: # This token is scoped to Daniel Griesser # If we used the default GITHUB_TOKEN, the resulting PR would not trigger CI :( token: ${{ secrets.REPO_SCOPED_TOKEN }} - commit-message: "chore: Add external contributor to CHANGELOG.md" - title: "chore: Add external contributor to CHANGELOG.md" + commit-message: 'chore: Add external contributor to CHANGELOG.md' + title: 'chore: Add external contributor to CHANGELOG.md' branch: 'external-contributor/patch-${{ github.event.pull_request.user.login }}' base: 'develop' delete-branch: true - body: "This PR adds the external contributor to the CHANGELOG.md file, so that they are credited for their contribution. See #${{ github.event.pull_request.number }}" - + body: + 'This PR adds the external contributor to the CHANGELOG.md file, so that they are credited for their + contribution. See #${{ github.event.pull_request.number }}' diff --git a/.github/workflows/gitflow-sync-develop.yml b/.github/workflows/gitflow-sync-develop.yml index 893dbbbf56fb..5b6f22f27682 100644 --- a/.github/workflows/gitflow-sync-develop.yml +++ b/.github/workflows/gitflow-sync-develop.yml @@ -1,4 +1,4 @@ -name: "Gitflow: Sync master into develop" +name: 'Gitflow: Sync master into develop' on: push: branches: diff --git a/.github/workflows/project-automation.yml b/.github/workflows/project-automation.yml index ce57e279dcf5..bf34f2e6078f 100644 --- a/.github/workflows/project-automation.yml +++ b/.github/workflows/project-automation.yml @@ -1,4 +1,4 @@ -name: "Automation: Update GH Project" +name: 'Automation: Update GH Project' on: pull_request: types: @@ -14,29 +14,29 @@ jobs: name: Check if PR is in project runs-on: ubuntu-latest steps: - - name: Check if PR is in project - continue-on-error: true - id: check_project - uses: github/update-project-action@f980378bc179626af5b4e20ec05ec39c7f7a6f6d - with: - github_token: ${{ secrets.GH_PROJECT_AUTOMATION }} - organization: getsentry - project_number: 31 - content_id: ${{ github.event.pull_request.node_id }} - field: Status - operation: read + - name: Check if PR is in project + continue-on-error: true + id: check_project + uses: github/update-project-action@f980378bc179626af5b4e20ec05ec39c7f7a6f6d + with: + github_token: ${{ secrets.GH_PROJECT_AUTOMATION }} + organization: getsentry + project_number: 31 + content_id: ${{ github.event.pull_request.node_id }} + field: Status + operation: read - - name: If project field is read, set is_in_project to 1 - if: steps.check_project.outputs.field_read_value - id: is_in_project - run: echo "is_in_project=1" >> "$GITHUB_OUTPUT" + - name: If project field is read, set is_in_project to 1 + if: steps.check_project.outputs.field_read_value + id: is_in_project + run: echo "is_in_project=1" >> "$GITHUB_OUTPUT" outputs: is_in_project: ${{ steps.is_in_project.outputs.is_in_project || '0' }} # When a PR is a draft, it should go into "In Progress" mark_as_in_progress: - name: "Mark as In Progress" + name: 'Mark as In Progress' needs: check_project if: | needs.check_project.outputs.is_in_project == '1' @@ -52,11 +52,11 @@ jobs: project_number: 31 content_id: ${{ github.event.pull_request.node_id }} field: Status - value: "🏗 In Progress" + value: '🏗 In Progress' # When a PR is not a draft, it should go into "In Review" mark_as_in_review: - name: "Mark as In Review" + name: 'Mark as In Review' needs: check_project if: | needs.check_project.outputs.is_in_project == '1' @@ -73,12 +73,12 @@ jobs: project_number: 31 content_id: ${{ github.event.pull_request.node_id }} field: Status - value: "👀 In Review" + value: '👀 In Review' # By default, closed PRs go into "Ready for Release" # But if they are closed without merging, they should go into "Done" mark_as_done: - name: "Mark as Done" + name: 'Mark as Done' needs: check_project if: | needs.check_project.outputs.is_in_project == '1' @@ -94,5 +94,4 @@ jobs: project_number: 31 content_id: ${{ github.event.pull_request.node_id }} field: Status - value: "✅ Done" - + value: '✅ Done' diff --git a/.github/workflows/release-comment-issues.yml b/.github/workflows/release-comment-issues.yml index 1a75f9767290..9b1a1f849ab3 100644 --- a/.github/workflows/release-comment-issues.yml +++ b/.github/workflows/release-comment-issues.yml @@ -1,4 +1,4 @@ -name: "Automation: Notify issues for release" +name: 'Automation: Notify issues for release' on: release: types: diff --git a/.github/workflows/release-size-info.yml b/.github/workflows/release-size-info.yml index 361c0a2cad08..70a1ecfda2f0 100644 --- a/.github/workflows/release-size-info.yml +++ b/.github/workflows/release-size-info.yml @@ -1,4 +1,4 @@ -name: "Automation: Add size info to release" +name: 'Automation: Add size info to release' on: release: types: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1e95378de74..9028ce552447 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: "Action: Prepare Release" +name: 'Action: Prepare Release' on: workflow_dispatch: inputs: @@ -40,4 +40,3 @@ jobs: force: ${{ github.event.inputs.force }} merge_target: ${{ github.event.inputs.merge_target }} craft_config_from_merge_target: true - diff --git a/codecov.yml b/codecov.yml index 1013e1b11e24..f8c0cbc17ba5 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,8 +5,8 @@ codecov: ai_pr_review: enabled: true - method: "label" - label_name: "ci-codecov-ai-review" + method: 'label' + label_name: 'ci-codecov-ai-review' coverage: precision: 2 diff --git a/dev-packages/clear-cache-gh-action/action.yml b/dev-packages/clear-cache-gh-action/action.yml index 06493534b23e..739b74294470 100644 --- a/dev-packages/clear-cache-gh-action/action.yml +++ b/dev-packages/clear-cache-gh-action/action.yml @@ -6,19 +6,19 @@ inputs: description: 'a github access token' clear_develop: required: false - default: "" - description: "If set, also clear caches from develop branch." + default: '' + description: 'If set, also clear caches from develop branch.' clear_branches: required: false - default: "" - description: "If set, also clear caches from non-develop branches." + default: '' + description: 'If set, also clear caches from non-develop branches.' clear_pending_prs: required: false - default: "" - description: "If set, also clear caches from pending PR workflow runs." + default: '' + description: 'If set, also clear caches from pending PR workflow runs.' workflow_name: required: false - default: "CI: Build & Test" + default: 'CI: Build & Test' description: The workflow to clear caches for. runs: using: 'node20' diff --git a/dev-packages/node-integration-tests/suites/tracing/amqplib/docker-compose.yml b/dev-packages/node-integration-tests/suites/tracing/amqplib/docker-compose.yml index dc68d428c976..c1127f097dbf 100644 --- a/dev-packages/node-integration-tests/suites/tracing/amqplib/docker-compose.yml +++ b/dev-packages/node-integration-tests/suites/tracing/amqplib/docker-compose.yml @@ -8,8 +8,8 @@ services: - RABBITMQ_DEFAULT_USER=sentry - RABBITMQ_DEFAULT_PASS=sentry ports: - - "5672:5672" - - "15672:15672" + - '5672:5672' + - '15672:15672' networks: default: diff --git a/dev-packages/size-limit-gh-action/action.yml b/dev-packages/size-limit-gh-action/action.yml index bfaa23fd85b3..0ac790603889 100644 --- a/dev-packages/size-limit-gh-action/action.yml +++ b/dev-packages/size-limit-gh-action/action.yml @@ -6,12 +6,12 @@ inputs: description: 'a github access token' comparison_branch: required: false - default: "" - description: "If set, compare the current branch with this branch" + default: '' + description: 'If set, compare the current branch with this branch' threshold: required: false - default: "0.0125" - description: "The percentage threshold for size changes before posting a comment" + default: '0.0125' + description: 'The percentage threshold for size changes before posting a comment' runs: using: 'node20' main: 'index.mjs' diff --git a/package.json b/package.json index 97e1f1a0a711..6127b9c5c461 100644 --- a/package.json +++ b/package.json @@ -22,12 +22,12 @@ "clean:all": "run-s clean:build clean:tarballs clean:caches clean:deps clean:watchman", "fix": "run-s fix:prettier fix:lerna", "fix:lerna": "lerna run fix", - "fix:prettier": "prettier \"**/*.md\" \"**/*.css\" \"packages/**/**.{ts,js,jsx,tsx,astro,vue}\" --write", + "fix:prettier": "prettier \"**/*.{md,css,yml,yaml}\" \"packages/**/**.{ts,js,mjs,cjs,mts,cts,jsx,tsx,astro,vue}\" --write", "changelog": "ts-node ./scripts/get-commit-list.ts", "link:yarn": "lerna exec yarn link", "lint": "run-s lint:prettier lint:lerna", "lint:lerna": "lerna run lint", - "lint:prettier": "prettier \"**/*.md\" \"**/*.css\" \"packages/**/**.{ts,js,jsx,tsx,astro,vue}\" --check", + "lint:prettier": "prettier \"**/*.{md,css,yml,yaml}\" \"packages/**/**.{ts,js,mjs,cjs,mts,cts,jsx,tsx,astro,vue}\" --check", "lint:es-compatibility": "es-check es2020 ./packages/*/build/{bundles,npm/cjs,cjs}/*.js && es-check es2020 ./packages/*/build/{npm/esm,esm}/*.js --module", "postpublish": "lerna run --stream --concurrency 1 postpublish", "test": "lerna run --ignore \"@sentry-internal/{browser-integration-tests,e2e-tests,integration-shims,node-integration-tests}\" test", diff --git a/packages/react/test/reactrouter-cross-usage.test.tsx b/packages/react/test/reactrouter-cross-usage.test.tsx index e268c774bdd1..d55ecfb7e632 100644 --- a/packages/react/test/reactrouter-cross-usage.test.tsx +++ b/packages/react/test/reactrouter-cross-usage.test.tsx @@ -35,7 +35,6 @@ import { wrapUseRoutesV6, } from '../src/reactrouterv6'; - const mockStartBrowserTracingPageLoadSpan = vi.fn(); const mockStartBrowserTracingNavigationSpan = vi.fn(); @@ -76,7 +75,6 @@ vi.mock('@sentry/core', async requireActual => { }; }); - vi.mock('@sentry/core', async requireActual => { const actual = (await requireActual()) as any; return {