PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: dart-lang/pub-dev (dart)

Issue:
"report package" confirmation email does not include the message.
The received message looks like this:
```
Message:
---${form.message}
---

This report will be processed by the moderation team.
```

Pull request:
- Fixes #8028
- Regression was introduced here: https://github.com/dart-lang/pub-dev/pull/7991/files#diff-cbe4768b87ac43f910202bdeeaafabeee12b8c83c5496b861f2502fed26534afR226

Patch:
diff --git a/app/lib/frontend/handlers/report.dart b/app/lib/frontend/handlers/report.dart
index 13578e5f5f..2caf58824f 100644
--- a/app/lib/frontend/handlers/report.dart
+++ b/app/lib/frontend/handlers/report.dart
@@ -242,7 +242,7 @@ Future<Message> processReportPageHandler(
     if (isAppeal) 'Appealed case ID: ${form.caseId}',
     if (!isAppeal) 'Violated policy: https://pub.dev/policy',
     'Subject: ${subject.fqn}',
-    'Message:\n---\${form.message}\n---',
+    'Message:\n---\n${form.message}\n---',
     'This $kind will be processed by the moderation team.',
   ].join('\n\n');
 


Test patch:
diff --git a/pkg/pub_integration/test/report_test.dart b/pkg/pub_integration/test/report_test.dart
index 52656e8c44..bb3bf5d676 100644
--- a/pkg/pub_integration/test/report_test.dart
+++ b/pkg/pub_integration/test/report_test.dart
@@ -73,6 +73,7 @@ void main() {
       final reportEmail2 = await supportUser.readLatestEmail();
       expect(reportEmail1, contains('package:oxygen'));
       expect(reportEmail2, contains('package:oxygen'));
+      expect(reportEmail1, contains('Huston'));
 
       // verify moderation case
       final caseId = _caseIdExpr.firstMatch(reportEmail2)!.group(0)!;