Skip to content

Releases: getsentry/sentry-infra-tools

1.31.0

25 May 19:17

Choose a tag to compare

What's Changed

Fix: render_services now exits non-zero on materialization failures
Previously, when a service failed to render (e.g. a Jinja2 UndefinedError), the behavior was broken in both code paths:

--multithreaded: The first failing future.result() would crash the process immediately, hiding any subsequent failures across other regions/services

Single-threaded: No error handling at all — an unhandled exception would crash with a raw traceback and no context about which service failed

Now both paths:

  • Collect all errors and continue processing remaining services
  • Print a clear Service FAILED: customer : cluster : service line for each failure as it occurs
  • Print a summary of all failures at the end
  • Exit with code 1 when any service fails to render, so CI correctly reports failure
  • Show full tracebacks with --debug, including customer/cluster/service context

Example output

Service unchanged: region1 : cluster-a : common
Service FAILED: region1 : cluster-a : my-service — UndefinedError: 'dict object' has no attribute 'some_var'
Service unchanged: region2 : cluster-a : common
Service FAILED: region2 : cluster-a : my-service — UndefinedError: 'dict object' has no attribute 'some_var'
2 service(s) failed to render:
  - region1 : cluster-a : my-service — 'dict object' has no attribute 'some_var'
  - region2 : cluster-a : my-service — 'dict object' has no attribute 'some_var'

1.30.3

12 May 18:29

Choose a tag to compare

Bug Fixes 🐛

  • (debug) Pass namespace to kubectl command by @Dav1dde in #230

Other

1.30.2

13 Apr 19:58

Choose a tag to compare

Internal Changes 🔧

  • Don't enforce stage match for non-CI work by @rgibert in #228

1.30.1

09 Apr 19:47

Choose a tag to compare

Internal Changes 🔧

  • (dd) Don't report events for non-prod regions by @rgibert in #227

1.30.0

09 Apr 18:20

Choose a tag to compare

Internal Changes 🔧

Other

  • Create the first revision of the secret if one doesn't exist yet by @BojanOro in #225

1.29.2

19 Mar 14:16

Choose a tag to compare

Bug Fixes 🐛

  • Add resource requests/limits to init-geoip container by @mwarkentin in #221

Internal Changes 🔧

  • (apply) Add only-canary flag for apply by @dmajere in #219

1.29.1

10 Mar 14:50

Choose a tag to compare

Bug Fixes 🐛

  • Add resource requests/limits to init-sysctl containers by @mwarkentin in #220

1.29.0

09 Mar 18:25

Choose a tag to compare

New Features ✨

Bug Fixes 🐛

1.28.0

06 Mar 19:12

Choose a tag to compare

New Features ✨

  • Add EnvoyNativeSidecar extension for Kubernetes native sidecar support by @mwarkentin in #215

Documentation 📚

  • Add ExternalMacro usage guide to libsentrykube README by @mwarkentin in #216

1.27.0

06 Mar 03:03

Choose a tag to compare

New Features ✨

  • (iap) Auto-create kubeconfig when missing by @rgibert in #212

Bug Fixes 🐛

  • (k8s) Improve server-side apply support in sentry-kube apply/diff by @BojanOro in #210