Skip to main content

render-lab-tasks-sentry

Python port of all 9 registered tasks in the pinned TypeScript pack at 45f9c2d44bd28e01ae9813e0d2ff56ee6c533816. Python 3.12+.

From the repository, install this pack and its supporting core together:

pip install render-lab-tasks-sentry==0.1.0

Import task definitions from render_lab_tasks_sentry.tasks. Combine its app with other pack apps using Workflows.from_workflows(...) and call tasks with await ctx.run(task, input). Package roots do not register tasks. JSON fields retain the TS spelling; Python functions use snake_case.

Tasks

Registered name Python export (also exposes _impl)
sentry.addComment add_comment
sentry.assignIssue assign_issue
sentry.getIssue get_issue
sentry.getLatestEvent get_latest_event
sentry.ignoreIssue ignore_issue
sentry.listEvents list_events
sentry.listNewErrors list_new_errors
sentry.listProjects list_projects
sentry.resolveIssue resolve_issue

Dependencies and retries

Raw implementations accept context first and keyword-only deps. The .client module exports typed Port, Deps, and Client classes (also vendor-named aliases). Inject a fake port, or pass a caller-owned httpx.AsyncClient to Client for custom transport/configuration. Default dependencies close their HTTP clients after the operation. Credentials resolve at first use. HTTP and SDK retries are disabled; retry.py owns durable retry settings. DTO types live in .types.

Environment

Variable Contract
SENTRY_AUTH_TOKEN Required on API calls.
SENTRY_ORG Required only for listNewErrors and listProjects.
SENTRY_HOST Optional hostname, defaults to sentry.io; HTTPS is used.

Verification and limitations

Issue counts and flattened exception frames follow the TS JSON output. Non-finite counts become null, matching JSON serialization of JS NaN/Infinity. List endpoints preserve the TS single-response behavior.

Shared JSON fixtures compare the Python task output with the actual pinned TS implementation. REST fixtures also compare HTTP requests; HubSpot and Linear fixtures compare source SDK arguments with HTTP payloads/GraphQL variables. No live vendor calls were made for this batch. Registered-task parity does not claim live readiness or all supporting TS exports. See the root verification tracker and docs/porting-batches.md. Licensed under MIT.

Webhook adapter

render_lab_tasks_sentry.webhooks.sentry_adapter(on_event, ...) returns a registration-free adapter for render_lab_triggers. The callback receives the verified event and returns {"task": "namespace.task", "args": [event]} or None. The signing credential SENTRY_WEBHOOK_SECRET is read inside verification unless provided explicitly. Importing this module does not register tasks. Signature checks use the raw body; live delivery remains in the testing backlog.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

render_lab_tasks_sentry-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

render_lab_tasks_sentry-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file render_lab_tasks_sentry-0.1.0.tar.gz.

File metadata

  • Download URL: render_lab_tasks_sentry-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for render_lab_tasks_sentry-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dfc1bb76aad2830529a37382dcab824e64e5c6d9d74c8d236e90d68e94572dee
MD5 cba871a54a8462d32110611f1b47267c
BLAKE2b-256 c0bbfacfae3431048f248e6261a0f8dbbf228ca4aafd9c711c9d073a6a6d5482

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_tasks_sentry-0.1.0.tar.gz:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file render_lab_tasks_sentry-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for render_lab_tasks_sentry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff62c5b378a9b02f32a125f15bdd900e6708f0ce9fe80f97486a8375dff85e0
MD5 551c64048e1fb9a5f0e0522638b47bde
BLAKE2b-256 a5bd7707343a0225f16f5cf96044ab9c1281ab6f4773e88c1f54b8bd4f330c77

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_tasks_sentry-0.1.0-py3-none-any.whl:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page