Commit bed12d3
committed
feat(flaky-unit-test-analysis): enhance suggestedFix schema and update task prompt
- Updated the `suggestedFix` field in `finalize-schema.json` to include a description for formatting TypeScript snippets.
- Modified `task-prompt.md` to clarify that `suggestedFix` must be a properly formatted code snippet, ensuring no prose is included.
- Refactored `flaky-sticky-comment.ts` to handle multi-line suggested fixes correctly, preserving indentation and formatting in the output.
- Introduced support for dynamic window counts in the history table, improving the representation of flaky test data.1 parent 809548e commit bed12d3
3 files changed
Lines changed: 13 additions & 3 deletions
File tree
- .ai-pr-analyzer/modes/flaky-unit-test-analysis
- .github/scripts
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
0 commit comments