Skip to content

Harden conversion failure containment (salvaged from PR #1) - #2

Open
ZaidNAlAsali wants to merge 1 commit into
integrationfrom
codex/pr1-salvage
Open

Harden conversion failure containment (salvaged from PR #1)#2
ZaidNAlAsali wants to merge 1 commit into
integrationfrom
codex/pr1-salvage

Conversation

@ZaidNAlAsali

Copy link
Copy Markdown
Owner

Salvage of the narrow hardening hunks from the closed draft PR #1, applied on top of integration (v2.3.2).

What this includes

  • Conversion jobs fail closed: missing input extension rejected cleanly, null-safe sub-job cancels, CD drive always released via finally, intermediate files never deleted while a thread still uses them, post-conversion actions exception-guarded.
  • Settings/presets null-safe on deserialization, culture fallback instead of throw, preset import validates the file and stops on failure.
  • Explorer extension: null-guarded registry/preset reads, guarded process start with temp input list cleanup, guarded URL opening.
  • DebugInstaller.bat now points at the ZFileConverter MSI paths.

What this deliberately does not include

  • ZaidForge smart output templates, branding assets, docs/roadmap, CI tooling experiments: those stay on the draft branch and are out of scope for a hardening change.

Verification

  • MSBuild Release x64 (same command as CI): 0 warnings, 0 errors.
  • Produces ZFileConverter-setup.msi.

Salvaged narrow hardening hunks from the draft PR #1 branch onto integration:

- Conversion jobs fail closed: missing input extension is rejected
  cleanly, sub-job cancels are null-safe, CD drive is always released
  via finally, intermediate files are never deleted while a thread
  still uses them, and post-conversion actions are exception-guarded.
- Settings and presets are null-safe on deserialization, language
  culture falls back instead of throwing, preset import validates the
  file and reports failures instead of continuing blind.
- Explorer extension: registry and preset reads are null-guarded,
  process start failures surface a message and clean up the temp
  input list, URL opening is guarded.
- DebugInstaller.bat uses the ZFileConverter MSI paths.

Verified: MSBuild Release x64, 0 warnings, 0 errors; produces
ZFileConverter-setup.msi.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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