mattermost-mobile-upstream/.github/actions/compute-e2e-build-fingerprint/paths.json
yasser khan 587e15ea89
chore(e2e): Cache app builds. Skip E2E on docs only PR. (#9930)
Based on the later commits (after the earlier experimentation and reversions), the meaningful end state of the PR is:

**Summary:** Improve E2E CI reliability, performance, and security by introducing robust build caching with safe fingerprinting and cache isolation, duration-based test sharding with graceful fallbacks, more reliable E2E impact detection and status handling, stronger cancellation/concurrency behavior, multiple iOS Detox stability fixes, and hardening GitHub Actions to avoid executing PR-authored code. Also includes CI fixes for iOS builds and a temporary Android E2E test skip for a known regression.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-08-04 19:13:39 +05:30

60 lines
1.6 KiB
JSON

{
"_comment": "Single source of truth for E2E build fingerprints and the label-manager impact filter. Fingerprint consumers hash these git paths; the label manager converts them to globs (dir/ → dir/**) and unions triggerExtra. Edit here only — do not duplicate lists elsewhere.",
"fingerprintShared": [
"app/",
"libraries/",
"share_extension/",
"patches/",
"types/",
"assets/fonts/",
"assets/sounds/",
"assets/base/",
"assets/override/",
"scripts/",
"package.json",
"package-lock.json",
"tsconfig.json",
"babel.config.js",
"metro.config.js",
"index.tsx",
"app.json",
"react-native.config.js",
".nvmrc",
".ruby-version",
".github/actions/prepare-mobile-build/",
".github/actions/prepare-node-deps/"
],
"fingerprintByPlatform": {
"ios": [
"ios/",
"fastlane/",
"Gemfile",
"Gemfile.lock",
".github/actions/prepare-ios-build/"
],
"android-detox": [
"android/",
"detox/.detoxrc.json",
"detox/package.json",
"detox/package-lock.json",
"detox/scripts/",
".github/actions/prepare-android-build/"
],
"android-maestro": [
"android/",
".github/actions/prepare-android-build/",
".github/actions/build-android-maestro-apk/"
]
},
"triggerExtra": [
"detox/e2e/**",
"detox/maestro/**",
"detox/utils/**",
".github/workflows/e2e-*.yml",
".github/actions/compute-e2e-build-fingerprint/**",
".github/actions/s3-build-cache/**",
".github/actions/s3-spec-durations/**",
".github/actions/generate-specs/**"
]
}