dart-log-failure-parser

द्वारा flutter

डार्ट और फ्लटर परीक्षण लॉग से विफलताओं को पार्स करें।

npx skills add https://github.com/flutter/flutter --skill dart-log-failure-parser

Dart Log Failure Parser

Workflow

1. Analyze Raw Log Output

Analyze the raw log output for failure details. Do not skim the output; check the entire log. The description of findings should include specific details for the failures (e.g., unformatted files, specific test names), not just the top-level command that failed.

2. Look for Failure Patterns

Pattern A: Error Blocks (e.g., Linux Analyze)

Search for blocks starting with ╡ERROR #. Example:

╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════
║ Command: bin/cache/dart-sdk/bin/dart --enable-asserts /b/s/w/ir/x/w/flutter/dev/bots/analyze_snippet_code.dart --verbose
║ Command exited with exit code 255 but expected zero exit code.
║ Working directory: /b/s/w/ir/x/w/flutter
╚═══════════════════════════════════════════════════════════════════════════════

Pattern B: Task Result JSON

Search for "Task result:" followed by a JSON object. Example:

Task result:
{
  "success": false,
  "reason": "Task failed: PathNotFoundException: Cannot open file..."
}

Pattern C: Failing Tests List

For general Dart tests, look for a list at the end of the log starting with "Failing tests:". Example:

Failing tests:
  test/general.shard/cache_test.dart: FontSubset artifacts for all platforms on arm64 hosts
  test/general.shard/cache_test.dart: FontSubset artifacts on arm64 linux

Pattern D: Build Failures

For build failures (e.g., engine tests failing at compile time), look for the following indicators in the logs or API summaries:

  • Lines starting with FAILED: (indicates a Ninja target failed).
  • Compiler error messages (e.g., error:, fatal error:).
  • Linker error messages (e.g., undefined reference to).
  • Summary messages in the check-runs API output like 1 build failed: [<build_name>].

flutter की और Skills

dart-modern-features
flutter
आधुनिकीकरण के लिए उम्मीदवार खोजने हेतु:
flutter-fix-layout-issues
flutter
फ्लटर लेआउट त्रुटियों (ओवरफ्लो, असीमित बाधाओं) को डार्ट और फ्लटर MCP टूल्स का उपयोग करके ठीक करता है। "RenderFlex overflowed", "Vertical…" को संबोधित करते समय उपयोग करें।
adding-release-notes
flutter
उपयोगकर्ता-सामना करने वाले परिवर्तन विवरणों को DevTools रिलीज़ नोट्स में जोड़ता है। NEXT_RELEASE_NOTES.md फ़ाइल में सुधार, सुधार या नई सुविधाओं का दस्तावेज़ीकरण करते समय उपयोग करें।
reviewing-devtools-prs
flutter
DevTools रिपॉजिटरी-विशिष्ट PR समीक्षा वर्कफ़्लो जो DevTools शैली दिशानिर्देशों और सामान्य समीक्षा पैटर्न को लागू करता है। इसमें पुल रिक्वेस्ट की समीक्षा करते समय उपयोग करें…
dart-use-primary-constructors
flutter
उपयोगकर्ताओं को Dart में वाक्यविन्यास और अर्थ की दृष्टि से सही प्राथमिक कंस्ट्रक्टर लिखने में मदद करें, और नए कंस्ट्रक्टर सिंटैक्स, खाली-बॉडी सेमीकोलन सिंटैक्स का उपयोग/माइग्रेट करें,…
code-documentation
flutter
प्रभावी कोड दस्तावेज़ीकरण लिखने के लिए मार्गदर्शिका, जिसमें docstrings, JSDoc, dartdoc, और implementation comments शामिल हैं। नया कोड लिखते समय, जोड़ते समय इस skill का उपयोग करें…
api-review
flutter
निर्दिष्ट कोड की विहित API डिज़ाइन दिशानिर्देशों के अनुसार समीक्षा करता है। इस कौशल का उपयोग तब करें जब उपयोगकर्ता API समीक्षा के लिए पूछे या API डिज़ाइन के अनुसार कोड की जाँच करने के लिए…
flutter-accessibility
flutter
Flutter ऐप्स में WCAG 2 और EN 301 549 पहुँच मानकों और अनुकूली लेआउट को लागू करता है। मोबाइल, वेब और डेस्कटॉप प्लेटफ़ॉर्म पर सिमैंटिक एनोटेशन, टैप टार्गेट आकार (न्यूनतम 48x48 dp), और टेक्स्ट कंट्रास्ट अनुपात (छोटे टेक्स्ट के लिए 4.5:1, बड़े टेक्स्ट के लिए 3:1) को अनिवार्य करता है। वेब सिमैंटिक्स इनिशियलाइज़ेशन, इंटरैक्टिव विजेट रैपिंग, स्क्रीन आकार-आधारित ले