gowalk-cicd 1.0.212 → 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.
package/README.md
CHANGED
|
@@ -1336,8 +1336,9 @@ mismatched evidence remains refused; do not relabel a receipt or impersonate the
|
|
|
1336
1336
|
`GITHUB_*` environment. Normal delivery still refuses cancelled producers.
|
|
1337
1337
|
|
|
1338
1338
|
From 1.0.212, incomplete GitHub job-step metadata is reconciled by reading the exact producer job
|
|
1339
|
-
within
|
|
1340
|
-
|
|
1339
|
+
within a 60-second budget per producer observation, also bounded by the verification deadline.
|
|
1340
|
+
From 1.0.213, historical recovery's final producer recheck gets a fresh budget after Apple processing.
|
|
1341
|
+
Complete observations add no wait. Producer identity, successful ordered transfer/handoff steps and artifact checks remain
|
|
1341
1342
|
required; contradictory identity, duplicate steps or explicit transfer failure refuse immediately.
|
|
1342
1343
|
`apple_upload_verify_producer_job_metadata_unavailable` means the required observations remained
|
|
1343
1344
|
unavailable, not that the upload failed. Preserve its handoff and build; after GitHub supplies the
|
|
@@ -25,7 +25,8 @@ async function verify(value, artifactId, timeout, dependencies = {}) {
|
|
|
25
25
|
const sleep = dependencies.sleep || delay, started = now(), deadline = started + timeout * 1000;
|
|
26
26
|
const key = dependencies.get ? null : credential();
|
|
27
27
|
const get = dependencies.get || (path => apple.appleGet(path, key, Math.max(1, Math.min(30000, deadline - now()))));
|
|
28
|
-
|
|
28
|
+
// Each producer observation has its own bounded metadata readback within this verification deadline.
|
|
29
|
+
const observation = {now, sleep, deadline};
|
|
29
30
|
await handoff.verifyProducer(value, artifactId, api, dependencies.recoverCancelled === true, observation);
|
|
30
31
|
await handoff.phase(value, api);
|
|
31
32
|
let proof;
|
|
@@ -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:
|
package/docs/GRADLE_CACHE.md
CHANGED
|
@@ -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.
|