Loading
Sign in before continuing.
Commits on Source 82
-
Daz DeBoer authored
-
Daz DeBoer authored
To avoid evicting useful entries, some pipeline may benefit from using existing cache entries without writing any changes back to the cache. Fixes #62
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
- Use a separate job to test read-only cache - Use dependency jobs to avoid cache race conditions
-
Daz DeBoer authored
Allow caching to be enabled read-only
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
This permits a new cache entry to be persisted when a subsequent Gradle invocation does more work that an earlier invocation. Fixes #68
-
Daz DeBoer authored
Cache keys have a hard limit of 512 characters, so we need to ensure that we don't generate a key longer than this. - Remove excess whitespace - Truncate to 400 characters Fixes #70
-
Daz DeBoer authored
- Do not restore cache when GUH exists - Include RUNNER_OS in the cache key - Do not save cache on exact hit - Only save cache in the final post action - Log before saving cache
-
Daz DeBoer authored
- For now, this is limited to configuration-cache directory
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
The Gradle daemon is not useful for ephemeral builds, and the process can hold file locks which interfere with cache entry generation. In the case where multiple Gradle invocations occur in the same job, we could provide a way for users to override this behaviour, taking care of stopping any daemon process at the end of the job.
-
Daz DeBoer authored
This will eliminate cache entries from previous workflow runs, allowing us to test cache functionality in isolation. If the `CACHE_KEY_SEED` environment variable is not set, this will have no impact.
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
Attempt to capture as much context as possible about the job run to generate a unique cache key. Unfortunately much of the matrix context is not available to the action implementation.
-
Daz DeBoer authored
-
Daz DeBoer authored
- Use 'notice' method introduced in @actions/core v1.5.0
-
Daz DeBoer authored
- Extracted common code for Gradle User Home and Project .gradle caches into abstract supertype. - Improve error handling by checking error types
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
In the current model, each cached Gradle User Home could contain a copy of one or more downloaded wrapper distributions. This results in large cache entries which could easily lead to premature eviction. With this change, wrapper dists are cached separately from the rest of the Gradle User Home directory. The artifact file is replaced by a marker file which allows the action to restore the artifact from cache when the Gradle user Home cache is restored.
-
Daz DeBoer authored
Similar to wrapper distributions, these large files are common to many Gradle User Home cache entries. Storing them separately removes this redundancy from the Gradle User Home cache.
-
Daz DeBoer authored
Making this functionality more general will make it easier to add other artifacts to the set that we cache separately.
-
Daz DeBoer authored
This will further remove common files out the the Gradle User Home cache entries, reducing cache usage by removing redundancy.
-
Daz DeBoer authored
-
Daz DeBoer authored
- Rename feature to "common artifact caching" - Cleanup logging - Refactor/rename for clarity
-
Daz DeBoer authored
This is required to ensure that cache entries are namespaced correctly for the integration tests.
-
Daz DeBoer authored
We have no way of knowing if another build has already cached these artifacts, so CacheReservationError is expected.
-
Daz DeBoer authored
-
Daz DeBoer authored
- Move more messages out of main 'info' log - Only log cache entry size when debugging - Process cache entries sequentially when debugging
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
This will make reported errors easier to link back to Typescript sources.
-
Daz DeBoer authored
Without this, the error logs contain an "UnhandledPromiseRejectionError" but the action is reported as succeeding.
-
Daz DeBoer authored
Instead, catch and report these errors before continuing.
-
Daz DeBoer authored
-
Daz DeBoer authored
Unfortunately, doing this overloads the GitHub actions cache infrastructure leading to failures and unpredictable results. A later solution may re-implement artifact sharing for dependency jars as well as jars within the `caches/jars-9` directory. But for now these will be duplicated across each Gradle User Home cache entry.
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
When caching is too fine-grained, an excessive number of cache requests can result in HTTP 429 errors due to rate limiting. By caching all artifacts of a particular type in a single entry we hope to mitigate this, at the expense of some reduction in cache space optimization. This change also adds caching for all dependency jars, as well as instrumented jars in the 'caches/jars-X' directory.
-
Daz DeBoer authored
- Include bundle name in cache key - Emit a few more messages at 'info'
-
Daz DeBoer authored
Hopefully this will allow GitHub to ignore the failure.
-
dependabot[bot] authored
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/daaku/nodejs-tmpl/releases) - [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5) --- updated-dependencies: - dependency-name: tmpl dependency-type: indirect ... Signed-off-by:
dependabot[bot] <[email protected]>
-
Daz DeBoer authored
- Improve workflow names - Split execution testing from cache testing
-
Daz DeBoer authored
-
Daz DeBoer authored
Fixes #74
-
Daz DeBoer authored
Fixes #77
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
Adapt paths to differing Gradle User Home
-
dependabot[bot] authored
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by:
dependabot[bot] <[email protected]>
-
Daz DeBoer authored
Instead of parsing the log output, we instead register a buildScanPublished listener and record the build scan URL to a file. This file is subsequently read to report the build scan URL. Fixes #30
-
Daz DeBoer authored
This allows more testing of build scan capture functionality
-
Daz DeBoer authored
-
Daz DeBoer authored
Use an init-script to capture buildScanPublished event
-
Daz DeBoer authored
Bump tmpl from 1.0.4 to 1.0.5
-
Daz DeBoer authored
Bump ansi-regex from 5.0.0 to 5.0.1
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
Fix build-scan link detection with older build-scan plugins Fixes #86
-
Daz DeBoer authored
-
Daz DeBoer authored
-
Daz DeBoer authored
Allow time for processes to delete file locks on windows