Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Deployment-mode fallback and initialization lifecycle issues can bypass execution restrictions or prevent valid tasks from running successfully.
3 open issues
What changed in this PR
Adds registered Flash task execution to the shared runtime bootstrap, using deployed artifacts and JSON arguments while preserving source-based development execution.
Changes:
- Loads registered tasks and runs initialization before reporting readiness.
- Adds production request restrictions, execution timeout caps, and pod-authenticated cleanup.
- Documents deployed task behavior and adds lifecycle and transport tests.
| File | Description |
|---|---|
tests/test_deployed_task.py |
Tests deployment bootstrap, JSON execution, readiness, timeouts, and cleanup. |
src/runpod_sdk_runtime/task/runner.py |
Adds production execution routing, readiness handling, timeout caps, and task cleanup authentication. |
src/runpod_sdk_runtime/task/deployed.py |
Loads registered task handles, initializes them, and validates JSON requests. |
src/runpod_sdk_runtime/executor.py |
Supports prepared functions and strict JSON result serialization. |
src/runpod_sdk_runtime/bootstrap.py |
Adds task runtime selection, identity validation, and bootstrap error reporting. |
README.md |
Documents deployed task configuration, execution, and cleanup. |
Review effort: Balanced
deanq
reviewed
Oct 23, 2026
deanq
reviewed
Oct 23, 2026
deanq
approved these changes
Oct 29, 2026
KAJdev
deleted the
zeke/con-1833-secp1-high-developer-rw-api-key-injected-into-every-deployed
branch
October 30, 2026 00:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Part of CON-1833.
Bootstrap registered tasks from the environment's artifact and execute them with JSON arguments. Readiness waits for initialization, execution caps cannot be extended, and self-cleanup uses the pod's runtime credential. Dev execution remains source-based.
Release the runtime package and task images before runpod-python#644. Task lifecycle authorization requires RunPod#6686.