Skip to content

fix(patch-node24): support the Ubuntu 26.04 hosted image - #18

Merged
Kartik4152 merged 1 commit into
mainfrom
fix/patch-node24-ubuntu-2604
Nov 7, 2026
Merged

Kartik4152 merged 1 commit into
mainfrom
fix/patch-node24-ubuntu-2604

Conversation

@Kartik4152

@Kartik4152 Kartik4152 commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Stop rejecting Ubuntu 26.04 before inspecting its native Brotli decoder.
  • Accept already-fixed decoders on any Ubuntu release while retaining the Ubuntu 24.04-only rebuild path and all security checks.

Changes

  • Probe first; retain the existing nativeBrotli / changed: false JSON for fixed decoders. Unfixed decoders outside Ubuntu 24.04 fail with the release and decoder version.
  • Keep libbrotlidec.so.1 mandatory and report the unexpected SONAME clearly. The inspected 1.1.0 ABI gate, checksums, builder, package transaction checks, and ABI/development-file verification are unchanged.
  • Update action metadata and README. Add stdlib release-gate tests and a GitHub-hosted ubuntu-24.04 / ubuntu-26.04 matrix using ./actions/patch-node24; checkout is pinned to a full SHA with its version comment.

Test Plan

  • python3 scripts/test-patch-native-brotli.py: five tests pass, covering fixed decoders across Ubuntu releases, unfixed 26.04 rejection, both 24.04 ABI paths, and non-Ubuntu rejection. The new release behavior failed against the original script before the fix.
  • git diff --check and workflow actionlint pass. Local actionlint predates ubuntu-26.04; only that exact unknown-label diagnostic was excluded locally, with no lint suppression committed.
  • Byte-compare the inspected ABI gate and entire rebuild path, Node script, and vendored builder against origin/main; verify the pinned builder checksum.
  • GitHub-hosted Ubuntu 24.04 matrix job: passed, image 20261101.360.1, native decoder version 16781312 (1.1.0), blockSwitch: _ERROR_FORMAT_BLOCK_SWITCH, changed: false.
  • GitHub-hosted Ubuntu 26.04 matrix job: passed, image 20261101.186.1; native output below. Passing the strict probe confirms libbrotlidec.so.1 loaded successfully.
{"nativeBrotli": {"version": 16785408, "blockSwitch": "_ERROR_FORMAT_BLOCK_SWITCH"}, "changed": false}

The 26.04 native decoder version is 1.2.0 (0x1002000). Both hosted images already have fixed native decoders, so this run exercises the unchanged fast path rather than the package rebuild. The rebuild path is byte-for-byte unchanged and its release/ABI gates are covered by the isolated tests. Both jobs also reported Node 24.22.1, bundled Brotli 1.2.0, and Node blockSwitch: -17.

🤖 Generated with Claude Code

https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

Probe native Brotli before applying the release gate so already-fixed
decoders on Ubuntu 26.04 and other Ubuntu releases retain the existing
unchanged JSON result. Fail closed with the release and decoder version
when an unsupported release still needs patching.

Keep the strict SONAME check, Ubuntu 24.04 rebuild restriction, inspected
1.1.0 ABI gate, checksums, and all build/install verification intact.
Document the behavior and test the local action on both hosted images,
with stdlib regression coverage for the release and ABI gates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
@Kartik4152
Kartik4152 merged commit 4ef0030 into main Nov 7, 2026
2 checks passed
Kartik4152 added a commit to zkp2p/peer-cash-snap that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/peer-cash that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/mastra-peer-cash that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/peer-cli that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/zkp2p-skills that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/wdk-protocol-fiat-peer that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/vault-list that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr
Kartik4152 added a commit to zkp2p/peer-cash that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/mastra-peer-cash that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/peer-cli that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/zkp2p-skills that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/wdk-protocol-fiat-peer that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/zkp2p-contracts that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).


Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/peer-link that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).


Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/zkp2p-solana-contracts that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).


Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/vault-list that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit that referenced this pull request Nov 7, 2026
GitHub moved ubuntu-latest to 26.04; the old action failed there (#18).


Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Kartik4152 added a commit to zkp2p/peer-cash-snap that referenced this pull request Nov 7, 2026
* ci: pin GitHub Actions to commit SHAs

Prepares for the org-wide sha_pinning_required policy. Tags stay as
comments; resolved versions are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

* ci: bump patch-node24 for Ubuntu 26.04

GitHub moved ubuntu-latest to 26.04; the old action failed there (zkp2p/.github#18).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012KwNzh5f5j1mQpZQZdVGwr

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant