Skip to content

Take the test package out of the stopped state before PushupsTest's first push - #82

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
ci/fcm-stopped-state
Oct 27, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
ci/fcm-stopped-state

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Owner

The Android full variant has been failing on most runs since 2026-10-26, on main too: PushupsTest a02 to a04 time out, and every push sent before a06 arrives in one burst about four minutes later, when a06 starts an Activity. am instrument force-stops the package before it starts the tests, and FCM holds pushes to a force-stopped package until it is started again.

PushupsTest now sends an ordered broadcast to a new no-op UnstoppedReceiver before its first push. Delivering to a manifest receiver clears the stopped state without creating an Activity, so a02 still sends the first push to a process that never had one. The setup then checks dumpsys package for stopped=false and fails with the package state if it is still stopped.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5ab626bd-048c-4749-90f1-af0bd7e74e02
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.49%. Comparing base (b85bd2a) to head (ab63cbe).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
- Coverage   94.52%   94.49%   -0.04%     
==========================================
  Files          45       45              
  Lines        5937     5974      +37     
  Branches       61       63       +2     
==========================================
+ Hits         5612     5645      +33     
- Misses        285      286       +1     
- Partials       40       43       +3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LucaCappelletti94
LucaCappelletti94 merged commit 54a321b into main Oct 27, 2026
126 of 129 checks passed
@LucaCappelletti94
LucaCappelletti94 deleted the ci/fcm-stopped-state branch October 27, 2026 17:18
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.

1 participant