Skip to content

feat: prompt users to report completed job failures - #2655

Merged
superdav42 merged 1 commit into
mainfrom
feature/feedback-failure-report-prompt
Sep 5, 2026
Merged

feat: prompt users to report completed job failures#2655
superdav42 merged 1 commit into
mainfrom
feature/feedback-failure-report-prompt

Conversation

@superdav42

Copy link
Copy Markdown
Contributor

Summary

  • detect explicit tool and runtime failures when an agent job reaches a terminal state
  • show a post-job prompt with No, No, never, Yes, and Yes, always choices
  • retain automatic-reporting preferences per WordPress user and deduplicate submissions across chat surfaces
  • send reports through the existing sanitized feedback endpoint while preserving manual thumbs-down reporting
  • document the responsive warning-surface pattern in DESIGN.md

Verification

  • Focused JavaScript: 3 suites, 18 tests passed
  • pnpm run verify: passed

Worker self-verification

  • PHPUnit: Tests: 4343, Assertions: 19975, Errors: 0, Failures: 0, Skipped: 137, Incomplete: 4
  • Lint: PHP/JS/CSS all clean
  • PHPStan: 0 errors
  • Build: succeeded
  • Bundle: budgets passed

Notes

  • A separate full JavaScript run surfaced existing failures in src/store/__tests__/index.test.js (select.getSessions is absent from that test's selector mock) and src/components/chat-redesign/__tests__/customer-simple-mode.test.js (combineReducers is absent from its @wordpress/data mock). The three affected feature suites pass.

aidevops.sh v3.32.297 plugin for OpenCode v1.18.27 with gpt-5.5 spent 8h 38m and 540,067 tokens on this with the user in an interactive session.

@superdav42 superdav42 added the origin:interactive Created by interactive user session label Sep 3, 2026
@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: b036f8e0-d0f7-429d-adf8-616c12b426e2

📥 Commits

Reviewing files that changed from the base of the PR and between 99c513c and e451874.

📒 Files selected for processing (13)
  • DESIGN.md
  • includes/Feedback/ReportSender.php
  • src/components/__tests__/automatic-feedback-prompt.test.js
  • src/components/automatic-feedback-prompt.js
  • src/components/chat-redesign/MessageList.js
  • src/components/chat-redesign/__tests__/MessageList.test.js
  • src/components/chat-widget/__tests__/widget-message-list.test.js
  • src/components/chat-widget/widget-message-list.js
  • src/components/feedback-consent-modal.js
  • src/components/shared.css
  • src/store/slices/jobSlice.js
  • src/store/slices/sessionsSlice.js
  • src/utils/feedback-reporting.js

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@superdav42 superdav42 changed the title Prompt users to report completed job failures feat: prompt users to report completed job failures Sep 5, 2026
@github-actions github-actions Bot added the enhancement Auto-created from TODO.md tag label Sep 5, 2026
@superdav42
superdav42 merged commit deda60f into main Sep 5, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Auto-created from TODO.md tag origin:interactive Created by interactive user session

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant