Skip to content

docs: fill gaps found in the site audit (release health, AI Insights, APM upload, system traces) - #170

Merged
krassx merged 6 commits into
mainfrom
docs/fill-gaps-from-site-audit
Nov 23, 2026
Merged

krassx merged 6 commits into
mainfrom
docs/fill-gaps-from-site-audit

Conversation

@dsheikherev

@dsheikherev dsheikherev commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

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 SDK release-7.1.0 (afbddbc5), bugsee-appserver main (e2bdaef), bugsee-background-worker main (e7f395c; the SDK diagnostic log input is from main at e893a17b9), viewer (dashboard) main (223f40db1), bugsee-for-ai origin/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.

  1. On Android 7.x, sessions are close to new installs only.
    • The backend counts a session only on POST /sessions (bugsee-appserver code/components/app/session/session.service.js:1129-1137, 1172-1174; code/components/shared/statistics/index.js:119-156).
    • Android SDK 7.6.0 skips that request whenever it has a stored access token (library/src/main/java/com/bugsee/library/communication/BugseeCommunicationManager.java:412-420).
    • iOS fetches on every launch, on purpose ("A stored token is NOT a reason to skip the fetch", BugseeDev/BugseeLib/BugseeLib/BGSNetworkManager.m:481).
    • So for Android 7.x apps the session request is close to a first-launch event. That skews more than Sessions: users and new users are also counted from that request (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".
  2. Simulators and review devices are excluded from sessions, but their reports still count.
    • Sessions count only for live devices (session.service.js:225-249, 1129, 1172).
    • Crash reports and the extra session/user a report can add have no device-type filter (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.
    • The page states this as is.

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)".
  • Evidence: 7.0.0 is the first stable 7.x release (docs/sdk/android/release-notes.md, "7.0.0 (June 23 2026)"). bugsee-for-ai SKILL_TREE.md lists bugsee-android-sdk and bugsee-ios-sdk as "7.x — the current SDK", with separate -6x skills.
  • No other page calls Android 7.x beta. The remaining "beta" labels are React Native 7.x (still beta), release history, and a quoted plugin warning.

2. Standalone APM upload: not active on Android either

  • The upload job is commented out, waiting for the backend, so mUploadJob is always null: android/sdk performance/BugseePerformanceCoordinator.java:220-231.
  • Adaptive sampling is skipped while there is no upload job: :757-792.
  • iOS agrees: BugseeOptions.h:481-483, 489-494 ("not currently wired").
  • The sample draw is still recorded in reports on Android. The root span carries bugsee.sampled and bugsee.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 only PerformanceMonitoring has 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. NoOpTransaction is also returned before launch and after stop (BugseePerformanceCoordinator.java:422-424).
  • sdk/react_native/performance.mdx:
    • :119: adaptive promotion happens only on iOS (ios/sdk Performance/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

  • Where it is:
    • The per-app Overview, first item in the app's navigation, #/apps/<key>/overview (viewer elements-application-sections-nav.component.html:5). Its Stability chart: application-overview-view.component.html:220-230.
    • The org-wide Cross-application overview, the row at the top of the applications list (features/application/list/application-list.component.ts:65-74, .html:1-12).
  • Formulas: (sessions − crashes) / sessions and (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, user, crash, crashed user:
    • session.service.js:225-249, 1129-1137, 1172-1174.
    • statistics/index.js:119-156, 182-239.
    • issue.service.js:1330-1349.
  • Reports of any type can add a session and a user when the device record was last updated on another day (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.
  • Version and build:
    • Grouping uses iOS BGSEnvironment.m:35-37 and Android EnvironmentInfoProvider.java:201-202.
    • With "All versions", the totals are not summed across versions (statistics/index.js:356-369).
    • Ordering is by version number only when every version has 1–3 numeric parts; otherwise it is by first appearance (code/utils.js:1061-1076, 1125-1146).
  • Days:
    • The time zone is a fixed GMT offset with no daylight saving time (viewer core/constants/values/timezones.constant.ts; appserver code/utils.js:1031-1038).
    • A session's day is the day it is received; a report's day is its creation date (issue.service.js:1352).
    • Ranges and the 3-day minimum: .html:7-62, 160-163.
  • Overview sharing: viewer app settings .html:290-338; backend application.service.js:1804.

4. AI Insights: new page dashboard/ai-insights, plus a link from ai/index.md

  • Availability and limit:
    • Every plan except Lite, plus trials (issue.service.js:3096-3102; viewer recording.view.html:81-85).
    • The monthly limit counts every request that starts a run, failed runs and retries included. The only refund is when scheduling fails (issue.service.js:3233-3268, 3272; issue.ai-process/complete.js:185-215).
    • The limit message shown is the dashboard's own text (elements-recording-ai-process.component.ts:588-598), because the backend replaces the error message with the number (issue.service.js:3138).
  • Output:
    • Classification, confidence, fix and SDK notes: worker ai/insights.py:91-221, 656-689.
    • Confidence is the model's own 0–1 value, only clamped (:493-500).
    • The fix diff shows only on an exact single match with a replacement of at most 20 lines (:533-538, 596-634).
    • Citations: jobs/issues.py:640-677; viewer core/utils/vcs.ts:222-242.
  • What is sent: listed from ai/insights.py:342-490 (generate_prompt; at e893a17b9, :704-721) and jobs/issues.py:680-849.
    • Device IDs are removed from the environment, but the rest of the record is sent.
    • The instruction window is native crashes only.
    • Logs are capped at 40 entries and 24 KB.
    • The Bugsee SDK's internal diagnostic log, windowed to the recording, is capped at 12 KB and filtered out of the visible result (worker main e893a17b9: jobs/issues.py:774-793, 840; ai/insights.py:223-229, 866-905).
  • Repository connection:
    • GitHub App with Contents and Metadata read: vcs-insights/providers/github.js:414-424.
    • GitLab read_api: providers/gitlab.js:200-216.
    • Access token: viewer 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).
    • Revision: with a build commit SHA, only that commit is read (ai/insights_source.py:715-726). Otherwise a version tag (with or without v, then without a pre-release suffix; :152-168), then the default branch. The page links vcs-metadata.
  • UI/UX analysis:
    • Inputs: video frames, screenshot, summary and description, plus session metadata (ai/ux_summary.py:130-170).
    • It needs the report's video; without one the worker writes nothing (jobs/issues.py:336-340).
    • The dashboard stops waiting after 60 s (elements-recording-ai-process.component.ts:677-708).
    • The request still counts toward the limit (issue.service.js:3272).

5. From the website agent's audit

  • System traces: new sections on sdk/ios/events-and-traces.mdx and sdk/android/events-and-traces.mdx, plus a bullet on both overview pages.
    • iOS: producers Capture/Providers/TracesSystem/BGSCaptureSystemTraceProducers.m:1301-1339. Some are behind #if TARGET_OS_IOS; per the team, the page states no platform exclusions.
    • iOS network row: BGSReachability.m:474-506. Carrier fields are empty from iOS 16.4: Shared/Trackers/BGSTrackerTelephony.m:333-345.
    • iOS opt-in gates: disk :129, Bluetooth :200, Wi-Fi :1266, carrier names :1187. Capture disk-space states: :73-87, 960-1000.
    • iOS conditions:
      • CoreTelephony is resolved at runtime only (Shared/Trackers/BGSTrackerTelephony.m:80-84).
      • CoreNFC must be linked (:1239-1243).
      • Bluetooth needs existing permission, and Bugsee never prompts (BGSBluetooth.m:60-98).
    • Sampling frequency is deliberately not documented, per the user.
    • Android: producers and API gates in capture/providers/traces_system/BugseeCaptureTraceProducersProvider.java:65-112.
    • Android hinge angle needs API 30 (shared/trackers/device/FoldStateMonitor.java:523, HingeAngleSource.java:20).
    • Android Wi-Fi fields come from shared/trackers/BugseeTrackerWifi.java:1160-1205, 1388-1443; no option turns them off. They need ACCESS_WIFI_STATE, which the SDK does not declare (AndroidManifest.xml:15; BugseeTrackerWifi.java:1100-1104).
    • Android cellular per SIM only from API 29 (BugseeTrackerTelephony.java:143-148); sound streams TraceSoundVolume.java:58-63; partial blackout TraceCapture.java:179-186; satellite initial state TraceSatellite.java:152-160.
  • Android breadcrumbs are off by default (options/OptionsDescriptors.java:107 at v7.6.0). Fixed sdk/android/privacy/breadcrumbs.mdx, which said on by default and showed how to turn it off. Also fixed sdk/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).
  • Rust (preview): one line on docs/index.md with 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

  • Naming the AI model provider. The worker uses Anthropic's API or Amazon Bedrock (bugsee-background-worker ai/client.py:5-17). The page says only "an AI model". Naming it is a team or legal call.
  • GitHub Enterprise and self-hosted GitLab. The dashboard's access-token step and the website say an access token works for them. But the worker reads files only from api.github.com, gitlab.com and api.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_fix MCP 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).
  • Notification relay "Beta" label: the dashboard shows a Beta badge (viewer elements-application-sections-nav.component.html:26), but the iOS and Android docs don't call it beta. Unchanged; the team should pick one.
  • AI Insights quota failure, shown as a bare number. When the quota check fails on an issue with no earlier result, revertClaim stores 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).
  • Follow-ups in other repos (not edited here):
    • bugsee-for-ai: the generated docs/ai/agent-skills/sdk/android/v7/SKILL.md:317 calls PerformanceSampleRate the "Standalone-upload probability" without saying the upload is inactive. That file is mirrored from bugsee-for-ai, so fix it there.
    • Android SDK: the Javadoc of CaptureBreadcrumbs says "Default value is true" (contracts/options/Options.java:421-424 at v7.6.0), but the registered default is false.
    • npm: the @bugsee/* latest tag still points to 0.1.0-beta.4, while beta is 0.1.0-beta.8.
  • Release notes left as history: Android 7.0.0-beta6 says adaptive sampling "automatically tune[s] transaction sampling" (docs/sdk/android/release-notes.md:1345). The repo has no convention for annotating past entries, so it is unchanged.
  • Not documented, by choice:
    • the default AI Insights limit (config/default.js:190), because plans override it;
    • Bitbucket, which is offered only outside production (viewer elements-shared-vcs-source.component.ts:93-115);
    • the 15-minute stale-run reclaim (complete.js:12), which the dashboard does not expose.

Checks

  • npx cspell "docs/**/*.md" "docs/**/*.mdx" -c cspell.json: 0 issues. Added Dalvik, RSSI and Passpoint.
  • npm ci, npm run test:mirror, npm run check-skills and npm run build all pass. The build uses onBrokenLinks/onBrokenAnchors: 'throw'.

🤖 Generated with Claude Code

- 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
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f4219a03-b93a-4a0f-9e44-17a2790d43f5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@claude

claude Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Claude finished @dsheikherev's task in 33s —— View job


Review of #170: fill gaps from the site audit

I read the full diff against origin/main and checked it against the rest of the docs. I did not run cspell or npm run build; I'm relying on the PR's own report that both pass. I also can't read the Android SDK, iOS SDK, appserver, worker or viewer repos from here, so I have not independently verified the source line references.

Findings

I 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:

  • Links and anchors: #where-performance-data-goes exists in performance.mdx. The old #two-data-paths anchor has no remaining references. /sdk/ios/configuration#disk-space and /cli/builds both resolve, and #system-traces exists on both events-and-traces pages.
  • Navigation: both new dashboard pages are in sidebars.ts, and ai/index.md links to AI Insights. Nothing links to Release health yet. That's fine, but you could add a cross-link from an overview page.
  • APM consistency: the Android wording now matches the existing iOS and React Native pages ("reserved for a standalone upload that is not active yet"). A grep found no other Android, KMP, Flutter, Unity or .NET page that still describes a live standalone upload.
  • Front matter and spell check: the new pages have title, description, sidebar_position and slug. Dalvik is added to cspell.json, as CLAUDE.md requires.

Notes for the team

These are the PR's own open items. I agree they're worth resolving, but they don't block the merge.

  1. Android session semantics (release-health.md:167): the page says a session is counted "each time the Bugsee SDK on a device opens a session". The PR description says Android 7.6.0 can skip POST /sessions when it reuses a stored token, and iOS does not. If that's true, the sentence over-promises for Android 7.x, and crash-free sessions would mean something different per platform. I'd confirm the SDK behavior before merging, or soften the sentence.
  2. Agent skill drift: docs/ai/agent-skills/sdk/android/v7/SKILL.md:317 still calls PerformanceSampleRate a "Standalone-upload probability". It's generated, so the fix belongs in bugsee-for-ai. Until that lands, the skill and the Android page will disagree about whether the upload is active.
  3. Date-sensitive wording: "as of 7.6.0" and "not active yet" will go stale when the backend ships. The text is accurate today. It's worth a reminder to revisit it when the standalone upload is enabled.
  4. Minor: docs/index.md now has two blank lines before ## Features, and the ## Sampling and upload modes heading now covers options that do nothing. Both are cosmetic.

Summary

  • Overall risk: Low. These are documentation-only changes, apart from a one-word spell-check dictionary addition and the sidebar entries.
  • Merge recommendation: Approve once item 1 is confirmed. If it isn't, soften that one sentence and merge.
  • Most important: confirm the Android session-counting behavior, then fix the generated Android skill upstream.
  • Positives:
    • The PR cites its evidence revisions, keeps internal-only details out of the docs, and lists what it deliberately left out.
    • The "would"/"not active yet" wording for the APM options is accurate.
    • The /bugsee_fix MCP prompt is left undocumented because the server doesn't register it.

@dsheikherev
dsheikherev requested a review from krassx November 20, 2026 10:26
- 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

claude Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Claude finished @dsheikherev's task in 36s —— View job


Re-review of #170 after the latest push

I read the full diff against origin/main, including the second commit (79a3597, "fix accuracy issues found in review"). I did not run cspell or npm run build, and I can't read the SDK, appserver, worker or viewer repos from here. I haven't independently verified the source line references. The only checks were grep and read passes over the docs.

New findings

None. I have no inline comments, because none of what follows has a failure scenario.

Checks on the latest commit

  • Breadcrumbs default: 79a3597 changes the Android breadcrumb pages from "on by default" to "off by default".
    • This agrees with the CaptureBreadcrumbs row in configuration/overview.mdx:138 (default false), the Android release note ("opt-in via CaptureBreadcrumbs") and the iOS overview ("opt-in").
    • A grep found no remaining "on by default" claim for Android breadcrumbs.
    • The PR description doesn't mention this change. Consider adding a line to it so the reviewer sees it.
  • APM wording:
    • The React Native, Android performance, configuration, migration, FAQ and custom-extensions pages now agree: the standalone upload is "not active yet", and sampling does not change what is captured or sent.
    • No stale references remain in other SDK sections. #two-data-paths has no references left.
    • The bugsee.sampled and bugsee.sample_rate attribute claims appear on both the Android and React Native pages and match each other.
  • System traces: both tables now carry API-level gates, the Satellite row and the opt-in split on iOS. They are consistent with the overview bullets and anchors.
  • Navigation and spell check: both new dashboard pages are in sidebars.ts, and the new RSSI/Passpoint terms are in cspell.json.

Earlier items and their status

  1. Android session semantics (docs/dashboard/release-health.md:22) — still open. The page says a session is counted "each time the Bugsee SDK on a device opens a session". Your PR description says Android 7.6.0 can skip POST /sessions when it reuses a stored token, and iOS posts on every launch. If that's intended, crash-free sessions are not "per launch" on Android 7.x. Please confirm this, or soften the sentence to something like "each time a session is registered with Bugsee".
  2. Agent skill drift — still open, upstream. docs/ai/agent-skills/sdk/android/v7/SKILL.md still calls PerformanceSampleRate a "Standalone-upload probability". The fix belongs in bugsee-for-ai. Until it lands and the sync PR merges, the skill and the Android page disagree.
  3. Cosmetic — still open. docs/index.md has two blank lines before ## Features. The Android ## Sampling and upload modes heading now covers options that don't do anything yet. The heading is also referenced nowhere, so renaming it is safe.
  4. Staleness reminder. "As of 7.6.0" and "not active yet" appear in several Android pages. Revisit them all when the backend ships the upload.

Summary

  • Overall risk: Low. These are documentation-only changes, apart from the sidebar entries and the spell-check dictionary words.
  • Merge recommendation: Approve once item 1 is confirmed or the sentence is softened. Nothing else blocks the merge.
  • Most important: confirm the Android session-counting behavior, then fix the generated skill upstream.
  • Positives:
    • The second commit tightened several claims (breadcrumb default, sampled/adaptive-sampling behavior per platform, API gates), and the pages are now consistent with each other.
    • Evidence revisions are cited, internal details are kept out of the docs, and unconfirmed items such as /bugsee_fix are left out and listed.
      · Branch: docs/fill-gaps-from-site-audit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: Iad9140e8ef2212c00d2750317fc935ee626c88e9
@claude

claude Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Claude finished @dsheikherev's task in 18s —— View job


Re-review of #170 after the latest push (9a10a98)

I read the new commit and the pages it touches. I did not run cspell or npm run build, and I can't read the SDK, appserver, worker or viewer repos from here. I haven't verified the source line references. I posted no inline comments, because I found no new bugs.

What changed

9a10a98 removes the sampling sentence from the iOS "System traces" intro in docs/sdk/ios/events-and-traces.mdx: the 1 s polling, the pause in the background, and "the others are recorded when they change".

  • The intro is now a single clean sentence.
  • Nothing else on the iOS pages refers to polling or sampling. The table row "App and screen: Foreground or background" describes recorded state, not the sampling behavior, so it stays accurate.
  • The PR description still lists the iOS sampling evidence (BGSCaptureDataProviderSystemTrace.m:18, :195-215). That item is now stale, so you may want to trim it.

Earlier items

  1. Android session semantics (docs/dashboard/release-health.md:23): still open. The page says a session is "Counted each time the Bugsee SDK on a device opens a session with Bugsee." Your own PR description says Android 7.6.0 skips POST /sessions when it has a stored token, and the backend counts a session only on that request.
    • Impact: for Android 7.x apps, Crash-free sessions is computed over roughly first launches, so the sentence over-promises.
    • Fix: either soften the wording to "each time a session is registered with Bugsee", or add the caveat once the team decides on the blocker you listed.
  2. Agent skill drift: still open, upstream. docs/ai/agent-skills/sdk/android/v7/SKILL.md still calls PerformanceSampleRate a "Standalone-upload probability". It's generated, so the fix belongs in bugsee-for-ai.
  3. Cosmetic: still open. docs/index.md:25-26 has two blank lines before ## Features.
  4. Staleness reminder. "As of 7.6.0" and "not active yet" appear on several Android pages. Revisit them when the standalone upload ships.

Summary

  • Overall risk: Low. The changes are documentation, the sidebar entries and spell-check dictionary words.
  • Merge recommendation: Approve once item 1 is resolved by the team or the sentence is softened. Nothing else blocks the merge.
  • Most important: settle the Android session-counting wording, then fix the generated Android skill upstream.
  • Positives:
    • The latest commit removes a detail the PR's own scope no longer needs, and it leaves no dangling references.
    • Evidence revisions are cited, and the unconfirmed items are listed instead of documented.
      · Branch: docs/fill-gaps-from-site-audit

- 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

claude Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Claude finished @dsheikherev's task in 33s —— View job


Re-review of #170 after the latest push (1f31f21)

I read the new commit, docs: apply final review of the audit fixes, in full. I also checked its anchors and the cspell entries against the repo. I did not run cspell or npm run build (node_modules isn't installed here), so I'm relying on the PR's reported results. I can't read the SDK, appserver, worker or viewer repos from here, so I haven't verified the source line references.

New finding (1 inline comment)

  • P3, docs/sdk/android/performance.mdx:179: "in 7.6.0 only PerformanceMonitoring has an effect" contradicts line 194 of the same page. That line says PerformanceSampleRate drives isSampled() and the sampled flag recorded in each report. The sentence should say that only PerformanceMonitoring changes what is captured or sent.

Checks on the latest commit

  • Links and anchors: /sdk/ios/configuration#device-and-network-names exists (heading at configuration.mdx:350). The cspell terms Dalvik, RSSI and Passpoint are in cspell.json.
  • iOS system traces: the Network, Cellular and Wi-Fi rows now describe the same BugseeOptionCaptureDeviceAndNetworkNames gating. The tvOS and visionOS exclusions are removed everywhere on the page, so it is consistent.
  • Release health: the new "reports from simulators and review devices do this too" sentence matches the Crash bullet above it. It also matches the blocker described in the PR body.
  • AI Insights: the revision rule is now commit-only, then tag, then default branch. The page no longer implies GitHub Enterprise or self-hosted GitLab support, which matches the PR's "left out" list.
  • React Native and Android APM wording: both pages agree that the upload is inactive and that the report records the sampled result.

Earlier items

  1. Android session semantics (docs/dashboard/release-health.md:23): still open.
    • The page says a session is "Counted each time the Bugsee SDK on a device opens a session with Bugsee."
    • Your PR description says Android 7.6.0 skips POST /sessions when it has a stored token, and the backend counts a session only on that request.
    • For Android 7.x apps, Crash-free sessions is therefore computed over roughly first launches.
    • This is the blocker you already flagged. Either decide on it or soften the sentence before merge.
  2. Agent skill drift: still open, upstream. docs/ai/agent-skills/sdk/android/v7/SKILL.md:317 still calls PerformanceSampleRate a "Standalone-upload probability". The fix belongs in bugsee-for-ai.
  3. Cosmetic: still open. docs/index.md has two blank lines before ## Features.
  4. Staleness reminder. "Not active yet" appears on several Android and React Native pages. Revisit them when the standalone upload ships. The last commit removed the "as of 7.6.0" qualifier from one sentence but kept "in 7.6.0" in the new options intro.

Summary

  1. Overall risk: Low. The changes are documentation, the sidebar entries and spell-check dictionary words.
  2. Merge recommendation: Approve once the Android session sentence is resolved by the team or softened. The P3 finding is a one-line wording fix and does not block the merge.
  3. Most important:
    • The Android session-counting claim on the Release health page.
    • The "only PerformanceMonitoring has an effect" wording.
    • The upstream fix to the generated Android skill.
  4. Positives:
    • The last commit tightens privacy-relevant claims. It lists what AI Insights sends, including the SDK diagnostic log and the full environment record, and it states the limits of access tokens.
    • It removes platform exclusions that could not be supported.
    • Evidence revisions are cited, and unconfirmed items are listed instead of documented.
      · Branch: docs/fill-gaps-from-site-audit

Comment thread docs/sdk/android/performance.mdx Outdated
## 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:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

claude Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Claude finished @dsheikherev's task in 16s —— View job


Re-review of #170 after the latest push (0599d50)

I read the new commit and the pages it touches. I did not run cspell or npm run build. I can't read the SDK, appserver, worker or viewer repos from here, so I haven't verified the source line references. I posted no new inline comments.

What changed

  • docs/sdk/android/performance.mdx:179: the options intro now says only PerformanceMonitoring "changes which transactions are captured or sent". This fixes my earlier P3 finding. The sentence now agrees with the "Where performance data goes" section, which says isSampled() reports the draw and each report records the sampled result. It also agrees with configuration/overview.mdx:242.
  • docs/dashboard/ai-insights.md:44: the environment-record bullet is now split by platform. Network and cellular state apply to both. App permissions, installer and boot time are listed for Android only. The device name, Wi-Fi SSID and carrier are listed for iOS only, with BugseeOptionCaptureDeviceAndNetworkNames. The bullet is internally consistent. I can't confirm the per-platform field split against the worker or SDKs.

Earlier items

  1. Android session semantics (docs/dashboard/release-health.md:23): still open.
    • The page says a session is "Counted each time the Bugsee SDK on a device opens a session with Bugsee."
    • Your PR description says Android 7.6.0 skips POST /sessions when it has a stored token, and the backend counts a session only on that request.
    • For Android 7.x apps, Crash-free sessions and users are therefore computed over roughly first launches.
    • This is the blocker you already listed. Either decide it, add a caveat, or soften the sentence before merge.
  2. Agent skill drift: still open, upstream. docs/ai/agent-skills/sdk/android/v7/SKILL.md:317 calls PerformanceSampleRate the "Standalone-upload probability". The fix belongs in bugsee-for-ai.
  3. Cosmetic: still open. docs/index.md:25-26 has two blank lines before ## Features.
  4. Staleness reminder. "Not active yet" and "as of 7.6.0" appear on several Android pages. Revisit them when the standalone upload ships.

Summary

  1. Overall risk: Low. The changes are documentation, the sidebar entries and spell-check dictionary words.
  2. Merge recommendation: Approve once the Android session wording is resolved by the team or softened. Nothing else blocks the merge.
  3. Most important: the Android session-counting claim on the Release health page, then the upstream fix to the generated Android skill.
  4. Positives:
    • The latest commit fixes the one remaining inconsistency in the Android APM wording.
    • The AI Insights data-sharing list is more precise about which fields go to the model on each platform.
    • Evidence revisions are cited, and unconfirmed items are listed instead of documented.
      · Branch: docs/fill-gaps-from-site-audit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: I6701790648d1d11596fdfed62dfe209cfd5a1958
@claude

claude Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Claude finished @dsheikherev's task in 15s —— View job


Re-review of #170 after the latest push (1725319)

I read the new commit and checked the result against origin/main. I did not run cspell or npm run build. I can't read the SDK, appserver, worker or viewer repos from here, so I haven't verified the source line references. I posted no inline comments, because I found no new bugs.

What changed

1725319 removes the JavaScript SDK (Beta) bullet from docs/index.md. It keeps a single sentence for the Rust SDK (Preview).

  • The sentence is accurate against the PR description: pre-release, not on crates.io, and linked to the public repo.
  • Nothing else in the PR refers to the JavaScript SDK, so no dangling links remain. The PR body's "JavaScript (beta) and Rust (preview): two lines on docs/index.md" is now stale. It should say only Rust.

Earlier items

  1. Android session semantics (docs/dashboard/release-health.md:23): still open.
    • The page says a session is "Counted each time the Bugsee SDK on a device opens a session with Bugsee."
    • Your PR description says Android 7.6.0 skips POST /sessions when it has a stored token, and the backend counts a session only on that request.
    • For Android 7.x apps, Crash-free sessions and users are therefore computed over roughly first launches.
    • This is the blocker you already listed. Decide it, add a caveat, or soften the sentence before merge.
  2. Agent skill drift: still open, upstream. docs/ai/agent-skills/sdk/android/v7/SKILL.md:317 calls PerformanceSampleRate the "Standalone-upload probability". The fix belongs in bugsee-for-ai.
  3. Cosmetic: still open. docs/index.md:22-23 still has two blank lines before ## Features.
  4. Staleness reminder. "Not active yet" and "in 7.6.0" appear on several Android pages. Revisit them when the standalone upload ships.

Summary

  1. Overall risk: Low. The changes are documentation, the sidebar entries and spell-check dictionary words.
  2. Merge recommendation: Approve once the Android session wording is resolved by the team or softened. Nothing else blocks the merge.
  3. Most important issues to fix:
    • The Android session-counting claim on the Release health page.
    • The upstream fix to the generated Android skill.
  4. Positives:
    • The latest commit shrinks scope to what has a stable home. It leaves no broken references.
    • Evidence revisions are cited, and unconfirmed items are listed instead of documented.
      · Branch: docs/fill-gaps-from-site-audit

@krassx

krassx commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Android SDK 7.6.0 skips that request whenever it has a stored access token (library/src/main/java/com/bugsee/library/communication/BugseeCommunicationManager.java:412-420).

This one definitely needs a fix/change to align with iOS SDK. I am addressing it now.

@dsheikherev

Copy link
Copy Markdown
Contributor Author

Правки по итогам финального ревью

Финальное ревью с чистым контекстом, на head 1725319. Каждый пункт сверен с кодом SDK, appserver, viewer и worker. Ниже то, что предлагается поменять. B1 и B4 вынесены в отдельный комментарий, чтобы решить их отдельно.

# Где Сейчас Предлагаю
1 docs/sdk/ios/events-and-traces.mdx:122 (Network) With BugseeOptionCaptureDeviceAndNetworkNames, also the Wi-Fi SSID or the carrier name with MCC and MNC. With BugseeOptionCaptureDeviceAndNetworkNames, also the Wi-Fi SSID, or the carrier name, MCC and MNC. From iOS 16, iOS no longer provides carrier data: the name is recorded as <unavailable> and MCC and MNC as placeholders.
2 docs/dashboard/ai-insights.md:44 …on Android also app permissions, installer and boot time; on iOS with BugseeOptionCaptureDeviceAndNetworkNames, also the device name, Wi-Fi SSID and carrier; … …on Android also app permissions, installer, boot time and each SIM's operator name, MCC, MNC and country codes; on iOS with BugseeOptionCaptureDeviceAndNetworkNames, also the device name, Wi-Fi SSID and, before iOS 16, the carrier; …
3 docs/dashboard/ai-insights.md, после списка (:54) — Bugsee stores the result with the issue: the text shown, the likely origin, the confidence, the list of sources and token usage. It does not store the prompt or the source files it read, but the result can quote lines from them. A UI/UX analysis is stored with its report.
4 docs/dashboard/ai-insights.md:10 Connect the app's GitHub or GitLab repository, read-only, and it also reads the code around the crashing frames. Connect the app's GitHub or GitLab repository, read-only, and it also reads the code around the crashing frames. Without a connection, it can read a public github.com, gitlab.com or bitbucket.org repository set as the app's Resources → Repository URL.
5 docs/dashboard/ai-insights.md:50 when a repository is connected: its provider, its name, and the revision that was read; when a repository is read: its provider, its name, and the revision that was read;
6 docs/dashboard/ai-insights.md:52 from the Bugsee SDK (at the version that produced the report) from the Bugsee SDK (at the version that produced the report when available, otherwise its latest code)
7 docs/dashboard/ai-insights.md:64 …a classic token needs the full repo scope for private repositories. …a classic token needs the full repo scope for private repositories. On GitLab, the token needs the read_api scope.
8 docs/dashboard/ai-insights.md:70 (see vcs-metadata) (see iOS symbolication and Android build upload)
9 docs/dashboard/ai-insights.md:33 (Likely origin) …System (nothing the app's author can change, …) or Unknown. …System (nothing the app's author can change, …) or Unknown. The result text calls System Platform / system code and has no origin line for Unknown.
10 docs/dashboard/ai-insights.md:78 It reviews frames from the video recorded before the report, the screenshot (including annotations the user drew), and the report's summary and description, plus the platform and OS version, device make and model, package ID, app version, framework and report type, and describes what most likely led the user to file the report. It describes what most likely led the user to file the report. It reviews frames from the video recorded before the report, the screenshot (including annotations the user drew), and the report's summary and description. It also gets the platform and OS version, device make and model, package ID, app version, framework and report type.
11 docs/sdk/android/events-and-traces.mdx:97 (Cellular) Per SIM on Android 10 (API 29) and later: network type, data connection state, operator name, MCC and MNC, roaming state and signal strength. · All Network type, data connection state, operator name, MCC and MNC, roaming state and signal strength: per SIM on Android 10 (API 29) and later, for the default SIM on Android 7–9. · 7.0 (API 24) and later
12 docs/sdk/android/events-and-traces.mdx:93 (Memory) JVM and native heap (total, free, used), … the device's total, available and advertised memory, … JVM heap (maximum, free, used) and native heap (total, free, used), … the device's total, available and advertised memory (advertised equals total before Android 14), …
13 docs/sdk/android/events-and-traces.mdx:101 (Capture) Whether recording is active, in a blackout, or in a partial blackout (some displays blacked out). Whether the video is blacked out: not at all, fully, or on some displays.
14 docs/sdk/android/events-and-traces.mdx:105 (Disk space) Free and total storage; thermal headroom. Free and total internal storage; thermal headroom.
15 docs/sdk/android/events-and-traces.mdx:107 (Satellite) Whether the satellite modem is on. Needs a phone-state permission that the SDK does not request; without one the trace reports it as unavailable. Reads unknown until the modem state first changes. Whether the satellite modem is on. Needs READ_PHONE_STATE or READ_BASIC_PHONE_STATE, which the SDK does not request; without one, or on a device without satellite support, the trace reads unavailable. Until the modem state first changes, it reads unknown.
16 docs/sdk/ios/events-and-traces.mdx:128 (Fold state) Fold state and hinge angle, on devices that report them. Fold state and hinge angle, on devices that report them (iOS 27.1 and later).
17 docs/sdk/ios/events-and-traces.mdx:113, docs/sdk/android/events-and-traces.mdx:88 Besides your own traces, every report carries traces… Besides your own traces, reports carry traces…
18 docs/sdk/android/performance.mdx:194 Each report records whether its transactions were sampled. From 7.3.1, each report records whether its transactions were sampled.
19 docs/dashboard/release-health.md:24 (User) A device. Each device counts once per day. A device. A device normally counts once per day; a report can add another count (see below).
20 docs/dashboard/release-health.md:26 (Crashed user) A device that sent at least one crash report that day, counted once per app version and build. A device that sent at least one crash report that day, counted once per app version and build. With All versions, a device that crashed on two builds counts twice.
21 docs/dashboard/release-health.md:43 The Version adoption chart shows each version's share of the day's users. The Version adoption chart shows each version's share of the day's users. The total is the sum of each version's users, so a device that updated during the day counts in both versions.
22 docs/dashboard/release-health.md:51 …Changing the time zone affects only data received after the change. …Changing the time zone affects only data received after the change, and can take up to an hour to apply.
23 docs/dashboard/release-health.md:55 …turn on Overview sharing, save, and copy the Shared overview URL that then appears. …turn on Overview sharing, save, and copy the Shared overview URL that then appears. Turning sharing off deletes the URL; turning it on again creates a new one.
24 docs/dashboard/release-health.md:10 …Filter by app version and build to compare releases. …Filter by app version and build to compare releases. Web apps have no Overview page.
25 docs/ai/plugins/index.md:14 opinionated wizards for iOS and Android (7.x, plus separate skills for apps still on 6.x), Flutter, React Native, Unity, .NET/MAUI, Xamarin, Cordova, and Kotlin Multiplatform. opinionated wizards for iOS, Android, Flutter, React Native, Unity, .NET/MAUI, Xamarin, Cordova and Kotlin Multiplatform (iOS and Android also have separate skills for apps still on SDK 6.x).
26 docs/sdk/android/overview.mdx:13 …with privacy controls so nothing sensitive leaves the device. …with privacy controls for the video, network, log and breadcrumb data it captures.
27 docs/index.md:10 (вместе с #171) Using Bugsee on mobile devices requires installation of Bugsee lightweight SDK: To use Bugsee, install its lightweight SDK for your platform:

Пояснения:

🤖 Generated with Claude Code

@dsheikherev

Copy link
Copy Markdown
Contributor Author

На решение: B1 и B4

@krassx, по этим двум пунктам финального ревью нужно твоё решение: правим docs под текущее поведение или меняем продукт.

# Где Сейчас Предлагаю
B1 docs/sdk/android/events-and-traces.mdx:96 (Wi-Fi) …Recorded only if your app holds ACCESS_WIFI_STATE, which the SDK does not request. SSID and BSSID also need location permission; … …Recorded whether or not your app holds ACCESS_WIFI_STATE (the SDK does not request it); without it, Android exposes fewer of these fields. SSID and BSSID also need location permission; …
B4 docs/dashboard/release-health.md:47 …The charts need at least 3 days of data: a shorter custom period, or an app with less than 3 days of data, shows No statistics found. …The charts need at least 3 days: a custom period shorter than 3 days shows Can't show statistics for less than 3 days; a range with fewer than 3 days of data shows No statistics found.

B1. Без ACCESS_WIFI_STATE trace всё равно пишется. SDK берёт данные из NetworkCapabilities, а на API 29+ ещё и WifiInfo оттуда же. Для этого хватает ACCESS_NETWORK_STATE, который SDK объявляет сам. Trace показывает unavailable, только когда данных о соединении нет совсем. Источники (Android v7.6.0):

  • shared/trackers/BugseeTrackerWifi.java:376-397 (комментарий «works without permissions») и :1274-1285;
  • TraceWifi.java;
  • library/src/main/AndroidManifest.xml:14-15.

Сейчас docs говорят о собранных данных меньше, чем SDK отправляет на самом деле. Вопрос: оставляем это поведение SDK и правим docs, как в таблице, или SDK должен писать Wi-Fi только при наличии ACCESS_WIFI_STATE?

B4. В dashboard два разных сообщения. Custom period короче 3 дней даёт Can't show statistics for less than 3 days. No statistics found показывается, когда период достаточной длины, но данных в нём меньше чем за 3 дня. Источник: viewer application-overview-view.component.html:160-163, .ts:352-358. Вопрос: правим docs под текущий UI или меняем сообщения в dashboard?

🤖 Generated with Claude Code

@krassx
krassx merged commit 991c8b2 into main Nov 23, 2026
6 checks passed
@krassx
krassx deleted the docs/fill-gaps-from-site-audit branch November 23, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants