Skip to content

Point branch references at main instead of master - #598

Merged
michel2323 merged 1 commit into
mainfrom
ci-badge-main
Jul 30, 2026
Merged

Point branch references at main instead of master#598
michel2323 merged 1 commit into
mainfrom
ci-badge-main

Conversation

@michel2323

@michel2323 michel2323 commented Jul 30, 2026

Copy link
Copy Markdown
Member

The default branch was renamed master -> main between 2026-05-16 02:26 UTC and 2026-05-17 02:30 UTC, but the in-repo references to it were never updated. Four of them are still stale.

Buildkite badge (README.md)

The badge requested ?branch=master, so Buildkite rendered the last build that branch ever saw — a stale failure — even though main is green:

badge URL renders
…svg?branch=master (before) failing
…svg?branch=main (after) passing

Codecov badge (README.md)

Same failure mode: pinned to /branch/master/, which no longer receives coverage uploads.

CI and Documentation workflows

.github/workflows/{ci,docs}.yml trigger on push: branches: [master]. Since that branch no longer exists, neither workflow has run on a push to the default branch since the rename — only pull_request and scheduled runs were still firing.

Note that this fix only takes effect once merged, since GitHub reads on: from the branch being pushed.

Documenter

docs/make.jl had devbranch = "master", so the dev docs were not being deployed from main.


For reference, .github/workflows/Format.yml also contains master, but that is part of an upstream Runic.jl raw URL and is intentionally left alone.

The default branch was renamed master -> main on 2026-05-16, but the
in-repo references to it were never updated. Consequences:

- The Buildkite badge requested ?branch=master, so it rendered the last
  build that branch ever saw -- a stale failure -- while main was green.
  Same for the Codecov badge.
- The CI and Documentation workflows trigger on push to master, so
  neither has run on a push to the default branch since the rename.
  Only pull_request and scheduled runs were still firing.
- Documenter deployed dev docs from a devbranch that no longer exists.
@michel2323
michel2323 enabled auto-merge (squash) July 30, 2026 15:51
@michel2323
michel2323 merged commit f91caa8 into main Jul 30, 2026
5 checks passed
@michel2323
michel2323 deleted the ci-badge-main branch July 30, 2026 19:32
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.11%. Comparing base (cefc118) to head (fb8ceac).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #598   +/-   ##
=======================================
  Coverage   79.11%   79.11%           
=======================================
  Files          50       50           
  Lines        3376     3376           
=======================================
  Hits         2671     2671           
  Misses        705      705           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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