Skip to content

[CI] Quick Access to Error Logs #22132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Draft

Conversation

ParaskP7
Copy link
Contributor

Closes: AINFRA-1101


Description

TODO


Testing instructions

TODO

@ParaskP7 ParaskP7 added this to the Future milestone Aug 14, 2025
@ParaskP7 ParaskP7 requested a review from Copilot August 14, 2025 13:16
@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

Copy link
Contributor

@Copilot Copilot AI left a comment

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 removes mock setup boilerplate code from a unit test file. The changes simplify test setup by removing redundant MutableLiveData() mocking that was previously configured for various view model slices in the DashboardCardsViewModelSliceTest class.

  • Removes unused import for MutableLiveData
  • Eliminates mock setup for multiple view model slice UI models in the test setup method

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Aug 14, 2025

Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr22132-e4a6fba
Commite4a6fba
Direct Downloadjetpack-prototype-build-pr22132-e4a6fba.apk
Note: Google Login is not supported on these builds.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Aug 14, 2025

WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr22132-e4a6fba
Commite4a6fba
Direct Downloadwordpress-prototype-build-pr22132-e4a6fba.apk
Note: Google Login is not supported on these builds.

FYI: This is done in order to see Buildkite MCP Server and Claude AI
failing to read the logs, from that specific '🔬 Unit Test WordPress'
job, due to log files appear to contain very long lines.

------------------------------------------------------------------------

For example, see this response Claude get me on similar such build
failures when I asked it to examine the logs for a failed unit tests
job to see what specific test failures occurred:

> Log Analysis Challenge
> The log files appear to contain very long lines that are causing
parsing issues with the Buildkite log processing system. This prevents
me from extracting the specific test failure details.

Build Job: https://buildkite.com/automattic/woocommerce-android/builds/
31325/steps/canvas?sid=0198a79d-31ac-424b-9105-1f105751bf49
@ParaskP7 ParaskP7 force-pushed the ci/quick-access-to-error-logs branch 2 times, most recently from 7263f02 to b65f67e Compare August 14, 2025 15:04
FYI: After running all 4 versions of '🔬 Unit Test WordPress', we'll ask
Claude AI to help us analyze the build failure and let us know what's
the problem there. We'll see which of those 4 versions could be used to
successfully analyze the logs, effectively overcoming this long lines
log parsing challenges we are facing.
@ParaskP7 ParaskP7 force-pushed the ci/quick-access-to-error-logs branch from b65f67e to e4a6fba Compare August 14, 2025 15:13
Copy link

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.

3 participants