gowalk-cicd 1.0.213 → 1.0.214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,9 @@ import tempfile
9
9
  from android_config import find_gradle_root, project_kind
10
10
  from gradle_wrapper import ensure_toolchain
11
11
 
12
+ # Match AGP test-component suffixes, not flavor substrings such as "latest".
13
+ TEST_CLASSPATH_PATTERN = r".*(?:UnitTest|AndroidTest|TestFixtures)(?:Compile|Runtime|AnnotationProcessor)Classpath"
14
+
12
15
  INIT = """
13
16
  gradle.projectsEvaluated {
14
17
  rootProject.tasks.register('gowalkPrimeDependencies') {
@@ -17,7 +20,8 @@ gradle.projectsEvaluated {
17
20
  rootProject.allprojects.each { target ->
18
21
  target.configurations.findAll { config ->
19
22
  config.canBeResolved && config.name.toLowerCase().contains('release') &&
20
- config.name.toLowerCase().endsWith('classpath')
23
+ config.name.toLowerCase().endsWith('classpath') &&
24
+ !config.name.matches('%s')
21
25
  }.each { config ->
22
26
  config.resolvedConfiguration.resolvedArtifacts.each { artifact -> artifact.file.length() }
23
27
  resolved++
@@ -27,7 +31,7 @@ gradle.projectsEvaluated {
27
31
  }
28
32
  }
29
33
  }
30
- """
34
+ """ % TEST_CLASSPATH_PATTERN
31
35
 
32
36
 
33
37
  def prepare(root: Path, run=subprocess.run) -> Path:
@@ -38,6 +38,10 @@ five minutes; Gradle saves a complete graph under a distinct `-warm-` key. Nativ
38
38
  their existing in-build Ruby/Xcode/architecture cache lifecycle. No arbitrary toolchain selector
39
39
  is replayed by this optional Flutter cache path.
40
40
 
41
+ Gradle priming resolves production release classpaths only. AGP unit-test, Android-test and test-fixture
42
+ component classpaths are excluded: their application self-dependencies can require generated artifacts
43
+ and ambiguous variant selection. Flavor names containing `test`, such as `latest`, remain included.
44
+
41
45
  The warm-up remains off the delivery critical path and records its own completed runner minutes
42
46
  in `dependency-performance-<run>-<attempt>`. Include this auxiliary work when measuring cost.
43
47
  Cache eviction or new dependency/toolchain identities can legitimately require priming again.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.213",
3
+ "version": "1.0.214",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {