Skip to content

[2679 by Claude Opus 5.5] When starting a new task it's defensively showing some disclaimers about resubmitting and starting o - #2681

Merged
integry merged 3 commits into
mainfrom
2679/claude-opus-5-5-when-starting-a-new-task--20261002-1020-cvq
Oct 2, 2026
Merged

integry merged 3 commits into
mainfrom
2679/claude-opus-5-5-when-starting-a-new-task--20261002-1020-cvq

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2679

Branch: 2679/claude-opus-5-5-when-starting-a-new-task--20261002-1020-cvq
Commits: ✅ Changes committed (c2d8f6a)


AI Processing Completed

Execution Details:

Summary:
The New Task dialog no longer shows the "Retry checks this submission…" and "Start over opens a new request…" disclaimers during a normal submission. They now appear only when something has actually gone wrong. The 11 unit tests for this page and the 9 existing browser tests for the new-task flow all pass.

When the recovery hints still show:

  • an error message is present.
  • the submission was rejected or failed to start.
  • the app reloaded or lost the server's response before confirming the submission, so it can't tell whether it went through.

When the run is going normally ("Submitting…", "Queued…", "Issue created — starting task"), the panel shows just the status line.

"Start over" button: it's now hidden while the first submission is in flight. In your screenshot it was showing, greyed out, next to "Submitting…". It still appears once the server responds, including after a normal response, so the existing recovery flows keep working.

The change is in propr-ui/src/pages/NewTaskPage.tsx. A new submissionNeedsRecovery helper decides when the hints show. I added a test to NewTaskPage.test.tsx that holds the submission in flight, checks the hints and "Start over" are absent, then lets it fail and checks they appear. Lint is clean for both files. The project-wide type check reports errors only in the unrelated desktop modules, not in these files.

I captured desktop previews of the dialog while submitting and after a real failure.

Detailed Logs:

  • Conversation: 60 messages
  • Session: 1508bce5-edad-47be-9639-c13429e177ab

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2679-2026-10-02T10-25-24-590Z-conversation.json
  • output: /tmp/claude-logs/issue-2679-2026-10-02T10-25-24-590Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: The New Task dialog no longer shows the "Retry checks this submission…" and "Start over opens a new request…" disclaimers during a normal submission. They now appear only when something has actually g...


This PR was created automatically by ProPR after processing issue #2679.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!


Visual preview

Actual failure

Actual failure

Recovery guidance and the Start over / Retry submission actions still appear when the submission actually fails.

Original unavailable: managed storage is unavailable or the upload has expired.

Normal submission

Normal submission

While a new task is submitting, the status panel shows only 'Submitting…' with no retry/start-over disclaimers and no Start over button.

Original unavailable: managed storage is unavailable or the upload has expired.

……" and "Start over opens a new request…" disclaimers during a normal submission. They now appear only when something has actually gone wrong. The 11 unit tests for this page and the 9 existing browser tests for the new-task flow all pass.

When the recovery hints still show:
- an error message is present.
- the submission was rejected or failed to start.
- the app reloaded or lost the server's response before confirming the submission, so it can't tell whether it went through.

When the run is going normally ("Submitting…", "Queued…", "Issue created — starting task"), the panel shows just the status line.

"Start over" button: it's now hidden while the first submission is in flight. In your screenshot it was showing, greyed out, next to "Submitting…". It still appears once the server responds, including after a normal response, so the existing recovery flows keep working.

The change is in `propr-ui/src/pages/NewTaskPage.tsx`. A new `submissionNeedsRecovery` helper decides when the hints show. I added a test to `NewTaskPage.test.tsx` that holds the submission in flight, checks the hints and "Start over" are absent, then lets it fail and checks they appear. Lint is clean for both files. The project-wide type check reports errors only in the unrelated desktop modules, not in these files.

I captured desktop previews of the dialog while submitting and after a real failure.
@integry

integry commented Oct 2, 2026

Copy link
Copy Markdown
Owner

These two states contain redundant loading components, an egregious semantic color violation, and a confusing partial-failure UX.

Here is the critical breakdown of both states:


Part 1: The "Submitting..." State (Image 1)

1. The Redundant "Submitting" Box

Look at the middle of the form versus the bottom button:

  • You have a large, empty teal-bordered box in the form body that says: Submitting...
  • Directly below it, the primary button also says: Submitting...
  • The Flaw: Burning 60px of vertical modal space just to render an empty box that says "Submitting..." is amateur UI. It looks like an unstyled skeleton loader that failed to populate.
  • The Fix: Delete that body box entirely. Submission state belongs strictly on the primary action button:
    • Swap the button text to Submitting... with an inline spinner (⟳).
    • Disable the button (pointer-events-none opacity-80).

2. Unlocked Form Inputs During Flight

  • The Flaw: While "Submitting..." is active, the Repository dropdown and Prompt textarea appear fully interactive.
  • The Reality: If a network request is in-flight, allowing the user to click dropdowns or edit text creates race conditions and double-submissions.
  • The Fix: When isSubmitting === true, disable the form inputs (disabled opacity-60).

Part 2: The Error / Failed State (Image 2)

1. The "Two-Box" Collision & Semantic Color Violation

Look at the error messaging:

  1. Box 1 (Red): Implementation could not be queued. Retry to start the existing issue.
  2. Box 2 (Teal): Could not start task / Open issue #42 / Start over opens a new request...
  • The Flaw: You stacked two completely different error alert boxes right on top of each other.
  • The Major Violation: Box 2 is an error message ("Could not start task"), but you wrapped it in a Brand Teal border with a light cyan background!
    • In your design system, Teal is strictly reserved for Active Work / Brand.
    • Wrapping a failure message in your brand's success/active color completely subverts semantic color theory. It looks like a success banner that was accidentally filled with error text.

2. The Obfuscated "Partial Failure"

Look at what actually happened:

┌──────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ⚠ Issue #42 created, but agent failed to queue                                                   │
│ GitHub issue was opened successfully, but the local worker failed to start implementation.       │
│                                                                                                  │
│ [ View Issue #42 ↗ ]                                                                             │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
  • Use a single Amber warning box (bg-amber-50 border-amber-200 text-amber-900). It is not a complete failure (the issue exists), but it requires operator attention.

3. Three-Button Footer Confusion

Look at the modal footer in Image 2:
[ Cancel ] $\dots\dots\dots$ [ Start over ] [ Retry submission ]

  • The Flaw: What is the difference between "Cancel" and "Start over"?
  • The helper text tries to explain it: "Start over opens a new request. It does not cancel this submission." If you need a paragraph of prose to explain what your footer buttons do, your button architecture has failed.
  • The Fix:

@propr-dev

propr-dev Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 2fe375a

Summary of Changes

I fixed both states in the New Task dialog.

Submitting state

  • Body box removed: the "Submitting…" box in the form body is gone. The primary button now shows a spinner with "Submitting…", is disabled, ignores clicks, and stays at 80% opacity.
  • Inputs locked: the Repository, Prompt, attachments and Advanced Options fields were already disabled during a submission but looked interactive. They're now dimmed to 60% whenever they're disabled.

Partial failure (issue created, agent didn't start)

  • One amber alert: the red box and the teal box are now a single amber warning. It reads "⚠ Issue AI Fix for Issue #40: Feat: Monitor PR comments for follow-up tasks #42 created, but agent failed to queue" with the description from your mockup and a "View issue AI Fix for Issue #40: Feat: Monitor PR comments for follow-up tasks #42 ↗" link. I kept the server's error reason as one small line inside the box so the cause isn't lost. That adds a line your mockup didn't have, and it's easy to drop.
  • Two-button footer: "Close" on the left and "Retry agent" on the right. "Start over" and both explanation lines are gone. "Retry agent" calls the existing retry endpoint, and I checked the server code: it re-applies the labels and re-queues the existing issue without creating a new one.
  • Close also clears the saved retry: Close (and the dialog's ✕ and Escape) deletes the locally saved copy of the request, so the next New Task dialog opens empty. Without this, Close would bring the same failed state back on reopen, and with no Start over there would be no way out. Issue AI Fix for Issue #40: Feat: Monitor PR comments for follow-up tasks #42 stays on GitHub.

Other states

  • No message is wrapped in teal any more unless work is actually progressing. Each state shows a single box:
    • Teal: in progress, i.e. "Queued", "Issue created — starting task" and "Confirming submission with GitHub".
    • Red: outright failures ("Could not create issue", "Could not start task", "Could not confirm submission").
  • "Start over" still appears when the outcome is unknown or the issue was rejected, since that flow still needs it.

Tests

  • All 12 unit tests in NewTaskPage.test.tsx pass. I updated them for the new wording and added a test for the in-flight state and the single warning, plus one for Close clearing the saved request.
  • All 9 browser tests in e2e/new-task.pw.ts pass. I updated them to use "Retry agent", "View issue AI Fix for Issue #40: Feat: Monitor PR comments for follow-up tasks #42" and Close instead of "Retry submission" and "Start over".
  • Lint and the type check are clean for these files.

The task's worktree path was mounted read-only, so I made the edits in /home/node/workspace, which is the same branch at the same commit.

I captured desktop and mobile previews of the submitting state and the partial-failure state.

Visual preview

Partial failure (desktop)

Partial failure (desktop)

Issue created but the agent failed to queue: one amber warning with a View issue link, and a two-button footer (Close / Retry agent)

Original unavailable: managed storage is unavailable or the upload has expired.

Partial failure (mobile)

Partial failure (mobile)

The unified amber partial-failure alert and two-button footer at 390px width

Original unavailable: managed storage is unavailable or the upload has expired.

Submitting (desktop)

Submitting (desktop)

While a submission is in flight: no status box in the form body, inputs disabled and dimmed, primary button shows an inline spinner with Submitting…

Original unavailable: managed storage is unavailable or the upload has expired.

Submitting (mobile)

Submitting (mobile)

The in-flight state at 390px width

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @integry
  • Time: 7m 21s
  • Tokens: 1,821,750 (1,794,830 in / 26,920 out)
  • Cost: $1.34
  • Subscription usage: Session +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5951721858✓

I fixed both states in the New Task dialog.

**Submitting state**
- **Body box removed:** the "Submitting…" box in the form body is gone. The primary button now shows a spinner with "Submitting…", is disabled, ignores clicks, and stays at 80% opacity.
- **Inputs locked:** the Repository, Prompt, attachments and Advanced Options fields were already disabled during a submission but looked interactive. They're now dimmed to 60% whenever they're disabled.

**Partial failure (issue created, agent didn't start)**
- **One amber alert:** the red box and the teal box are now a single amber warning. It reads "⚠ Issue #42 created, but agent failed to queue" with the description from your mockup and a "View issue #42 ↗" link. I kept the server's error reason as one small line inside the box so the cause isn't lost. That adds a line your mockup didn't have, and it's easy to drop.
- **Two-button footer:** "Close" on the left and "Retry agent" on the right. "Start over" and both explanation lines are gone. "Retry agent" calls the existing retry endpoint, and I checked the server code: it re-applies the labels and re-queues the existing issue without creating a new one.
- **Close also clears the saved retry:** Close (and the dialog's ✕ and Escape) deletes the locally saved copy of the request, so the next New Task dialog opens empty. Without this, Close would bring the same failed state back on reopen, and with no Start over there would be no way out. Issue #42 stays on GitHub.

**Other states**
- No message is wrapped in teal any more unless work is actually progressing. Each state shows a single box:
  - **Teal:** in progress, i.e. "Queued", "Issue created — starting task" and "Confirming submission with GitHub".
  - **Red:** outright failures ("Could not create issue", "Could not start task", "Could not confirm submission").
- "Start over" still appears when the outcome is unknown or the issue was rejected, since that flow still needs it.

**Tests**
- All 12 unit tests in `NewTaskPage.test.tsx` pass. I updated them for the new wording and added a test for the in-flight state and the single warning, plus one for Close clearing the saved request.
- All 9 browser tests in `e2e/new-task.pw.ts` pass. I updated them to use "Retry agent", "View issue #42" and Close instead of "Retry submission" and "Start over".
- Lint and the type check are clean for these files.

The task's worktree path was mounted read-only, so I made the edits in `/home/node/workspace`, which is the same branch at the same commit.

I captured desktop and mobile previews of the submitting state and the partial-failure state.

PR: #2681
Comment by: @integry (ID: 5951721858)
Model: claude-opus-5-5
@integry

integry commented Oct 2, 2026

Copy link
Copy Markdown
Owner

/merge

@propr-dev

propr-dev Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from main into 2679/claude-opus-5-5-when-starting-a-new-task--20261002-1020-cvq in commit 6af5924

Conflicting Files

  • propr-ui/src/pages/NewTaskPage.test.tsx

Resolution Summary

Resolved the single conflict in NewTaskPage.test.tsx.

  • Conflict: main added tests for saving and restoring repository, agent, and model selections. The PR changed the adjacent reset test so both prepared and failed submissions have no associated issue.
  • Resolution: Kept both tests from main and preserved the PR’s reset test description and fixture.
  • Reason: This retains routing preference coverage while matching the PR’s behavior: failures with an existing issue offer “Retry agent” and “Close”; submissions without an issue can start over.

Validation passed: repository-wide scanning found no remaining conflict markers, both affected TSX files parsed successfully, and git diff --check reported no issues. Only the conflicted test file was edited.

The test suite could not run because this checkout lacks the required dependencies.


🤖 Resolution Details

  • Model: gpt-6.1-sol
  • Time: 2m 11s

View Task Execution


System-triggered merge conflict resolution

…rting-a-new-task--20261002-1020-cvq

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- propr-ui/src/pages/NewTaskPage.test.tsx

PR: #2681
Model: gpt-6.1-sol
@integry
integry merged commit 345995e into main Oct 2, 2026
42 checks passed
@integry
integry deleted the 2679/claude-opus-5-5-when-starting-a-new-task--20261002-1020-cvq branch October 2, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When starting a new task it's defensively showing some disclaimers about resubmitting and starting o

1 participant