Skip to content

ci: sanitize Android UI workflow logs and remove column flavors (WPB-27951) - #5174

Draft
emmaoke-w wants to merge 2 commits into
developfrom
ci/WPB-27951-remove-column-flavour
Draft

ci: sanitize Android UI workflow logs and remove column flavors (WPB-27951)#5174
emmaoke-w wants to merge 2 commits into
developfrom
ci/WPB-27951-remove-column-flavour

Conversation

@emmaoke-w

@emmaoke-w emmaoke-w commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

https://wearezeta.atlassian.net/browse/WPB-27951

…27951)


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

  • Sanitize Android UI workflow logs so GitHub only shows high-level failure reasons instead of full instrumentation stack traces and selector details.
  • Scope flavor S3 resolution more tightly by passing the resolved S3_FOLDER only to the APK download step instead of keeping it job-wide.
  • Fix retry handling so zero-test rerun shards no longer fail the workflow, while still failing the initial run when a selector matches no tests.
  • Remove unused column flavor cleanup/install references from the runner-driven CI setup.

Issues

Briefly describe the issue you have solved or implemented with this pull request. If the PR contains multiple issues, use a bullet list.

Causes (Optional)

Briefly describe the causes behind the issues. This could be helpful to understand the adopted solutions behind some nasty bugs or complex issues.

Solutions

Briefly describe the solutions you have implemented for the issues explained above.

Dependencies (Optional)

If there are some other pull requests related to this one (e.g. new releases of frameworks), specify them here.

Needs releases with:

  • GitHub link to other pull request

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.

Notes (Optional)

Specify here any other facts that you think are important for this issue.

Attachments (Optional)

Attachments like images, videos, etc. (drag and drop in the text box)


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@emmaoke-w emmaoke-w self-assigned this Aug 13, 2026
@emmaoke-w emmaoke-w changed the title ci: sanitize Android UI workflow logs and remove column flavors (WPB-… ci: sanitize Android UI workflow logs and remove column flavors (WPB-27951) Aug 13, 2026
@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.49%. Comparing base (4262323) to head (2dc551f).
⚠️ Report is 7 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5174      +/-   ##
===========================================
- Coverage    52.75%   52.49%   -0.27%     
===========================================
  Files          659      664       +5     
  Lines        23599    23812     +213     
  Branches      3883     3929      +46     
===========================================
+ Hits         12450    12499      +49     
- Misses       10001    10152     +151     
- Partials      1148     1161      +13     

see 14 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4262323...2dc551f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Test Results

2 265 tests  +22   2 265 ✅ +22   1m 38s ⏱️ -3s
  250 suites + 5       0 💤 ± 0 
  250 files   + 5       0 ❌ ± 0 

Results for commit 2dc551f. ± Comparison against base commit fdf7a65.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@@ -0,0 +1,82 @@
#!/usr/bin/env python3

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think this is the right approach, while it might work in my opinion is too crafted/custom.
In practice this can be achieved by changing the LogLevel at WireTestLogger so we have less noise naturally or in AllureLogcatRule (which seems unused) by adding filters.

My point I guess is we are going to miss info, and logs don't harm/specially in testing; it is more an after processing/filtering concern, not about trimming the raw output.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

An option is to have this script, but run it manually on demand/locally to filter out noise, but not in the gh output.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the feedback. I added it because I thought we were printing too much raw instrumentation output into the GitHub logs.
Your point makes sense, so I’ve reverted the sanitizing step and kept the CI logs unchanged again.

@github-actions

Copy link
Copy Markdown
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants