Skip to content

fix: reject blank repository names and sources - #23

Merged
tylerwillis merged 1 commit into
mainfrom
codex/repo-required-fields
Sep 16, 2026
Merged

tylerwillis merged 1 commit into
mainfrom
codex/repo-required-fields

Conversation

@tylerwillis

@tylerwillis tylerwillis commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

An existing repository could be saved with an empty name or source, leaving later tasks unable to launch. Reject blank or whitespace-only required fields before writing, and keep the edit form open with an inline error and its draft intact.

Valid source strings and omitted fields retain their existing behavior. This adds 12 production lines plus focused API and dashboard regressions for rejection, atomicity, correction, and normal source formats.

Validation: 31 new regression cases and 129 adjacent tests passed in independent review; lint, formatting, and strict type checks passed. An installed-wheel check also confirmed blank-field rejection without mutation and successful correction through the real terminal UI. Both independent reviews approve the exact commit. All CI checks pass, including lint, formatting, type checks, the full test suite, wheel build/installation, and macOS/Linux startup smoke tests.

Validate required repository text before create or update writes, so an empty or whitespace-only edit cannot erase a usable source. Keep invalid edits open with required-field guidance and preserve the unsaved draft.

Retain exact nonblank source strings and omitted-field behavior. Add API atomicity and real dashboard form regressions covering rejection, correction, and ordinary source formats.

Validation: 31 focused regressions and 129 adjacent tests passed in independent review; lint, formatting, type checks, and removed-guard counterexamples passed.
@tylerwillis
tylerwillis marked this pull request as ready for review September 15, 2026 15:56
@tylerwillis
tylerwillis merged commit 2ca298e into main Sep 16, 2026
3 checks passed
@tylerwillis
tylerwillis deleted the codex/repo-required-fields branch September 16, 2026 05:25
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