yihong1120 / traffic_report_front_flutter

A platform, 'Traffic-Violation-Report-System', enabling users in Taiwan to upload and share responses from law enforcement to traffic violations. This system aims for greater transparency in traffic law enforcement. It utilises Django for backend and Flutter for a separated frontend web development.
GNU Affero General Public License v3.0
0 stars 0 forks source link

[Sweep GHA Fix] Add missing test package as dev_dependency #78

Closed sweep-ai[bot] closed 9 months ago

sweep-ai[bot] commented 9 months ago

PR Feedback (click)

Summary of Changes

Please review and merge this PR to resolve the failing GitHub Actions run.

sweep-ai[bot] commented 9 months ago

Rollback Files For Sweep

codeautopilot[bot] commented 9 months ago

PR summary

The Pull Request addresses a failure in GitHub Actions by adding the missing test package to the dev_dependencies section of the pubspec.yaml file. This change is intended to resolve the issues with the CI pipeline by ensuring that all necessary development dependencies are included for testing purposes.

Suggestion

Ensure that the version of the test package added is compatible with the other packages and the overall project. Using ^any_version might lead to conflicts or unexpected behavior if the latest version of test is not compatible with the project's current setup. It's generally a good practice to specify a version range that is known to work with the project.

sweep-ai[bot] commented 9 months ago
Sweeping Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs: ``` The command: Run flutter pub get yielded the following error: ##[error]Process completed with exit code 65. Here are the logs: ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ The Google Privacy Policy describes how data is handled in this service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ║ ║ ║ To disable animations in this tool, use 'flutter config --no-animations'. ║ ╚════════════════════════════════════════════════════════════════════════════╝ Resolving dependencies... Error on line 53, column 9 of pubspec.yaml: Invalid version constraint: Expected version number after "^" in "^any_version", got "any_version". ╷ 53 │ test: ^any_version │ ^^^^^^^^^^^^ ╵ The Flutter CLI developer tool uses Google Analytics to report usage and diagnostic data along with package dependencies, and crash reporting to send basic crash reports. This data is used to help improve the Dart platform, Flutter framework, and related tools. Telemetry is not sent on the very first run. To disable reporting of telemetry, run this terminal command: flutter --disable-analytics. If you opt out of telemetry, an opt-out event will be sent, and then no further information will be sent. This data is collected in accordance with the Google Privacy Policy (https://policies.google.com/privacy). ```

Created Pull Request: https://github.com/yihong1120/traffic_report_front_flutter/pull/79