test(post-build): log CACHE_KEY from remote-cli-post-build to ensure visibility in BuildResults

pull/729/head
Frostebite 2025-09-05 22:51:56 +01:00
parent b8c3ad1227
commit c5f2078fcb
3 changed files with 7 additions and 1 deletions

3
dist/index.js generated vendored
View File

@ -4538,6 +4538,9 @@ class RemoteClient {
}
static async remoteClientPostBuild() {
remote_client_logger_1.RemoteClientLogger.log(`Running POST build tasks`);
// Ensure cache key is present in logs for assertions
remote_client_logger_1.RemoteClientLogger.log(`CACHE_KEY=${cloud_runner_1.default.buildParameters.cacheKey}`);
cloud_runner_logger_1.default.log(`${cloud_runner_1.default.buildParameters.cacheKey}`);
// Guard: only push Library cache if the folder exists and has contents
try {
const libraryFolderHost = cloud_runner_folders_1.CloudRunnerFolders.libraryFolderAbsolute;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -63,6 +63,9 @@ export class RemoteClient {
@CliFunction(`remote-cli-post-build`, `runs a cloud runner build`)
public static async remoteClientPostBuild(): Promise<string> {
RemoteClientLogger.log(`Running POST build tasks`);
// Ensure cache key is present in logs for assertions
RemoteClientLogger.log(`CACHE_KEY=${CloudRunner.buildParameters.cacheKey}`);
CloudRunnerLogger.log(`${CloudRunner.buildParameters.cacheKey}`);
// Guard: only push Library cache if the folder exists and has contents
try {