Skip to content

refactor: use trawl for the shared database, schema and GitHub code - #84

Open
devodii wants to merge 9 commits into
mainfrom
refactor/use-trawl
Open

devodii wants to merge 9 commits into
mainfrom
refactor/use-trawl

Conversation

@devodii

@devodii devodii commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

What this does

  • Installs trawl from its release wheel (public, so CI and Docker need no hosting).
  • Pool, SQL loader, schema connection, data-loss guard, manifest and the pgschema wrapper now come from trawl. db_utils is one small file.
  • The forked GitHub client, search slicing, outage patience and repo reference parsing are deleted. Tokens now also split on spaces and new lines.
  • sqlfluff uses the plugin that ships in trawl.
  • Tests for the moved code live in trawl. About 900 lines gone from src and tests.

Checked

  • 167 tests pass, ruff and sqlfluff pass, CI is green.
  • hackproof schema verify against the local database runs through trawl and says it is in sync.

Not checked yet

  • The Docker build and the Railway deploy (deploy jobs are skipped on PRs). The wheel is a normal URL dependency in uv.lock, so it should build as before.
  • Imports can be tidied further once trawl is published.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hackproof Ready Ready Preview Nov 24, 2026 5:12pm UTC

Request Review

@devodii devodii changed the title Use trawl for the shared database, schema and GitHub code refactor: use trawl for the shared database, schema and GitHub code Nov 24, 2026
@devodii
devodii marked this pull request as ready for review November 24, 2026 17:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant