temporalio / temporalio/temporal

Embed schema content within schema tool

Open
#2,059 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

We should include the schema content within schema tool using go:embed

ref: https://github.com/temporalio/temporal/blob/08b4871/schema/sqlite/setup.go#L48

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

Start with schema/sqlite/setup.go around the referenced line 48 and inspect how the schema tool currently obtains its content. Use Go's go:embed support so the schema content is included within the tool, then verify that the tool uses the embedded content as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
database
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.