Skip to content

build(deps): Install dependencies from Socket Firewall - #824

Open
oioki wants to merge 1 commit into
mainfrom
build/socket-pypi-index
Open

oioki wants to merge 1 commit into
mainfrom
build/socket-pypi-index

Conversation

@oioki

@oioki oioki commented Nov 26, 2026

Copy link
Copy Markdown
Member

Python dependencies now install from Socket Firewall instead of pypi.devinfra.sentry.io, with Socket as the only index. Locked versions are unchanged; uv.lock grows because Socket lists every upstream wheel.

This replaces the setup from #726: with sfw as the named default index, Dependabot's org registry matches it and no longer rewrites lockfile sources. Publishing the client to the internal index via craft is unaffected.

Refs SEC-1945

🤖 Generated with Claude Code

Refs SEC-1945

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Nov 26, 2026

Copy link
Copy Markdown

SEC-1945

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

⚪ None (no workspace changed)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR does not change any workspace, so it will not appear in any changelog.


🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.72%. Comparing base (4724de3) to head (0c6fe96).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #824   +/-   ##
=======================================
  Coverage   91.72%   91.72%           
=======================================
  Files         122      122           
  Lines       24679    24679           
=======================================
+ Hits        22637    22638    +1     
+ Misses       2042     2041    -1     
Components Coverage Δ
Rust Backend 94.12% <ø> (ø)
Rust Client 90.69% <ø> (ø)
Python Client 91.75% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@oioki
oioki marked this pull request as ready for review November 26, 2026 14:53
@oioki
oioki requested a review from a team as a code owner November 26, 2026 14:53
lcian pushed a commit that referenced this pull request Nov 27, 2026
Updates dependencies. Only `Cargo.lock` and `uv.lock` change, so the
public API and the declared minimum versions of `objectstore-client` and
`objectstore-types` stay the same. The lockfile still resolves to
versions compatible with the client's minimum Rust version (1.91).

Rust updates, all semver-compatible: sentry_arroyo 2.50.1, hyper 1.13,
h2 0.4.21, hickory 0.26.4, async-compression 0.4.54, zstd 0.14.5 /
zstd-sys 2.2 (libzstd 1.6.0), rdkafka-sys 4.11 (librdkafka 2.16.0), url
2.5.9, lru 0.19.2, blake3 1.8.8, ordered-float 5.5.1 and other
transitive crates. generic-array moves back to 0.14.7 because
crypto-common 0.1.7 pins it to that version.

Python updates change only `uv.lock`: prek 0.5.12 (dev tool).

Behavior changes in the server:
- **Inventory tracking metrics:** with sentry_arroyo 2.50, the inventory
tracker's Kafka producer also records Arroyo's delivery metric,
`arroyo.producer.produce_status` (tagged by status, topic and producer
name). Objectstore's own delivery callback keeps working unchanged.
- **zstd:** libzstd 1.6.0 fixes several memory-safety bugs, including
CVE-2026-124851 in streaming decompression of malformed data.

Held back:
- **gcp_auth 0.13:** `bigtable_rs` (getsentry/bigtable_rs fork at
`072cb58`) requires gcp_auth 0.12, and objectstore-service hands its
gcp_auth token provider to it. The fork has to move to 0.13 first.
- **rdkafka 0.40:** sentry_arroyo 2.50.1 requires `rdkafka <0.40`, and
the inventory tracker shares rdkafka types with it.
- **sentry-sdk 3 (Python client):** a major bump of a client dependency,
already in progress in #820.
- **ruff 0.17, mypy 2.4, pytest 9.2, pytest-cov 7, sphinx 9.2,
sentry-devenv 1.40 and other Python dev tools:** not available on the
configured index, `pypi.devinfra.sentry.io`. #824
changes the index.

The PR changes only files outside the release workspaces, so it is not
listed in any changelog.

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
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