01a0a06f - Count a bot auto-response as an answer in the open-ticket grouping - #1494
Conversation
A ticket the AutoResponder replied to last sat under Awaiting reply with a waiting badge, although the customer already got an answer. It now sits under Answered and only returns to Awaiting reply once the customer writes again. Waiting hours and overview escalation tiles follow the same rule.
|
dfx pr guard EN: Thanks for your contribution! This repository follows A38. A38 pass: author local-CI report accepted for this head. DE: Danke für deinen Beitrag! In diesem Repository gilt A38. A38 pass: Autor-Local-CI-Report für diesen Head akzeptiert. Details
|
|
EN: DE: Details
Durations rounded up to whole seconds / Laufzeiten auf ganze Sekunden aufgerundet. Original report / Originalbericht{
"head": "c0219d3c96402d46e6394fa739d92b2362a18b00",
"private": false,
"recorded_at": "2026-09-14T16:17:25Z",
"repo": "DFXswiss/app",
"required": [
"lint"
],
"runs": [
{
"command": "agent a38 job commands --config '{\"env\":{\"CI\":\"true\"},\"npm\":{\"canaries\":[\"react-app-rewired/package.json\",\"react-scripts/package.json\",\"typescript/lib/typescript.js\",\"prettier/package.json\"],\"node_major\":20},\"steps\":[[\"npm\",\"run\",\"lint\"],[\"npm\",\"run\",\"format:md:check\"]]}'",
"duration_s": 73.94543062499724,
"exit_code": 0,
"id": "lint",
"name": "Lint and Markdown format",
"result": "pass",
"timeout_s": 600.0
}
],
"schema": "dfx-local-ci/v1"
} |
|
EN: DE: DetailsReview: quality and logic, one pass, 0 findings at head No Playwright baseline change (comment-only e2e grouping note; no rendered screen change). |
EN:
A ticket the support bot already answered no longer sits under Awaiting reply with a waiting badge. It is grouped as Answered and only returns to Awaiting reply when the customer writes again. Waiting hours and the overview escalation tiles follow the same rule. This takes over #1467 onto current develop.
DE:
Ein Ticket, auf das der Support-Bot schon geantwortet hat, steht nicht mehr unter Awaiting reply mit Warte-Badge. Es liegt unter Answered und kommt erst zurück, wenn der Kunde wieder schreibt. Wartezeit und Eskalations-Kacheln folgen derselben Regel. Das übernimmt #1467 auf den aktuellen develop.
Details
needsReplyinsrc/util/support-stats.tsno longer treatsAutoResponderas our turn.customerWaitingHoursuses that function, so bot-answered tickets no longer show a waiting time.isUnassignedis unchanged (bot as clerk still renders Unassigned). Tickets without any message stay in Awaiting reply.Tests:
support-stats.test.ts(bot reply = answered, ticket returns on the next customer message, waiting timer null after a bot reply),support-issue-table.test.tsx(escalated badge sample now uses a customer message). Thee2e/realunit-support.spec.tsgrouping comment is updated; fixture data and assertions are unchanged.Measured coverage on Node 20 for
support-stats.tsandissue-table.tsx: 100/100/100/100 (46 tests). Declared: no Playwright baseline change (no rendered screen changes; the local seed has no bot-answered tickets).Supersedes #1467 (same behaviour, rebased onto current develop).