Repository navigation
fix: reject unmigrated native modes and isolate release dry runs - #995
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
|
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. |
Summary
The Python configuration bridge was deliberately removed in #815 (0.23.0), but deployments still setting
FS_SAFE_PYTHON_MODE=requiresilently selectedauto. 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_MODEtoFS_SAFE_NATIVE_MODE, orOPENCLAW_FS_SAFE_PYTHON_MODEtoOPENCLAW_FS_SAFE_NATIVE_MODE, preservingrequire,off, orauto. 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 journalnonBlockingReadoption before upgrading.Release dry run 38766895287 attempted to enter the tag-restricted
release-signingenvironment frommain. 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
require→autodowngrade on the base revision; a migration-error assertion failed before the fix.actionlint -shellcheck=andgit diff --checkpassed.pnpm checkpassed 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.After merge: verify default-branch CI and dispatch
release.ymlonmainwithdry_run=true. No release, tag, version bump, or publication is requested.