docker-build-push-action/src
Claude e6eefa1b11 fix: add timeout to buildx export operation to prevent hanging
Add a 30-second timeout to the buildxHistory.export() call to prevent
workflow jobs from hanging indefinitely when the buildx dial-stdio
process crashes or becomes unresponsive. The build will continue
with reporting even if the export fails or times out.

Key improvements:
- Clear timeout when export completes to avoid unhandled promise rejection
- Handle undefined exportRes gracefully (already supported by reporter)
- Continue with build reporting even if export fails

Fixes issue where docker run export-build command would hang with
"broken pipe" errors when buildx backend is unavailable.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-04 21:39:08 -04:00
..
__mocks__ fix: use correct platform when creating remote buildx builder 2025-06-11 12:59:55 -04:00
__tests__ refactor: only report metrics when using Blacksmith builder 2025-08-03 15:59:22 -04:00
context.ts refactor: remove nofallback parameter 2025-08-01 14:52:41 -04:00
main.ts fix: add timeout to buildx export operation to prevent hanging 2025-08-04 21:39:08 -04:00
reporter.ts fix: remove unnecessary @ts-expect-error directive 2025-08-03 20:23:21 -04:00
state-helper.ts fix: resolve TypeScript build errors and lint issues 2025-08-03 15:33:27 -04:00