Skip to content

Run CI on main, and record that releases come from it - #9

Merged
sanketsahu merged 1 commit into
mainfrom
chore/ci-on-main
Aug 3, 2026
Merged

Run CI on main, and record that releases come from it#9
sanketsahu merged 1 commit into
mainfrom
chore/ci-on-main

Conversation

@sanketsahu

Copy link
Copy Markdown
Collaborator

Follow-up to renaming tinbase-npmmain and making it the default branch.

CI has never run on this fork's work

Both workflows triggered only on master:

on:
  push:
    branches: [master]
  pull_request:
    branches: [master]

Every change since the fork diverged landed on tinbase-npm, so bun typecheck, bun test and CodeQL have never run on any of it. Everything from 3.3.0 through 3.5.0 was verified by local runs only. A stale default branch is exactly what hides this: nothing looks broken, because nothing looks at all.

Both now trigger on main.

Verified before flipping it

Enabling CI on a branch it has never run against can just paint the default branch red, so I checked the steps first:

bun typecheck  -> exit 0
bun test       -> exit 0   (1266 pass, 22 skip)

Why master is dropped from the triggers rather than kept alongside

master is 14 commits behind and carries name: "pg-mem", version: 3.0.14 and the upstream repository URL — the pre-fork identity. Building it would test something nobody ships, and it would produce failures unrelated to any change under review.

Upstream is tracked through the upstream remote (oguimbal/pg-mem), which is the usual arrangement for a fork that publishes under its own name rather than one whose purpose is contributing back. master is vestigial now; it can be deleted whenever you like, though it costs nothing to leave.

The CHANGELOG header is updated to match, since it documented the old branch layout.

Note

#8 is still open and also targets main now — the rename retargeted it automatically. It carries the positional ORDER BY fix, which is the one piece of 3.5.0 not yet on the default branch.

Both workflows triggered only on `master`, while every change since the fork
diverged has landed on what was `tinbase-npm`. So `bun typecheck` / `bun test` and
CodeQL have never run on any of it - the 3.3.0 through 3.5.0 work was verified
only locally, and the default branch being stale is what hid that.

With `tinbase-npm` renamed to `main` and made the default, both now trigger there.
Verified the steps pass before pointing them at the default branch, so enabling
this doesn't immediately paint it red: typecheck exit 0, test exit 0.

Also drops `master` from the triggers rather than keeping both. It sits 14 commits
behind with the unscoped package name, version 3.0.14 and the upstream repository
URL, so building it would test something nobody ships. Upstream is tracked through
the `upstream` remote instead, which is the usual arrangement for a fork that
publishes under its own name rather than one that contributes back.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sanketsahu
sanketsahu merged commit 4e96c11 into main Aug 3, 2026
0 of 2 checks passed
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