Skip to content

docs📝: which branches are lines of development, and which are not - #138

Merged
wenjianzhang merged 1 commit into
mainfrom
docs/branch-map
Aug 22, 2026
Merged

docs📝: which branches are lines of development, and which are not#138
wenjianzhang merged 1 commit into
mainfrom
docs/branch-map

Conversation

@wenjianzhang

Copy link
Copy Markdown
Member

Three of the four remote branches are abandoned, and the branch names do not say so. Two of them are the same commit under different names; one is from 2024 against a layout that no longer exists.

Worth writing down because it was not obvious from the outside: release/v1.7 is an ancestor of main, not a fork. Nothing on v1 is missing from v2, so fixes only ever move one direction. I assumed otherwise for a while and looked for v1-only fixes that could not exist.

The up branch is the interesting one. It reached the same conclusion about claim types that #136 reaches — typed accessors, including one for identities beyond float64 — in 2022, and it never shipped. Its own version discards the result of an fmt.Errorf.

release/v1.7 is an ancestor of main, not a fork, so fixes only ever move
one way. The other three remote branches are abandoned; two of them are
the same commit under different names, and one is from 2024 against a
layout that no longer exists.
Copilot AI lite review requested due to automatic review settings August 22, 2026 06:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents branch lineage, abandoned remotes, and ancestry guidance.

Changes:

  • Clarifies main and release/v1.7 history.
  • Catalogs abandoned branches.
  • Adds branch ancestry guidance.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/architecture/map.md

| branch | last commit | what it is |
| --- | --- | --- |
| `up` | `2024-01-08` | Thirty-seven refactors and dependency bumps against the pre-v2 layout. Its one idea worth having — typed claim accessors, including one for identities beyond float64 — is in `jwtauth` now, arrived at independently four years later. Its own `claims.go` discards the result of an `fmt.Errorf`. |
Comment thread docs/architecture/map.md
Comment on lines +84 to +85
Everything else on the remote is abandoned. Read the SHA before assuming a
branch name means what it says:
Comment thread docs/architecture/map.md
Comment on lines +94 to +95
neither line. Ahead of `main` alone means it was cut from `main`; ahead of
`release/v1.7` alone means it predates the v2 split.
@wenjianzhang
wenjianzhang merged commit 11d5c08 into main Aug 22, 2026
6 checks passed
@wenjianzhang
wenjianzhang deleted the docs/branch-map branch August 22, 2026 06:58
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.

2 participants