diff --git a/dist/index.js b/dist/index.js index 44e5e2ba..cfb8dad1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1585,6 +1585,7 @@ class State { const tmpDir = os_1.default.tmpdir(); const file = path_1.default.join(tmpDir, crypto_1.default.randomBytes(8).readBigUInt64LE(0).toString()); fs_1.default.writeFileSync(file, serialized); + core.debug(`Persisting state includes info about ${this.processedIssuesIDs.size} issue(s)`); const artifactClient = artifact.create(); try { yield artifactClient.uploadArtifact(State.ARTIFACT_NAME, [file], tmpDir); diff --git a/src/classes/state.ts b/src/classes/state.ts index e0d86d88..5b1035ee 100644 --- a/src/classes/state.ts +++ b/src/classes/state.ts @@ -44,6 +44,9 @@ export class State implements IState { ); fs.writeFileSync(file, serialized); + core.debug( + `Persisting state includes info about ${this.processedIssuesIDs.size} issue(s)` + ); const artifactClient = artifact.create(); try { await artifactClient.uploadArtifact(State.ARTIFACT_NAME, [file], tmpDir);