Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamaru committed Dec 19, 2024
1 parent 31dd0cc commit 1d30241
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,8 @@ export async function shutdownBuildkitd(): Promise<void> {
// Wait for buildkitd to shutdown with backoff retry
while (Date.now() - startTime < timeout) {
try {
await execAsync('pgrep -f buildkitd');
// Process still exists, wait and retry
const {stdout} = await execAsync('pgrep -f buildkitd');
core.info(`buildkitd process still running with PID: ${stdout.trim()}`);
await new Promise(resolve => setTimeout(resolve, backoff));
} catch (error) {
if (error.code === 1) {
Expand Down

0 comments on commit 1d30241

Please sign in to comment.