Skip to content

docs(cloud-replay): debug bundles are opt-in - #1013

Open
Aditya-eddy wants to merge 2 commits into
mainfrom
docs/cloud-replay-debug-bundle-optin
Open

Aditya-eddy wants to merge 2 commits into
mainfrom
docs/cloud-replay-debug-bundle-optin

Conversation

@Aditya-eddy

Copy link
Copy Markdown
Member

What this changes

The cloud replay reference (versioned_docs/version-4.0.0/keploy-cloud/cloud-replay.md) now matches the CLI change in keploy/enterprise#3573: debug bundles are off by default and opt-in.

  • New "Debug bundles" section:
    • the four flags: --save-debug-bundle, --share-debug-bundle, --debug-bundle-dir, --disable-debug-bundle;
    • what a bundle holds, and why it is saved readable only by the user;
    • sample output, and the hint a failed run prints;
    • what happens when a share or a save cannot happen.
  • Removed the --disable-debug-bundle row from "Uploads and reporting". It said every run uploads a bundle, which is no longer true.
  • Self-hosted ("What it does") no longer lists the bundle upload among the steps the proxy-auth mode skips. It says instead that --share-debug-bundle only saves the bundle in that mode, with a link to the new section.
  • Also covered:
    • the save/share flags are read from the command line only;
    • disable-debug-bundle in keploy.yml or the environment refuses a run that asks for a bundle;
    • an interrupted run still saves the bundle it asked for;
    • the hint a self-hosted run gets names only --save-debug-bundle.

Checks

  • npx prettier@2.8.8 --check on the changed file (the version the Prettify Code workflow pins): clean.
  • yarn build: passes (Docusaurus build in 68 s). The new #debug-bundles anchor, and the self-hosted section's link to it, are in the built page.

Merge order

Merge after keploy/enterprise#3573, and once the release that carries it is out, so the page doesn't describe flags users don't have yet.

Document --save-debug-bundle, --share-debug-bundle and --debug-bundle-dir,
what a bundle holds, and what a run says when a bundle cannot be saved or
shared. Drop the line saying every run uploads a bundle (keploy/enterprise#3573).

Signed-off-by: Aditya Sharma <aditya282003@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant