Add release-monitoring-report skill, Fixes AB#3681264#442
Open
shahzaibj wants to merge 6 commits into
Open
Conversation
First check-in of the release-monitoring-report skill: a version-over-version release-health report generator for the Android Broker and Authenticator. Includes KQL query catalog, PowerShell/Node helpers (run-kql, bootstrap, validate, compare-versions, find-suspect-prs, fetch-appcenter-crashes), diagnostic-pattern + crash-source docs, and the HTML report template. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
❌ Work item link check failed. Description does not contain AB#{ID}. Click here to Learn more. |
|
✅ Work item link check complete. Description contains link AB#3681264 to an Azure Boards work item. |
Replace the silent "no token -> skip crashes" fallback with a guided gate: - New assets/scripts/preflight-appcenter.ps1 with two modes: -Check (non-interactive: resolves + validates the token, emits STATUS ok/missing/invalid/no-access/network + exit codes for the skill to branch on) and -Setup (interactive: opens the token page, secure Read-Host, validate-then-save with a user-only ACL). Never prints the token. - SKILL.md Step 3b gains a step 0 that auto-runs -Check and, on missing/expired, prompts the engineer to run -Setup once instead of skipping silently. Intake item 5 + bundled-assets table updated. - crash-sources.md Authentication section rewritten around the helper. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
The Step 3b prompt handed the engineer a repo-relative -Setup path, which fails when their terminal cwd is their home directory (the common case): 'not recognized as the name of a script file'. Instruct the skill to relay the absolute path that preflight -Check already prints (via \) and never a repo-relative path. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…piry, host-adaptive capture) Adds -Wait/-IntervalSec auto-poll to preflight-appcenter.ps1 so the crash layer resumes the instant a token is captured (no 'done, re-check' handshake), host-agnostic across desktop app / VS Code / CLI. Wires SKILL.md Step 3b to open the best per-host capture surface and relay the absolute -Setup path. Recommends no-expiry read-only tokens. Documents the Azure Monitor migration as the durable token-free end-state. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
App Center API tokens are non-expiring by default with no expiry toggle in the portal, so instructing engineers to pick 'No expiry' was misleading. Removed the config step from the -Setup prompt, SKILL.md Step 3b, and crash-sources.md; kept the accurate note that App Center tokens don't expire. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Halves API calls over the 3-min wait window (~18 vs ~36) at the cost of only ~10s worst-case extra latency after paste — negligible against human paste time. Updated the script default, help text, and both Step 3b / crash-sources.md invocations. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work item: AB#3681264
Summary
First check-in of the
release-monitoring-reportskill — an agent skill that produces a version-over-version release-health report for the Android Broker and Authenticator as a single self-contained HTML file. For each app it answers two questions — what changed this release (KPIs + tables vs a baseline) and why (error-code movers, per-scenario deltas, crash analysis) — and ends in a clear SAFE / WATCH / HOLD verdict.This is a tooling/automation-only change: everything lands under
.github/skills/and ships no product code.What's included (27 files under
.github/skills/release-monitoring-report/)SKILL.mdassets/queries/*.kql+README.mdassets/scripts/run-kql.ps1,bootstrap-report.ps1,validate-report.ps1,compare-versions.js,find-suspect-prs.ps1,fetch-appcenter-crashes.js(App Center crash pull:groups/diff/enrich/newcrashes/signature)assets/docs/assets/templates/report-template.htmlHighlights
newcrashes(genuinely-new java-frame signatures via anti-join against a union of priors) +signature(cross-version presence) reliably separate real new crashes from pre-existing/environmental ones and from native-frame false positives.Secrets / cleanliness
~/.android-release-reports/appcenter.token); only internal Kusto cluster/DB names (AAD-accessed) appear..pr-patches/,AD-MFA-phonefactor-phoneApp-android/, and a local.gitignoreedit were deliberately excluded.Risk
Low —
.github/skills/only, no app/build/runtime impact. Helpers requireaz login(Kusto) and an optional App Center token; nothing runs automatically.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com