Open source

Tools we built for our own engineering and published on GitHub as open source, free for anyone to use, change and ship.

Why we publish

Most of these started as a fix for a problem we hit building and running eNeighbor: a CI runner that looked healthy but had stopped taking jobs, a scheduled workflow that ran hours late, a deploy that could fail halfway through. When we hit a problem like that, other teams are almost certainly hitting it too. Publishing the fix costs us little and might save another engineer a week.

We also build on a great deal of open source, from Flutter and Bazel to Homebrew and SQLite. Publishing what we make in return is a small way of giving back.

And code that anyone can read gets better. If we got something wrong, or there is a simpler way to do it, we would rather hear about it.

GitHub Actions and CI runners

local-cache
A drop-in replacement for actions/cache on self-hosted runners that keeps caches on the machine's own disk instead of downloading them from GitHub on every run.
local-mutex
Wraps a command in a kernel file lock, so several runners on one machine stop corrupting a shared resource such as a CocoaPods cache or a tool's self-update.
github-cron-trigger
Runs each scheduled slot of a GitHub Actions workflow on time and exactly once, with GitHub's own schedule kept as the backstop.
gh-transient
Tells a gh CLI call that GitHub failed to serve from one GitHub answered, and retries only the reads that were the first kind.
runner-liveness-watchdog
Restarts a self-hosted runner service on Linux that has stopped taking jobs while still looking healthy.
runner-pause-lease
Takes a self-hosted runner host out of job routing for a bounded window, leaving its running jobs alone, and puts it back by itself when the window ends.
xctest-boot-mutex
Serializes iOS simulator boots across CI runners sharing one Mac, so parallel xcodebuild test runs stop taking down CoreSimulatorService.
shell-trap-lint
Finds shell EXIT traps that can let a script that stopped short still exit 0, or let a failed cleanup fail a passing test.
ci-baseline
One action that runs the checks below, plus actionlint, zizmor and shellcheck over every shell file, so a repository enrolls in all of them with one CI step.
ascii-lint
Fails on any non-ASCII character in a repository's tracked text, and names it, so an invisible no-break or zero-width space cannot slip through review.
hosted-runner-lint
Fails on any workflow job that would run on a self-hosted or larger runner, the machines a public repository's fork pull requests must never reach.
action-run-lint
Fails on any composite action step whose shell is written inline in action.yml, where no linter reads it, instead of in a script file shellcheck checks.
actions-silent-lint
Fails on a workflow_run trigger that names no workflow, which never fires, and on a ${{ }} expression an action manifest cannot hold: one in a field GitHub does not evaluate, or one naming a context the field does not have.

Bazel

rules_bun
Brings a frozen Bun workspace into Bazel and translates bun.lock into one build unit per package, so a dependency bump rebuilds only what it changed.
rules_archive_store
Declares a file-heavy tree, such as an SDK or an npm closure, as a single archive that each remote worker expands once and reuses.
rules_host_cache_key
Keys Bazel action results by the host tools they borrow, so a new Xcode or Homebrew package stops Bazel from replaying a stale cached result.
rules_gradle_offline_maven
Fetches every file a Gradle build's verification metadata pins and lays them out as an offline Maven repository, so Bazel can run that Gradle build with declared, cached inputs.

Cloudflare Workers

cloudflare-deploy-toolkit
Deploy a stateful Worker while it serves traffic. Check the serving version before applying compatible migrations and promoting the new Worker. Includes deployment checks and a Wrangler test harness.
d1-follow
Keeps a Worker's Durable Objects in the same location as its D1 database's primary, and follows the primary when it moves.
d1-query-plan-gate
Test-suite checks that hold D1 query plans to what a reviewer has read, so a schema change cannot quietly change how a query runs.
d1-typed-query
Type-checked SQL for D1: queries written with a typed builder and frozen to plain SQL at build time, so the builder never ships in the Worker.
sqlite-schema-gate
Checks for a SQLite or D1 schema and its migrations: table-layout rules read from the applied schema, a migration lint for drops and deletes that silently lose rows, and a fence for a seed file applied on every deploy.
d1-copy
Copies a D1 database into an empty one, or restores an export into one, then exports the copy back and compares it row by row, exiting non-zero on any difference.
app-store-jws
Verifies App Store signed notifications and transactions with WebCrypto alone, for Workers and other runtimes without Node's crypto module.
worker-lazy
Deferred module loading for Workers: a lazy() primitive that loads a module on first use and adds no await once it is loaded, plus ESLint rules that keep a Worker's startup module graph small.
workers-logs-reader
Reads a window of Workers Observability events to exhaustion from Cloudflare's telemetry query API, healing sampled pages and transient failures under a deadline, and says whether what came back is complete.

Accessibility

static-a11y-check
Runs axe over every page of a built static site, then checks color contrast again with links and controls forced into their hover and focus states. This site is checked with it.
flutter-a11y-guidelines
Extra accessibility guidelines for Flutter widget tests: AAA text contrast, contrast in hover, press and focus states, and semantics checks.

Apps and localization

android-page-align
Checks that every native library in an Android APK or app bundle can load on devices with 16 KB memory pages, and names each one that cannot.
stale-translations
Finds translations whose source text was reworded after they were translated, from a small file of fingerprints kept beside the catalogs, so a translation that quietly says the old thing gets re-checked.
curlew-sqlite
One pinned official SQLite release for iOS and Android: a CocoaPods pod that compiles the verified amalgamation and an Android module over sqlite.org's prebuilt engine, with a runtime source-ID check.
sqlite-store-gen
A generator that turns one declarative spec into a typed SQLite storage layer in Kotlin and Swift, over curlew-sqlite, with the migration ladder replayed and checked at generation time.

macOS

brew-cooldown
Conservative Homebrew upgrades: a new release waits out a cooldown before it installs, while a verified security fix goes through sooner.
apfs-dedupe
Reclaims disk space by replacing duplicate files with APFS clones, checking the bytes again right before each crash-safe swap.
macos-footprint-watchdog
Restarts a macOS daemon whose memory has run away, fseventsd among them, and confirms its replacement is healthy.

Get involved

Some of these tools are new, and each README says how settled it is. We'd like to hear how they work for you:

Everything is in the curlewlabs-com organization on GitHub. Jeffrey is jeffwall-curlewlabs there.