codex/codex-rs/core-plugins
Adam Perry @ OpenAI df8990e261 Upgrade zip to 9.0.0 and update plugin archive extraction (#54761)
## Why

Curated plugin archives should preserve executable permissions without applying setuid, setgid, or sticky bits.

## What changed

- Upgrade `zip` from 2.4.2 to 9.0.0, retaining the previous feature set and selecting the existing `bzip2-sys` backend explicitly. Update the Cargo and Bazel lockfiles.
- Adapt plugin extraction to fallible entry names and apply Unix permissions through the open output file, using the mode filtered by `zip`.

## Testing

Add a Unix regression test that encodes special permission bits directly in an archive entry and verifies that the extracted file has mode `0o755`.

GitOrigin-RevId: 75ee6879a372a36b34208c1359f42b670c9d3837
History 2026-10-17 02:13:08 +00:00
..
src Upgrade zip to 9.0.0 and update plugin archive extraction (#54761) 2026-10-17 02:13:08 +00:00
BUILD.bazel build: run buildifier from just fmt (#28125) 2026-06-13 21:43:39 -07:00
Cargo.toml Use descriptor-safe helpers for executable test fixtures (#50018) 2026-10-01 15:57:03 +00:00