kodadot / kodadot/workers

Worker should have only single package

Open
#72 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
11
Forks
14
PR merge metrics
No merged PRs in 30d

Description

https://developers.cloudflare.com/workers/wrangler/commands/#publish

currently we have two same workers, but one for prod and one for beta
it would be nice to unify this codebase.

Task extend our action to take one more parameter that would define is beta ? true false
in the code do something like npx wrangler publish --name {name}{beta ? '-beta' : ''}

???
Profit

Contributor guide

No contributing guide indexed for this repository

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

Start by inspecting the deployment action and the current prod and beta Worker configuration, then read the Wrangler publish command linked in the issue. Trace how the Worker name is passed to publishing and verify that one action can select the beta suffix. Done means the duplicate Worker code is unified while both prod and beta names publish correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, cloud
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.