• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpnp / 46927879723
85%

Build:
DEFAULT BRANCH: master
Ran 02 Dec 2026 06:06PM UTC
Jobs 1
Files 274
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Dec 2026 04:41PM UTC coverage: 84.557%. Remained the same
46927879723

push

github

web-flow
Squash the gh-pages history weekly (#3211)

`gh-pages` holds the per-PR docs previews. It has 9,029 commits, and
GitHub reports the repository at about 1.4 GB, nearly all of it this
history (`master` is about 34 MB). The weekly prune from #3146 removes
the previews of closed PRs from the current tree, but their files stay
in the history. CI checkouts no longer download it (they are blobless
since #3143), but a plain `git clone` fetches every branch and so
downloads all of it.

This PR adds a `squash` mode to `.github/scripts/update_gh_pages.sh`,
which replaces the branch with one commit with no parent, holding the
current site; its message names the old tip. `prune-pr-docs.yml` runs it
after `prune` every week, so the history never holds more than a week of
previews. The workflow and its job are renamed to "Prune gh-pages".

How it stays safe and cheap:
- The push carries `--force-with-lease` on the tip the commit was built
on. If another job pushes between the clone and the push, the lease
fails and the squash is retried on the new tip, so that job's commit is
kept. A preview publish that races a squash is rejected as before and
rebuilt on the squashed tip. Every mode now pushes with the lease; for
`publish` and `remove` it matches the fast-forward check they had.
- The squash pushes a thin pack. A non-thin pack leaves out only the
objects reachable from the new commit's parents, so with no parent it
would fetch and send every blob of the site. A thin pack from the
script's shallow clone counts the remote tip's tree as present, so the
push sends a single object. The other modes keep `--no-thin`.
- A branch that is already a single commit is left alone.
- `gh-pages` has no branch protection or ruleset, so the workflow token
can force-push.

Tested locally against bare repos that allow blobless clones like
GitHub:
- a squash leaves one commit with the same tree, a second run pushes
nothing, and `publish` and `remove` work on top of a squashed branch;
-... (continued)

1906 of 3156 branches covered (60.39%)

Branch coverage included in aggregate %.

30815 of 35541 relevant lines covered (86.7%)

39377.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46927879723.1 02 Dec 2026 06:06PM UTC 274
84.56
GitHub Action Run
Source Files on build 46927879723
  • Tree
  • List 274
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46927879723
  • 4f673a2d on github
  • Prev Build on master (#46905200687)
  • Next Build on master (#46955005709)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc