ci(mobile): run the mobile benchmark when the github reporter changes
What and why
apps/mobile-benchmark/e2e.config.ts imports github() from @e2e-dev/github and puts it in reporters (line 3 and line 73), so the reporter is a build input for the mobile benchmark. .github/filters.yml says what a change has to touch before a suite can see it, and the web block already lists packages/github/**, but the mobile block did not.
The result: a pull request that changes only packages/github/src/** skips all four mobile jobs (ios deterministic, ios agentic, android deterministic, android agentic), and a skipped job satisfies the ruleset's required checks, so the suite never runs and nothing says it was skipped. A change to the reporter can reach the mobile suite's output and nothing catches it.
The two features crossed in the same hour. #521, where the mobile benchmark started posting through the reporter, merged at 10:27, and #527, which added this filter, merged at 10:48 and listed the package under web only. That makes this an oversight at the filter's introduction rather than a deliberate exclusion.
This adds the one line, so mobile matches packages/github/** the same way web does.
| change | mobile before | mobile after |
|---|---|---|
packages/github/src/** | skipped | runs |
packages/github/tests/** | skipped | skipped |
packages/github/README.md | skipped | skipped |
packages/web/src/** | skipped | skipped |
CI only. No behavior change, and no changeset.
Verified
Ran it locally: yes
- Simulated dorny/paths-filter's matching (picomatch, the same matcher the action uses) over the file before and after, with
some-with-excludes.packages/github/src/post.tsgoesmobile=falsetomobile=true, whilepackages/github/tests/unit/post.test.tsandpackages/github/README.mdstay excluded by the!packages/*/tests/**and!**/*.mdnegatives, andpackages/web/src/engine.tsstaysmobile=false.packages/mobile/src/**andapps/mobile-benchmark/**are unchanged. - The file parses as YAML and keeps the shape the workflows read:
runner,web, andmobileat the top level, with the*runneranchor still merging into both. oxlintreports 0 errors, andcheck-error-codes,check-peer-ranges,check-install-scripts,check-docs-examples, andcheck-docs-package-managersall pass.- This PR edits
filters.yml, which every list includes on purpose ("a change to the gate runs what it gates"), so its own CI run exercises both benchmark workflows.