Skip to content

chore: make main the shipping branch - #5

Merged
Marius1311 merged 1 commit into
mainfrom
chore/branch-model
Aug 27, 2026
Merged

chore: make main the shipping branch#5
Marius1311 merged 1 commit into
mainfrom
chore/branch-model

Conversation

@Marius1311

Copy link
Copy Markdown
Member

Retargets the tooling now that main carries the fork instead of mirroring upstream (#3), and
tightens FORK.md to match.

release.yml — builds on pushes to main instead of integration, and gains
workflow_dispatch (now possible: the file is on the default branch). The publish step also
requires event_name == 'push', because the dispatch ref picker offers tags and re-creating an
existing release would fail only after a full client build.

.pre-commit-config.yaml — drops no-commit-to-branch. Upstream guards main because theirs
is a trunk nobody commits to; ours is the branch we merge into. It is always_run, so it also made
pre-commit run --all-files fail outright on main. Adds autoupdate_schedule: quarterly:
upstream runs pre-commit.ci too, and two bots bumping the same rev: pins monthly would make this
file conflict at every upstream merge.

.github/dependabot.yml — new. test.yml is our merge gate but is upstream's file, pinning
actions/setup-python@v3 and floating @v7 tags.

FORK.md — 175 → 149 lines. Rewrites the branch model, replaces the integration rebuild
recipe with Merging upstream (merge commit, never squash — with the reason) and Landing a
change
, adds rerere, scopes the "never delete a release tag" warning to the two orphaned tags,
records that e2e is flaky, and removes duplicated build/test instructions and the outdated
docformatter note.

Depends on nothing; #4 (ruff formatting) is independent and touches disjoint files.

Retargets the tooling now that main carries the fork instead of mirroring
upstream, and tightens FORK.md to match.

- release.yml builds on pushes to main, not integration, and gains
  workflow_dispatch. The publish step now also requires event_name == push:
  the dispatch ref picker offers tags, and re-creating an existing release
  fails only after a full client build.
- Drop the no-commit-to-branch hook. Upstream guards main because theirs is
  a trunk nobody commits to; ours is the branch we merge into. The hook is
  always_run, so it also made `pre-commit run --all-files` fail on main.
- Pin pre-commit.ci to a quarterly autoupdate. Upstream runs it too, and two
  bots bumping the same revs monthly would conflict at every upstream merge.
- Add dependabot for github-actions: test.yml is our merge gate but is
  upstream's file, pinning actions/setup-python@v3 and floating @v7 tags.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQnnW5jCKXnefXA89eBDoL
@Marius1311
Marius1311 merged commit 592d544 into main Aug 27, 2026
1 check passed
@Marius1311
Marius1311 deleted the chore/branch-model branch August 27, 2026 07:01
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