spinframework / spinframework/spin

feature: "startup" entrypoint

Open
#604 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
6.5k
Forks
310
Avg merge
1d 20h
Merged PRs (30d)
24

Description

@ecumene is looking for a way to make an external service registration request on Spin app startup.

This might be a reasonable feature to add to all trigger types, perhaps as a separate optional func export, e.g. spin_start: func(). Need to discuss how it might fit into a production environment though; would it trigger just once at "deploy time"?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked PR #521 discussion and start from the proposed spin_start: func() entrypoint; no source file or test is named. Clarify whether it applies to all trigger types and whether it runs once at deploy time, then establish the production behavior that would define completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.