Repository navigation
docs: fill gaps found in the site audit (release health, AI Insights, APM upload, system traces) - #170
Conversation
- AI plugins: Android 7.x is stable; drop the "beta" label. - Android APM: the standalone performance upload is not active in SDK 7.6.0, as on iOS and React Native. Say so on the performance, configuration, migration, FAQ and custom-extensions pages. - Dashboard: new Release health page (crash-free sessions and users on the app Overview) and AI Insights page, from the backend, worker and dashboard source. - iOS and Android: list the system traces the SDKs record on their own. - Home: point to the JavaScript (beta) and Rust (preview) SDK repos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: I459feac4cd64ef6b80d937d9e97e38579db1ab8a
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Claude finished @dsheikherev's task in 33s —— View job Review of #170: fill gaps from the site auditI read the full diff against FindingsI found no bugs or blocking issues. I'm not posting any inline findings, because none of what follows has a failure scenario behind it. These are the checks I ran:
Notes for the teamThese are the PR's own open items. I agree they're worth resolving, but they don't block the merge.
Summary
|
- Release health: reports of any type can add sessions and users; correct navigation (per-app Overview, Cross-application overview); fixed-offset time zone; exact version ordering rule. - AI Insights: real quota message and what counts; complete list of what is sent; when a fix shows as a diff; what confidence means; access token scope; UI/UX analysis needs a video. - System traces: Android hinge angle API 30, full Wi-Fi fields; iOS CoreTelephony/CoreNFC/Bluetooth permission conditions, visionOS, background pause, disk-space capture states. - Android breadcrumbs are off by default. - APM: the sample draw is recorded in reports on Android; RN sampled property and NoOpTransaction cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: I9dfac65e021dfc01b1169a1a212b9740be7ecd02
|
Claude finished @dsheikherev's task in 36s —— View job Re-review of #170 after the latest pushI read the full diff against New findingsNone. I have no inline comments, because none of what follows has a failure scenario. Checks on the latest commit
Earlier items and their status
Summary
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: Iad9140e8ef2212c00d2750317fc935ee626c88e9
|
Claude finished @dsheikherev's task in 18s —— View job Re-review of #170 after the latest push (
|
- AI Insights: SDK diagnostic log input, full environment record, commit-only revision rule, GitLab read_api scope, access tokens on github.com/gitlab.com only, UI/UX analysis metadata. - Release health: simulator reports also add sessions, version order details, "No statistics found", save before copying the share URL. - iOS system traces: network row, CoreTelephony and iOS 16.4 carrier note, Wi-Fi requirements link; no platform exclusions. - Android system traces: ACCESS_WIFI_STATE, per-SIM from API 29, sound streams, partial blackout, satellite initial state. - APM: only PerformanceMonitoring has an effect in 7.6.0; no internal attribute names; RN promotion has no effect in this beta. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: Ie801fdca40df3cb4ffab389c3849aeeec8671bd9
|
Claude finished @dsheikherev's task in 33s —— View job Re-review of #170 after the latest push (
|
| ## Sampling and upload modes | ||
|
|
||
| APM emits two independent data streams — see [Two data paths](#two-data-paths) below — which are controlled by four options: | ||
| Four options are defined; in 7.6.0 only `PerformanceMonitoring` has an effect: |
There was a problem hiding this comment.
Severity: P3 Low
Problem: "in 7.6.0 only PerformanceMonitoring has an effect" contradicts the same page. Line 194 says Transaction.isSampled() returns the result of the PerformanceSampleRate draw, and that each report records whether its transactions were sampled. The PR description says the same (the root span carries bugsee.sampled and bugsee.sample_rate). So PerformanceSampleRate is read and does change observable output.
Impact: A reader who sets the sample rate to 1.0 sees isSampled() and the report change, which contradicts "has no effect".
Scenario: A developer tests PerformanceSampleRate = 1.0, sees isSampled() == true, and concludes the docs are wrong. PerformanceUploadMode and PerformanceAdaptiveSampling really do nothing.
Fix: Narrow the claim to what is true. For example: "Four options are defined; in 7.6.0 only PerformanceMonitoring changes what is captured or sent. PerformanceSampleRate only sets the sampled flag (see below)."
…ions intro Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: Id56dc18f4aa00709de197e87a246c20d1c85eed6
|
Claude finished @dsheikherev's task in 16s —— View job Re-review of #170 after the latest push (
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: I6701790648d1d11596fdfed62dfe209cfd5a1958
|
Claude finished @dsheikherev's task in 15s —— View job Re-review of #170 after the latest push (
|
This one definitely needs a fix/change to align with iOS SDK. I am addressing it now. |
Правки по итогам финального ревьюФинальное ревью с чистым контекстом, на head
Пояснения:
🤖 Generated with Claude Code |
На решение: B1 и B4@krassx, по этим двум пунктам финального ревью нужно твоё решение: правим docs под текущее поведение или меняем продукт.
B1. Без
Сейчас docs говорят о собранных данных меньше, чем SDK отправляет на самом деле. Вопрос: оставляем это поведение SDK и правим docs, как в таблице, или SDK должен писать Wi-Fi только при наличии B4. В dashboard два разных сообщения. Custom period короче 3 дней даёт Can't show statistics for less than 3 days. No statistics found показывается, когда период достаточной длины, но данных в нём меньше чем за 3 дня. Источник: viewer 🤖 Generated with Claude Code |
Fixes gaps and internal inconsistencies that an audit of docs.bugsee.com against the website and the product turned up. Every statement is backed by source. Things I could not confirm are left out and listed at the end. Later commits apply two rounds of review: a clean-context review, then a final review the user approved. That last round removed sampling-frequency details and the iOS "not on tvOS or visionOS" caveats, because the team may add those traces there later.
Evidence revisions: Android SDK
v7.6.0(2a88ea7fb), iOS SDKrelease-7.1.0(afbddbc5), bugsee-appservermain(e2bdaef), bugsee-background-workermain(e7f395c; the SDK diagnostic log input is frommainat e893a17b9), viewer (dashboard)main(223f40db1), bugsee-for-aiorigin/main(2a05661).⛔ Blockers: team decision needed before merge
The Release health page documents what the backend computes. Two parts of that computation probably don't match what people will assume the numbers mean. The team should decide whether to hold the page, add a caveat, or fix the product first. This PR adds no caveat for either.
POST /sessions(bugsee-appservercode/components/app/session/session.service.js:1129-1137, 1172-1174;code/components/shared/statistics/index.js:119-156).library/src/main/java/com/bugsee/library/communication/BugseeCommunicationManager.java:412-420).BugseeDev/BugseeLib/BugseeLib/BGSNetworkManager.m:481).statistics/index.js:122-153). Sessions, Users, Crash-free sessions and Crash-free users are all distorted. The page says only "each time the Bugsee SDK on a device opens a session with Bugsee".livedevices (session.service.js:225-249, 1129, 1172).app/issue/issue.service.js:1352-1365;statistics/index.js:167-253). A crash from a simulator lowers crash-free numbers without adding a session.1. Android 7.x called "beta"
docs/ai/plugins/index.md: "iOS, Android (and Android 7.x beta)" becomes "iOS and Android (7.x, plus separate skills for apps still on 6.x)".docs/sdk/android/release-notes.md, "7.0.0 (June 23 2026)"). bugsee-for-aiSKILL_TREE.mdlistsbugsee-android-sdkandbugsee-ios-sdkas "7.x — the current SDK", with separate-6xskills.2. Standalone APM upload: not active on Android either
mUploadJobis always null:android/sdkperformance/BugseePerformanceCoordinator.java:220-231.:757-792.BugseeOptions.h:481-483, 489-494("not currently wired").bugsee.sampledandbugsee.sample_rate(performance/otlp/OtlpTraceEncoder.java:354-358;BugseePerformanceCoordinator.java:429-434). iOS does not serialize it.Changed:
sdk/android/performance.mdx: the intro says four options are defined and onlyPerformanceMonitoringhas an effect in 7.6.0. The other three are marked as reserved for the standalone upload. "Two data paths" becomes "Where performance data goes", which says each report records whether its transactions were sampled; the internal attribute names are not documented.sdk/android/configuration/overview.mdx,migration.mdx,faq.md.sdk/android/extensibility/custom-extensions.mdx.NoOpTransactionis also returned before launch and after stop (BugseePerformanceCoordinator.java:422-424).sdk/react_native/performance.mdx::119: adaptive promotion happens only on iOS (ios/sdkPerformance/BGSPerformanceCoordinator.m:497) and has no effect in this beta.:217: the sample rate no longer "changes nothing that is sent", because on Android the draw is recorded.3. Release health: new page
dashboard/release-health#/apps/<key>/overview(viewerelements-application-sections-nav.component.html:5). Its Stability chart:application-overview-view.component.html:220-230.features/application/list/application-list.component.ts:65-74,.html:1-12).(sessions − crashes) / sessionsand(users − crashed users) / users, ×100, rounded to one decimal, floored at 0, and 100% with no data (code/components/shared/statistics/formatter.js:26-33).session.service.js:225-249, 1129-1137, 1172-1174.statistics/index.js:119-156, 182-239.issue.service.js:1330-1349.issue.service.js:1352-1365, no type check;statistics/index.js:193-198). Every report updates that record (issue.service.js:166-181, 1049; the session model's timestamps,dao/models/session.js:67-71). So handled errors and bug reports can move the crash-free numbers. The page now says so.BGSEnvironment.m:35-37and AndroidEnvironmentInfoProvider.java:201-202.statistics/index.js:356-369).code/utils.js:1061-1076, 1125-1146).core/constants/values/timezones.constant.ts; appservercode/utils.js:1031-1038).issue.service.js:1352)..html:7-62, 160-163..html:290-338; backendapplication.service.js:1804.4. AI Insights: new page
dashboard/ai-insights, plus a link fromai/index.mdissue.service.js:3096-3102; viewerrecording.view.html:81-85).issue.service.js:3233-3268, 3272;issue.ai-process/complete.js:185-215).elements-recording-ai-process.component.ts:588-598), because the backend replaces the error message with the number (issue.service.js:3138).ai/insights.py:91-221, 656-689.:493-500).:533-538, 596-634).jobs/issues.py:640-677; viewercore/utils/vcs.ts:222-242.ai/insights.py:342-490(generate_prompt; at e893a17b9,:704-721) andjobs/issues.py:680-849.maine893a17b9:jobs/issues.py:774-793, 840;ai/insights.py:223-229, 866-905).vcs-insights/providers/github.js:414-424.read_api:providers/gitlab.js:200-216.elements-shared-vcs-source.component.html:256-290. The page says GitHub Enterprise and self-hosted GitLab are not supported, because the worker reads only from github.com and gitlab.com (ai/insights_source.py:200-227, 640-693).ai/insights_source.py:715-726). Otherwise a version tag (with or withoutv, then without a pre-release suffix;:152-168), then the default branch. The page linksvcs-metadata.ai/ux_summary.py:130-170).jobs/issues.py:336-340).elements-recording-ai-process.component.ts:677-708).issue.service.js:3272).5. From the website agent's audit
sdk/ios/events-and-traces.mdxandsdk/android/events-and-traces.mdx, plus a bullet on both overview pages.Capture/Providers/TracesSystem/BGSCaptureSystemTraceProducers.m:1301-1339. Some are behind#if TARGET_OS_IOS; per the team, the page states no platform exclusions.BGSReachability.m:474-506. Carrier fields are empty from iOS 16.4:Shared/Trackers/BGSTrackerTelephony.m:333-345.:129, Bluetooth:200, Wi-Fi:1266, carrier names:1187. Capture disk-space states::73-87, 960-1000.Shared/Trackers/BGSTrackerTelephony.m:80-84).:1239-1243).BGSBluetooth.m:60-98).capture/providers/traces_system/BugseeCaptureTraceProducersProvider.java:65-112.shared/trackers/device/FoldStateMonitor.java:523,HingeAngleSource.java:20).shared/trackers/BugseeTrackerWifi.java:1160-1205, 1388-1443; no option turns them off. They needACCESS_WIFI_STATE, which the SDK does not declare (AndroidManifest.xml:15;BugseeTrackerWifi.java:1100-1104).BugseeTrackerTelephony.java:143-148); sound streamsTraceSoundVolume.java:58-63; partial blackoutTraceCapture.java:179-186; satellite initial stateTraceSatellite.java:152-160.options/OptionsDescriptors.java:107at v7.6.0). Fixedsdk/android/privacy/breadcrumbs.mdx, which said on by default and showed how to turn it off. Also fixedsdk/android/breadcrumbs.mdx("automatically") and marked the overview bullet opt-in, as the iOS overview already does. Custom breadcrumbs need the option too (Bugsee.java:1405-1420;BugseeCaptureDataProviderBreadcrumb.java:367).docs/index.mdwith a link to the public repo. No SDK docs. The JavaScript SDK is left to its own docs in docs(javascript): JavaScript SDK documentation (beta) #171, which adds its install link to the same page.Left out, or for the team to decide
bugsee-background-workerai/client.py:5-17). The page says only "an AI model". Naming it is a team or legal call.api.github.com,gitlab.comandapi.bitbucket.org(ai/insights_source.py:200-227, 640-693), and the clone URL is never used for fetching. The page now says they are not supported. The website is fixed in bugsee/website#72; the dashboard hint still needs fixing, or the worker needs host support. (The worker also reads Bitbucket, but the dashboard offers it only in development and staging, so the page leaves it out.)/bugsee_fixMCP prompt: not documented. The appserver MCP server registers tools only (code/components/mcp/server/index.js,environment.js), with no prompt on any branch or in its history. It is claimed by the website (src/pages/mcp-server.tsx:41, removed in bugsee/website#72) and bugsee-for-ai (README.md:69,AGENTS.md:69,skills/bugsee-fix-issues/SKILL.md:99-101).elements-application-sections-nav.component.html:26), but the iOS and Android docs don't call it beta. Unchanged; the team should pick one.revertClaimstores the error message, which is the limit (for example "30"). The failed state then shows that number as the error text (issue.service.js:3250-3253;complete.js:73-83).docs/ai/agent-skills/sdk/android/v7/SKILL.md:317callsPerformanceSampleRatethe "Standalone-upload probability" without saying the upload is inactive. That file is mirrored from bugsee-for-ai, so fix it there.CaptureBreadcrumbssays "Default value is true" (contracts/options/Options.java:421-424at v7.6.0), but the registered default isfalse.@bugsee/*latesttag still points to 0.1.0-beta.4, whilebetais 0.1.0-beta.8.docs/sdk/android/release-notes.md:1345). The repo has no convention for annotating past entries, so it is unchanged.config/default.js:190), because plans override it;elements-shared-vcs-source.component.ts:93-115);complete.js:12), which the dashboard does not expose.Checks
npx cspell "docs/**/*.md" "docs/**/*.mdx" -c cspell.json: 0 issues. AddedDalvik,RSSIandPasspoint.npm ci,npm run test:mirror,npm run check-skillsandnpm run buildall pass. The build usesonBrokenLinks/onBrokenAnchors: 'throw'.🤖 Generated with Claude Code