Skip to content

fix(execution): reject run names ending in a newline - #505

Merged
aitianshi merged 1 commit into
mainfrom
fix/run-name-newline
Nov 30, 2026
Merged

aitianshi merged 1 commit into
mainfrom
fix/run-name-newline

Conversation

@aitianshi

Copy link
Copy Markdown
Collaborator

Closes #490

What

A run name ending in a newline was accepted at launch, then refused when deleting its launch.
Validation now requires the entire name to match, as deletion already does.
Page and command interfaces are unchanged; the fix is in shared execution validation.

Verified

  • Regression fails before the fix and passes after it.
  • Valid names, trailing newlines, spaces, empty names and the 80-character limit covered.
  • Execution suite: 67 tests pass on the current main base.
  • git diff --check passes.

Risk

Existing launches with invalid names are not repaired.
Undo: revert.

Agents

  • Codex, GPT-6 Astra

@aitianshi
aitianshi marked this pull request as ready for review November 30, 2026 10:29
@github-actions

Copy link
Copy Markdown

🟡 PR judge · 5 of 5 yes · #505 ↔ #490

Merge risk 🔴 MAJOR the judge's reading of the diff; app/nullius/execution.py is in the path of every run
Depth 🔴 EXTREME the deepest path is app/nullius/execution.py
Question Verdict
Changes do what the issue asks · 2 of 2 criteria ✅ yes
Issue and pull request describe the same change ✅ yes
Description matches the diff ✅ yes
Diff stays in scope ✅ yes
Risk named in the description ✅ yes
Before and after shown –
Acceptance criteria, 2 of 2 met
# Criterion Verdict
1 Plan.check refuses a name that ends in a line break ✅ met
2 A test holds it ✅ met
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Nov 30, 2026
@aitianshi
aitianshi merged commit b2b790b into main Nov 30, 2026
6 checks passed
@aitianshi
aitianshi deleted the fix/run-name-newline branch November 30, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Runs: a name that ends in a line break is accepted, and its launch cannot then be deleted

1 participant