Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3ece54788730b769f69815d72ecc42f0b8688223
https://github.com/WebKit/WebKit/commit/3ece54788730b769f69815d72ecc42f0b8688223
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-05-14 (Thu, 14 May 2026)
Changed paths:
M Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py
Log Message:
-----------
[GTK][WPE] Cap wkdev-build container hostname to HOST_NAME_MAX
https://bugs.webkit.org/show_bug.cgi?id=314810
Unreviewed build fix.
In a Kubernetes pod the host hostname is the pod name (up to 63 chars),
so blindly appending it to the container name overflows the 64-byte
HOST_NAME_MAX. crun then fails to start the container with:
Error: OCI runtime error: ... crun: sethostname: Invalid argument
ERROR: Failed to start container 'wkdev-build'.
Route the hostname through a small helper that truncates to 63 chars.
* Tools/Scripts/webkitpy/port/linux_container_sdk_utils.py:
(_container_hostname):
(_build_podman_create_args):
Canonical link: https://commits.webkit.org/313235@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications