Skip to content

feat: add devcontainer for cross-platform development - #94074

Closed
zhanxingxin1998 wants to merge 1 commit into
openclaw:mainfrom
zhanxingxin1998:fix/feat-add-devcontainer-for-cross-platform-developme
Closed

zhanxingxin1998 wants to merge 1 commit into
openclaw:mainfrom
zhanxingxin1998:fix/feat-add-devcontainer-for-cross-platform-developme

Conversation

@zhanxingxin1998

@zhanxingxin1998 zhanxingxin1998 commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

Closing per ClawSweeper review: duplicate of canonical PR #62503. This cherry-pick is patch-identical to the upstream PR and adds no new value.

@clawsweeper — closing as requested.

@openclaw-barnacle openclaw-barnacle Bot added triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. size: S labels Jun 17, 2026
Adds a devcontainer configuration using the Microsoft Node 22 base
image with GitHub CLI. Installs pnpm dependencies and Claude CLI
during post-create setup.

Security: no host credentials are forwarded via containerEnv. Users
authenticate interactively after creation (gh auth login, claude
login). VS Code forwards GitHub auth automatically for the Copilot
extension.

Also adds a 'devcontainer' label rule to .github/labeler.yml.

Co-authored-by: Copilot <[email protected]>
@zhanxingxin1998
zhanxingxin1998 force-pushed the fix/feat-add-devcontainer-for-cross-platform-developme branch from 91f0fb3 to 4ab3e88 Compare June 18, 2026 01:44
@openclaw-barnacle openclaw-barnacle Bot added triage: mock-only-proof Candidate: PR proof only shows tests, mocks, snapshots, lint, typecheck, or CI. and removed triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 18, 2026
@clawsweeper

clawsweeper Bot commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

Close as duplicate: this PR is patch-identical to the older open devcontainer PR, which is maintainer-editable, has stronger real setup proof, and is already carrying the remaining security/pinning review.

Root-cause cluster
Relationship: duplicate
Canonical: #62503
Summary: This PR is an identical cherry-pick of the older open devcontainer proposal; the older PR is canonical because it has the same stable patch-id, stronger real setup proof, and maintainer edit access.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Canonical path: Close this duplicate and continue the devcontainer ownership, proof, and input-pinning discussion on #62503.

So I’m closing this here and keeping the remaining discussion on #62503.

Review details

Best possible solution:

Close this duplicate and continue the devcontainer ownership, proof, and input-pinning discussion on #62503.

Do we have a high-confidence way to reproduce the issue?

Not applicable; this PR adds a new contributor devcontainer workflow rather than fixing broken existing behavior. The current PR supplies only build/CI proof, while the canonical PR includes real Podman and VS Code Dev Containers setup logs.

Is this the best way to solve the issue?

No; this identical cherry-pick is not the best way to solve the request because the older open PR has the same patch, maintainer edit access, stronger proof, and the active remaining pinning/product discussion.

Security review:

Security review needs attention: The diff adds a first-party devcontainer build path that trusts and executes mutable external inputs before they are pinned or explicitly accepted as a dev-only exception.

  • [medium] Mutable devcontainer base image — .devcontainer/Dockerfile:6
    The Dockerfile uses mcr.microsoft.com/devcontainers/javascript-node:22-bookworm without an immutable digest, so future builds can pull changed base contents outside repository review.
    Confidence: 0.92
  • [medium] Unverified GitHub CLI apt key trust — .devcontainer/Dockerfile:9
    The Dockerfile downloads and trusts the GitHub CLI apt key during build without a reviewed fingerprint check, unlike the adjacent Docker input-pinning pattern in current main.
    Confidence: 0.86
  • [medium] Unpinned global Claude CLI install — .devcontainer/Dockerfile:19
    The Dockerfile installs the latest @anthropic-ai/claude-code package globally during image build, making setup behavior depend on future npm registry state.
    Confidence: 0.88

AGENTS.md: found and applied where relevant.

What I checked:

  • Root policy read: Root AGENTS.md was read fully; its high-confidence PR review, duplicate search, current/shipped behavior, and security review guidance affected this review. (AGENTS.md:12, d1b917120a47)
  • Current PR patch identity: The live diff for this PR has stable patch-id f8cfce29479d0756138728358ecb9f3912cc9bcb. (4ab3e8891795)
  • Canonical PR patch identity: The older open devcontainer PR has the same stable patch-id, so this branch is an identical four-file cherry-pick. (64809dda610b)
  • Canonical PR viability: Live GitHub data shows feat: add devcontainer for cross-platform development #62503 is open, mergeable, maintainer-editable, labeled proof: sufficient, and includes real Podman / VS Code Dev Containers setup logs. (64809dda610b)
  • Current main state: Current main has no .devcontainer/ entries, so the feature is not already implemented on main and the remaining work should stay with the canonical PR. (d1b917120a47)
  • Latest release state: Release tag v2026.6.10 has no .devcontainer/ entries, so the devcontainer feature has not shipped in the latest release. (aa69b12d0086)

Likely related people:

  • urtabajev: Authored the older open patch-identical devcontainer PR and posted real Podman / VS Code Dev Containers setup proof there. (role: canonical PR proposer and proof provider; confidence: high; commits: 64809dda610b; files: .devcontainer/Dockerfile, .devcontainer/devcontainer.json, .devcontainer/on-create.sh)
  • coygeek: Authored the merged Docker digest-pinning work that established the adjacent supply-chain policy and tests for Dockerfile inputs. (role: introduced adjacent Docker digest policy work; confidence: high; commits: 8ae2d5110f6c; files: Dockerfile, src/docker-image-digests.test.ts, .github/dependabot.yml)
  • LibraHo: Recently refreshed Node Docker base image digests and related tests in the same pinned-image surface. (role: recent Docker digest updater; confidence: medium; commits: d88767e819d1; files: Dockerfile, src/docker-image-digests.test.ts, src/dockerfile.test.ts)
  • vincentkoc: Live PR metadata lists this person as the merger for the Docker digest-pinning PR that established the relevant review policy background. (role: prior Docker policy merger; confidence: medium; commits: 8ae2d5110f6c; files: Dockerfile, src/docker-image-digests.test.ts, .github/dependabot.yml)
  • steipete: Live PR metadata lists this person as the merger for the recent Node Docker digest refresh path. (role: recent Docker digest merger; confidence: medium; commits: d88767e819d1; files: Dockerfile, src/docker-image-digests.test.ts, src/dockerfile.test.ts)

Codex review notes: model internal, reasoning high; reviewed against d1b917120a47.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Jun 18, 2026
@zhanxingxin1998
zhanxingxin1998 deleted the fix/feat-add-devcontainer-for-cross-platform-developme branch June 30, 2026 02:34
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. triage: mock-only-proof Candidate: PR proof only shows tests, mocks, snapshots, lint, typecheck, or CI. triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant