mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(copilot): eliminate verbose review summaries and restrict to staff (#65587)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: raisedadead <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
@@ -59,36 +59,31 @@ Flag if existing tests may be outdated:
|
||||
### Example Comment for Outdated Tests
|
||||
|
||||
```
|
||||
The existing tests in `src/utils/validate.test.ts` may need updates to cover the new validation rules added in this PR.
|
||||
Tests in `src/utils/validate.test.ts` need updates for new validation rules.
|
||||
```
|
||||
|
||||
## Comment Format
|
||||
|
||||
### Missing Tests
|
||||
|
||||
Keep feedback specific and actionable:
|
||||
Brief, actionable feedback only:
|
||||
|
||||
```
|
||||
Consider adding tests for the changes in `src/utils/validate.ts`.
|
||||
Suggested coverage:
|
||||
- Valid input returns expected output
|
||||
- Invalid input throws appropriate error
|
||||
- Edge case: empty string handling
|
||||
Missing tests for `src/utils/validate.ts`:
|
||||
- Valid input case
|
||||
- Invalid input error
|
||||
- Empty string edge case
|
||||
```
|
||||
|
||||
### Sufficient Coverage
|
||||
|
||||
```
|
||||
LGTM
|
||||
```
|
||||
**DO NOT COMMENT.** Silence means approval.
|
||||
|
||||
### Outdated Tests
|
||||
|
||||
```
|
||||
The tests in `[test file]` may need updates to reflect the changes to `[source file]`.
|
||||
Specifically:
|
||||
- [what behavior changed]
|
||||
- [what test assertions may be affected]
|
||||
Tests in `[test file]` need updates for `[source file]` changes:
|
||||
- [specific change]
|
||||
```
|
||||
|
||||
## Test Quality Indicators
|
||||
|
||||
Reference in New Issue
Block a user