worker: load credentials on demand
Open
Nobody has claimed this yet.
DevX
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 17
Description
Right now, the worker will pre-load all required credentials for a workflow before execution starts.
This gives us two problems:
- It doesn't work very well with keychain credentials
- Oauth credentials could expire by the time the worker comes to execute the step that needs them (eg, the token is generated with a 10 minute lease, and the step that needs it runs 15 mins later)
I've also never really liked the idea that we load credentials that may never get used. Feels ickly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the worker path that pre-loads credentials before workflow execution, then trace how credentials are resolved for each step. Done means credentials are loaded only when a step needs them, including keychain credentials and OAuth credentials that may expire during a workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100