Skip to content

fix: reject unmigrated native modes and isolate release dry runs - #995

Merged
steipete merged 1 commit into
mainfrom
fix/legacy-native-release-dry-run
Oct 16, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/legacy-native-release-dry-run

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

The Python configuration bridge was deliberately removed in #815 (0.23.0), but deployments still setting FS_SAFE_PYTHON_MODE=require silently selected auto. Reject either removed Python-mode variable with an actionable migration error unless valid explicit native configuration overrides it. Configuration reads, native-required routing, and status reporting use the same behavior. Keep the removed API removed.

Rename FS_SAFE_PYTHON_MODE to FS_SAFE_NATIVE_MODE, or OPENCLAW_FS_SAFE_PYTHON_MODE to OPENCLAW_FS_SAFE_NATIVE_MODE, preserving require, off, or auto. Programmatic native configuration still wins, then the unprefixed native variable, then the prefixed native variable. This unblocks an explicit migration for openclaw/acpx#877; acpx also needs to remove the obsolete journal nonBlockingRead option before upgrading.

Release dry run 38766895287 attempted to enter the tag-restricted release-signing environment from main. Restrict signing and signed package collection to protected tag pushes. Manual dry runs instead verify unsigned helper reproducibility, exercise Windows x64/ARM64 binaries, assemble all platform bindings, and smoke-test unsigned host packages. Dry-run packages use a distinct artifact name and never feed publication. Real tag releases retain their existing signing, signed runtime tests, package verification, and publication dependencies. No environment or security settings change.

Validation

  • Reproduced the legacy require → auto downgrade on the base revision; a migration-error assertion failed before the fix.
  • Focused regression tests: 39 passed, 1 platform-dependent test skipped on Linux.
  • actionlint -shellcheck= and git diff --check passed.
  • Crabbox AWS: pnpm check passed build, allocator, documentation-example, lint, and 14,226 tests; its one failure was a stale documentation assertion. After updating that assertion, all 10 documentation-contract tests and the remaining package checks passed. The run skipped 4,335 platform/native-specific tests; cross-platform PR CI supplies those lanes.
  • Independent Codex autoreview: no actionable P0–P2 findings.
  • No open Dependabot alerts.

After merge: verify default-branch CI and dispatch release.yml on main with dry_run=true. No release, tag, version bump, or publication is requested.

@steipete
steipete requested a review from a team as a code owner October 16, 2026 01:35
@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

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-16T01:37:17.661192Z 3184d47 PR opened
ℹ️ 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.

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

Copy link
Copy Markdown

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: 3184d476b2

ℹ️ 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".

Comment thread .github/workflows/release.yml Resolved
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix: reject unmigrated native modes and isolate release dry runs This is item 1/1 in the current shard. Shard 0/1.

This temporary status tracks the active review worker. The completed review will appear in the durable ClawSweeper review comment.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

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