Skip to content

feat: add stricter API contract for runtime base#158

Merged
hallvictoria merged 5 commits intodevfrom
hallvictoria/add-package-name-getter
May 7, 2026
Merged

feat: add stricter API contract for runtime base#158
hallvictoria merged 5 commits intodevfrom
hallvictoria/add-package-name-getter

Conversation

@hallvictoria
Copy link
Copy Markdown
Contributor

@hallvictoria hallvictoria commented May 5, 2026

  • Add package name getter method for runtime base
  • RuntimeBase class now enforces the same API contract as the V2 runtime, requiring all extending runtime classes to implement:

Event Handlers (async):

  • worker_init_request
  • functions_metadata_request
  • function_load_request
  • invocation_request
  • function_environment_reload_request

Threadpool Management:

  • start_threadpool_executor
  • stop_threadpool_executor
  • get_threadpool_executor

Context Tracking:

  • invocation_id_cv property

Version

  • version.VERSION

@hallvictoria hallvictoria marked this pull request as ready for review May 5, 2026 17:07
@hallvictoria hallvictoria changed the title feat: add package name getter method for runtime base feat: add stricter API contract for runtime base May 6, 2026
@hallvictoria hallvictoria merged commit f8cd59f into dev May 7, 2026
45 checks passed
@hallvictoria hallvictoria deleted the hallvictoria/add-package-name-getter branch May 7, 2026 15:42
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.

2 participants