Skip to content

update compat tests

8b427d5
Select commit
Loading
Failed to load commit list.
Closed

ref(argv): Update integration #6155

update compat tests
8b427d5
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden completed Apr 28, 2026 in 38s

1 issue

High

Existing argv test will fail because send_default_pii defaults to False - `sentry_sdk/integrations/argv.py:25-26`

The change gates extra['sys.argv'] behind should_send_default_pii(), which defaults to False. The existing test tests/integrations/argv/test_argv.py::test_basic initializes the SDK without send_default_pii=True and asserts event['extra']['sys.argv'] == argv, which will now raise KeyError because extra is set but sys.argv is never assigned to it. The test must be updated (e.g. pass send_default_pii=True) and a second test added covering the default (PII-off) path.

4 skills analyzed
Skill Findings Duration Cost
code-review 1 30.9s $0.67
find-bugs 0 18.4s $0.41
skill-scanner 0 27.0s $0.26
security-review 0 17.7s $0.30

Duration: 1m 34s · Tokens: 309.8k in / 3.0k out · Cost: $1.64 (+merge: $0.00, +dedup: $0.00)