feat: [ENG-2123] brv curate view / brv query-log view truncate long c…#424
feat: [ENG-2123] brv curate view / brv query-log view truncate long c…#424bao-byterover merged 2 commits intoproj/query-logfrom
Conversation
|
Claude finished @bao-byterover's task in 2m 0s —— View job PR Review: feat: [ENG-2123] brv curate view / brv query-log view — remove truncation in detail view
SummaryThis PR removes truncation from the detail view ( The changes are small, correct, and properly tested using TDD. Tests were updated before or alongside the implementation changes, following the project's strict TDD requirement. FindingsCorrectness — No bugs introduced. The logic simplification is straightforward: remove inline Security — No concerns. This is terminal output formatting with no user input reaching execution paths. Dead import — Inline comments posted:
Minor observation — PR title: The title reads "truncate long content" but the actual change removes truncation. The intent is clear from the diff, but the wording is inverted. Not a blocker. Overall Score: 4 / 5Clean, focused, well-tested change. The only non-trivial concern is the multiline indentation gap now exposed by removing truncation — worth a follow-up if responses or context values are ever multi-line in practice. |
| this.log('Response (truncated):') | ||
| this.log(` ${truncate(entry.response, 500)}`) | ||
| this.log('Response:') | ||
| this.log(` ${entry.response}`) |
There was a problem hiding this comment.
suggestion (non-blocking): If entry.response contains newlines, only the first line will receive the two-space indent. This was less visible before since truncation would clip multi-paragraph responses. You may want to indent every line:
| this.log(` ${entry.response}`) | |
| this.log(entry.response.split('\n').map(line => ` ${line}`).join('\n')) |
Low priority — depends on whether responses are ever multi-line in practice.
|
Claude finished @bao-byterover's task in 2m 6s —— View job PR Review: feat: [ENG-2123] brv curate view / brv query-log view — multi-line indentation fix
SummaryThis revision directly addresses all three suggestions raised in the previous review cycle:
New tests (4 added across both test files) cover the corrected behaviour: full content with no truncation, correct header label ( FindingsCorrectness — All changes are correct. Both the split-and-loop pattern (context) and the Security — No concerns. Terminal formatting, no execution paths. Dead import — Inline comment posted:
No other issues found. Overall Score: 5 / 5All previous feedback addressed. The implementation is clean, correct, and well-tested. The only note is a cosmetic style inconsistency between the two multi-line formatting approaches within |
* feat: [ENG-1897] Create brv query-log view oclif command (#347) * feat: [ENG-1897] Create brv query-log view oclif command * feat: [ENG-1897] fix review * feat: [ENG-1896] Implement QueryLogUseCase with list and detail views (#349) * feat: [ENG-1896] Implement QueryLogUseCase with list and detail views * feat: [ENG-1896] Fix review * feat: [ENG-1888] Define IQueryLogStore interface (#351) * feat: [ENG-1887] Define QueryLogEntry entity with discriminated union (#353) * feat: [ENG-1889] Implement FileQueryLogStore with Zod validation (#354) * feat: [ENG-1889] Implement FileQueryLogStore with Zod validation * feat: [ENG-1889] fix review * feat: [ENG-1899] Create brv query-log summary oclif command (#357) * feat: [ENG-1899] Create brv query-log summary oclif command * feat: [ENG-1899] fix review * feat: [ENG-1898] Implement QueryLogSummaryUseCase (#368) * feat: [ENG-1892] Add QueryExecutorResult type with tier and timing metadata (#369) * feat: [ENG-1893] Wire QueryLogHandler into daemon lifecycle (#370) * feat: [ENG-1894] Wire QueryLogHandler into daemon lifecycle (#371) * feat: [ENG-1894] enhance message output * feat: [proj/query-log] fix review * feat: [ENG-2123] brv curate view / brv query-log view truncate long c… (#424) * feat: [ENG-2123] brv curate view / brv query-log view truncate long content * feat: [ENG-2123] fix review * feat: [ENG-2177] Increase Storage Limit for Curate Log and Query Log (#430) * feat: [ENG-2177] Increase Storage Limit for Curate Log and Query Log * feat: [ENG-2177] fix review * feat: [ENG-2177] fix slow test --------- Co-authored-by: Hoang Pham <lehoangpham1092@gmail.com>
No description provided.