Skip to content

Preflight: only capture metrics on sidekick preview/publish events#6202

Open
mokimo wants to merge 1 commit into
stagefrom
mwpw-198893
Open

Preflight: only capture metrics on sidekick preview/publish events#6202
mokimo wants to merge 1 commit into
stagefrom
mwpw-198893

Conversation

@mokimo

@mokimo mokimo commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Removes the automatic captureMetrics call from getPreflightResults so scores are no longer recorded on every page load. Listeners on the sidekick's previewed and published events now trigger a fresh check run and submit the results, keeping the log data meaningful and reducing noise.

Resolves: MWPW-198893

Test URLs:

Removes the automatic captureMetrics call from getPreflightResults so
scores are no longer recorded on every page load. Listeners on the
sidekick's `previewed` and `published` events now trigger a fresh check
run and submit the results, keeping the log data meaningful and reducing
noise.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mokimo mokimo requested a review from a team as a code owner June 19, 2026 07:12
@aem-code-sync

aem-code-sync Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@SilviuLCF SilviuLCF 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants