GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(mcpx): ship static container build + tier-2 container legs (#1987) by dezren39 · Pull Request #2705 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 30, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Implements the #1987 follow-up packet (task 3283; triage 2892):

1. Containerfile ships/tests a static mcpx. ARG CGO_ENABLED default flips 1 → 0 (the build #182 measured end-to-end but left as "a goal, not a state"), and the build now fails if the binary doesn't record the CGO_ENABLED it was built with (go version -m assertion). --build-arg CGO_ENABLED=1 still gives the old glibc build.

2. Static-artifact policy recorded in docs/container.md §4: nix package and the container binary ship static; the image as a whole does not (bun is a dynamic distribution binary — the runtime stage is Debian for bun now, not for mcpx); the release tarball is #1881's call, with this policy as its input.

3. Tier-2 container legs wired as pkgs/mcpx/scripts/tier2-containers.sh + new workflow .github/workflows/mcpx-tier2-containers.yml (push-to-main on pkgs/mcpx/**, nightly, dispatch — tier 2 never gates PRs). Legs: alpine non-exec, alpine + bun-musl exec, FROM scratch non-exec, distroless-static non-exec, distroless/cc + deno exec. Non-exec legs assert mcpx's clean "no usable JavaScript runtime" refusal rather than skipping.

Verification (laptop, docker — PR-head CI no longer exists under the main-only model):

  • scripts/tier2-containers.sh all legs passed (binary: statically linked, CGO_ENABLED=0)
  • Shipped image builds; ldd /usr/local/bin/mcpx → "not a dynamic executable"; --version → mcpx 0.1.0

Deferred with reason (also recorded on #1987 and in docs §4): the alpine + nodejs exec leg — mcpx's node path dies with ERR_NO_TYPESCRIPT under Alpine's nodejs build. Filed as #2699 with repro and acceptance; the leg joins the matrix when that is fixed.

Refs #1987 (issue stays open for its tier-3 remainder: fedora/flatpak/silverblue/Windows are separate issues when wanted).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dezren39
feat(mcpx): ship static container build + tier-2 container legs (#1987)
2ce1dd8
Containerfile now defaults CGO_ENABLED=0 (the static build #182 measured but left as a goal) and fails the build if the binary does not record the CGO_ENABLED it was built with. docs/container.md section 4 becomes the static-artifact policy record: nix package and container binary ship static, the image as a whole does not (bun is dynamic), release tarball left to #1881.

Tier-2 legs (scripts/tier2-containers.sh, run nightly + on main by the new mcpx-tier2-containers workflow): alpine non-exec, alpine + bun-musl exec, scratch non-exec, distroless-static non-exec, distroless/cc + deno exec. Non-exec legs assert mcpxs clean no-usable-runtime refusal. All five legs verified locally with docker, plus the shipped image (ldd: not a dynamic executable).

Deferred with reason: alpine + nodejs exec — mcpxs node path dies with ERR_NO_TYPESCRIPT under Alpines nodejs build; filed as #2699 and recorded in docs/container.md section 4.
@dezren39
dezren39 requested a review from a team as a code owner October 30, 2026 11:10
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ccfb46ce-cf95-450b-9a51-93a32963141e
Commits

Reviewing files that changed from the base of the PR and between d52fe3a and 8c77cf5.

Files selected for processing: 4
  • .github/workflows/mcpx-tier2-containers.yml
  • pkgs/mcpx/Containerfile
  • pkgs/mcpx/docs/container.md
  • pkgs/mcpx/scripts/tier2-containers.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T13:44:25.070735Z 8c77cf5 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Oct 30, 2026
mcpx testing: extended platforms -- which artifacts ship static; alpine, scratch, distroless, flatpak, Fedora, Windows tiers #1987
Closed
@dezren39

dezren39 commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

@codex review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 30, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2ce1dd89ac

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/mcpx-tier2-containers.yml Outdated
Comment on lines +42 to +43
docker run --rm --entrypoint sh mcpx-tier2-image \
-c 'ldd /usr/local/bin/mcpx' | grep -q 'not a dynamic executable'

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 30, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle ldd's expected failure when checking a static binary

For the intended static mcpx artifact, glibc's ldd writes not a dynamic executable to stderr and exits 1; its implementation explicitly redirects the diagnostic with >&2 and sets result=1, which I also reproduced locally with a static ELF binary. This pipeline only sends stdout to grep, so the shipped-image verification job fails even when the build is correct and never reaches --version. Capture stderr and handle the expected nonzero status before asserting the diagnostic; redirecting stderr alone would still fail under the workflow shell's pipefail behavior.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Oct 30, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in the follow-up commit just pushed. The shipped-image check no longer pipes ldd into grep: it captures the docker run output (with ldd stderr redirected inside the container and the expected exit 1 tolerated via || true) and asserts on the captured text, so pipefail cannot fail the step for the static success case. The --version run that follows is unchanged.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39 dezren39 mentioned this pull request Oct 30, 2026
mcpx testing: flake policy -- race, shuffle, repeat runs, quarantine with expiry, a second OS #1973
Closed
@github-actions github-actions Bot assigned dezren39 Oct 30, 2026
dezren39 added 2 commits October 30, 2026 08:17
@dezren39
mcpx tier2: handle ldd expected failure for static binary check (Code…
35c9eb0
…x P2)
@dezren39
Merge remote-tracking branch 'origin/main' into queue/3283-1987-stati…
8c77cf5
…c-container

# Conflicts:
#	pkgs/mcpx/Containerfile
@dezren39
dezren39 merged commit 9ffa739 into main Oct 30, 2026
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the queue/3283-1987-static-container branch October 30, 2026 13:56
@dezren39 dezren39 mentioned this pull request Nov 1, 2026
mcpx testing: integration tests for every feature, across environments #1905
Closed
6 tasks
@developing-today developing-today Bot mentioned this pull request Nov 3, 2026
mcpx exec: ERR_NO_TYPESCRIPT under Alpine's nodejs (musl) build #2699
Closed
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 28, 2026
opencode-acp-adapter: serveJson buffers response bodies without a byte cap (timeout bounds time, not bytes) #16391
Closed
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.