Skip to content

Enabled list deprecations in workspaces/lighthouse and implemented the proposed changes - #10736

Merged
04kash merged 1 commit into
backstage:mainfrom
AdamBrez:lighthouse/list-deprecations
Sep 11, 2026
Merged

04kash merged 1 commit into
backstage:mainfrom
AdamBrez:lighthouse/list-deprecations

Conversation

@AdamBrez

@AdamBrez AdamBrez commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Hey, I just made a Pull Request!

Replaced deprecated setupRequestMockHandlers with registerMswTestHooks.

Signed-off-by: Adam Brezina [email protected]

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@backstage-goalie

Copy link
Copy Markdown
Contributor

Unexpected Changesets

The following changeset(s) reference packages that have not been changed in this PR:

  • /home/runner/work/community-plugins/community-plugins/workspaces/lighthouse/.changeset/silver-actors-hug.md: @backstage-community/plugin-lighthouse

Note that only changes that affect the published package require changesets, for example changes to tests and storybook stories do not require changesets.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Lighthouse workspace to use the newer MSW test hook registration helper and enables additional CI checks/telemetry via bcp.json flags.

Changes:

  • Replaced deprecated setupRequestMockHandlers with registerMswTestHooks in Lighthouse frontend tests.
  • Enabled listDeprecations in workspaces/lighthouse/bcp.json.
  • Enabled codecov opt-in in multiple other workspaces’ bcp.json files.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
workspaces/topology/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/tekton/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/servicenow/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/scaffolder-relation-processor/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/scaffolder-backend-module-sonarqube/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/scaffolder-backend-module-servicenow/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/scaffolder-backend-module-regex/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/scaffolder-backend-module-kubernetes/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/scaffolder-backend-module-annotator/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/quay/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/pingidentity/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/ocm/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/npm/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/nexus-repository-manager/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/multi-source-security-viewer/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/keycloak/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/jfrog-artifactory/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/argocd/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/acr/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/3scale/bcp.json Opts the workspace into Codecov uploads in CI.
workspaces/lighthouse/bcp.json Enables the CI “list deprecations” check for the Lighthouse workspace.
workspaces/lighthouse/.changeset/silver-actors-hug.md Adds a changeset documenting the Lighthouse test utility migration.
workspaces/lighthouse/plugins/lighthouse/src/components/CreateAudit/index.test.tsx Migrates MSW setup helper to registerMswTestHooks.
workspaces/lighthouse/plugins/lighthouse/src/components/AuditView/index.test.tsx Migrates MSW setup helper to registerMswTestHooks.
workspaces/lighthouse/plugins/lighthouse/src/components/AuditList/index.test.tsx Migrates MSW setup helper to registerMswTestHooks.
workspaces/lighthouse/plugins/lighthouse/src/components/AuditList/AuditListTable.test.tsx Migrates MSW setup helper to registerMswTestHooks.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread workspaces/topology/bcp.json Outdated
Comment on lines +4 to +6
"listDeprecations": true,
"playwrightTests": true
"playwrightTests": true,
"codecov": true
Copilot AI review requested due to automatic review settings September 1, 2026 12:16
@AdamBrez
AdamBrez force-pushed the lighthouse/list-deprecations branch from 60586bc to 0f680fb Compare September 1, 2026 12:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

@04kash 04kash left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@04kash
04kash merged commit 2671277 into backstage:main Sep 11, 2026
12 checks passed
@AdamBrez
AdamBrez deleted the lighthouse/list-deprecations branch September 17, 2026 08:21
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.

5 participants