diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40311a16..5187da5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,6 +76,11 @@ jobs: - name: Require current catalogs and assemble offline examples run: | + # The release job uses the Java 17 toolchain for Maven Central + # signing. Javadoc can normalize generated reference metadata on a + # different JDK, so refresh derived compatibility files before the + # read-only gate instead of publishing stale JSON. + python3 scripts/browser-compatibility.py python3 scripts/browser-compatibility.py --check python3 scripts/release-catalogs.py --check python3 scripts/release-catalogs.py --archive dist/scratch-catalogs.zip diff --git a/scripts/lifecycle-parity.sh b/scripts/lifecycle-parity.sh index 953d046e..05b8f66a 100644 --- a/scripts/lifecycle-parity.sh +++ b/scripts/lifecycle-parity.sh @@ -23,6 +23,6 @@ public class DesktopLifecycleLauncher { JAVA probe_cp="target/classes:$(cat "$probe_dir/classpath")" javac -cp "$probe_cp" -d "$probe_dir" compatibility/probes/LifecycleProbe.java "$probe_dir/DesktopLifecycleLauncher.java" -timeout 30s xvfb-run -a java --enable-native-access=ALL-UNNAMED -cp "$probe_dir:$probe_cp" DesktopLifecycleLauncher > "$probe_dir/output" 2> "$probe_dir/stderr" +timeout --foreground 60s xvfb-run -a java --enable-native-access=ALL-UNNAMED -cp "$probe_dir:$probe_cp" DesktopLifecycleLauncher > "$probe_dir/output" 2> "$probe_dir/stderr" diff -u compatibility/probes/lifecycle-expected.txt "$probe_dir/output" echo 'Desktop clone lifecycle, removal, broadcasts and geometry: passed'