Drop postgres requirement for easier adoption
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- bun, postgresql, sqlite, typescript
- Domínio
- database
Direção de pesquisa
Start with the existing Postgres adapter and the storageContract tests, then review how Bun's SQL handles SQLite transactions. Add a SQLite storage adapter for single-user use and ensure concurrent transactions are handled one at a time. Done means the adapter passes storageContract alongside the existing adapters.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Awesome project! While it's in early stages I think this project is most likely to be used single player. With that said making a sqlite adapter I think would be worthwhile.
here's a rough plan from claude
Add a SQLite storage adapter for single-user local use. It seems to fit
the current design:
- One process already owns writes (the writer lease plus the global advisory
lock), which is SQLite's normal mode. - The Postgres adapter uses Bun's
SQL, which also acceptssqlite://URLs.
RETURNING,ON CONFLICT, JSON functions and BLOBs work there. storageContractalready runs against two adapters, so a third could be
proven against it.
The main gotcha: Bun's SQLite mode doesn't queue concurrent sql.begin()
calls, so the adapter would need to run transactions one at a time. With a
simple promise queue, 20 concurrent transactions all succeeded; without it,
19 failed.
- Linguagem predominante
- TypeScript
- Estrelas
- 392
- Forks
- 22
- Merge médio
- 1d 7min
- PRs com merge (30d)
- 203
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de githubnext/chopin
-
documentation triage/human-response
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
githubnext/chopin#149 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
enhancement triage/human-response
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
githubnext/chopin#165 ·
Mantenedores costumam responder em até 1 dia
-
enhancement triage/human-response
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
githubnext/chopin#164 ·
Mantenedores costumam responder em até 1 dia
-
triage/human-response
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 38/100
githubnext/chopin#163 ·
Mantenedores costumam responder em até 1 dia
-
triage/human-response
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
githubnext/chopin#162 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de githubnext/chopin
Issues semelhantes
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
openclaw/openclaw#168089 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
✨ enhancement needs-discussion
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferenceTalvez já em andamento @alok-108 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
microsoft/playwright#43263 ·
Mantenedores costumam responder em até 1 dia
-
area:studio type:security
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue Stellar Wave trivial
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
StellarCanary/ProtocolCanary-Action#331 ·
Mantenedores costumam responder em até 1 dia