Temporal Adapter (backend/adapters/temporal)
Temporal integration for TaskBridge backend extension points.
This package implements TaskExecutor without introducing Temporal dependencies
into backend/taskbridge-fastapi.
Scope
TemporalTaskExecutor.submit_task()-> Temporalstart_workflowTemporalTaskExecutor.request_cancellation()-> workflowcancelorsignal- mapping helper from Temporal workflow updates to
TaskEventshape
Durable vs ephemeral boundaries
Temporal should keep durable workflow state:
- workflow variables/checkpoints
- retries and failure history
- orchestration decisions and domain progress internals
TaskBridge transport should keep ephemeral client stream events:
TASK_PROGRESSandTASK_MESSAGEfor UI feedbackTASK_COMPLETED/TASK_FAILED/TASK_CANCELLEDterminals
Guidance:
- emit progress events only at meaningful checkpoints (avoid noisy per-step spam)
- keep payloads compact and client-facing
- keep heavy domain state in Temporal workflow storage, not in event stream payloads
Configuration
Use TemporalExecutorConfig:
task_queueworkflowworkflow_id_prefixcancellation_mode(cancelorsignal)start_timeout_secondsworkflow_input_mapper(host-controlled mapperTaskRecord -> workflow input)
Local checks
From this directory:
uv sync --group dev
uv run ruff check
uv run ruff format --check
uv run pytest
Metadata
Release files for taskbridge-temporal-adapter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| taskbridge_temporal_adapter-0.1.0.tar.gz | 47.7 kB | Without provenance | Details for taskbridge_temporal_adapter-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taskbridge_temporal_adapter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for taskbridge_temporal_adapter-0.1.0-py3-none-any.whl |
Total release size: 52.3 kB
Release files / taskbridge_temporal_adapter-0.1.0.tar.gz
| Download URL | taskbridge_temporal_adapter-0.1.0.tar.gz |
|---|---|
| Size | 47.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6987b200a04214801e6815178b87119455e4fbbbc6cce059c23d62dc0ad74871
|
|
BLAKE2b-256 checksum How to use checksums |
e3e8d74265d708fa02a63dffe2fcd417e572a6c51fd8d5776a82ac808c697f3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / taskbridge_temporal_adapter-0.1.0-py3-none-any.whl
| Download URL | taskbridge_temporal_adapter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a84fc68ff34f3b77b33141fe67796ec8500fd5b7504d427b7696941788b5ea83
|
|
BLAKE2b-256 checksum How to use checksums |
15acef5842fe65163165c461761d3e6a71d982fb5b1269b7d3c6492362d2f1a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for taskbridge-temporal-adapter 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.