Skip to content

[CI][Bench] Publish to the snapshots branch, not over the repository - #2009

Merged
lcy-seso merged 1 commit into
tile-ai:mainfrom
lcy-seso:bench/nightly-data-branch
Aug 30, 2026
Merged

[CI][Bench] Publish to the snapshots branch, not over the repository#2009
lcy-seso merged 1 commit into
tile-ai:mainfrom
lcy-seso:bench/nightly-data-branch

Conversation

@lcy-seso

Copy link
Copy Markdown
Collaborator

Follows #2008. Pairs with tile-ai/TileOPs.github.io#40; either order is safe.

Problem

The publish replaces everything in the branch it writes. Pointed at main, the first run deleted TileOPs-nightly's README and licence — those belong to whoever maintains that repository, not to this job.

Change

The snapshot goes to a snapshots branch of its own: one commit per run, three files, and everything not in the payload deleted there — which is what keeps a stale test_results.xml from passing for tonight's. main holds what the repository says about itself, and nothing publishes over it.

The branch already carries the snapshot from run 33289823876, and TileOPs-nightly's main has been restored.

@lcy-seso
lcy-seso requested review from a team and a lite review from Copilot August 30, 2026 04:13

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the ci CI/CD pipeline changes label Aug 30, 2026
The publish replaces everything in the branch it writes, which on `main` meant
the first run deleted TileOPs-nightly's README and licence. Those belong to
whoever maintains that repository, not to this job.

The snapshot goes to a `snapshots` branch of its own: one commit per run, three
files, and everything not in the payload deleted — which is what keeps a stale
test_results.xml from passing for tonight's. `main` is left to hold what the
repository says about itself.
@lcy-seso
lcy-seso force-pushed the bench/nightly-data-branch branch from b8f5ae7 to 120f70a Compare August 30, 2026 04:17
@lcy-seso
lcy-seso merged commit 5368bf9 into tile-ai:main Aug 30, 2026
15 checks passed
@lcy-seso
lcy-seso deleted the bench/nightly-data-branch branch August 30, 2026 04:52
lcy-seso added a commit to tile-ai/TileOPs.github.io that referenced this pull request Aug 30, 2026
…ents (#40)

Pairs with tile-ai/TileOPs#2009. Either order is safe: the `snapshots`
branch already holds the snapshot from run 33289823876.

## Read from the snapshots branch

The nightly publishes by replacing everything in the branch it writes.
Pointed at `main`, the first run deleted TileOPs-nightly's README and
licence — those belong to whoever maintains that repository. It now
writes a `snapshots` branch, and this reads from there: same three
files, one commit per run.

## An op's heading is its name

The heading carried `(3 workloads · ✅)`, and the heading is what the
page's table of contents shows — 189 entries, 88 of them ending in a
tick that says the op passed, which is what a reader assumes anyway. The
workload count is the length of the list immediately under it.

What survives is the mark that warns: ❌ where the correctness run
failed, ⏭️ where it was skipped. On the last snapshot that is no op at
all. The golden pages carry the change, and the fixture covers all three
cases.

## Say each design decision once

The comments here argue with themselves: nearly every one states a
decision, restates it as the case against the alternative, then names
the symptom that alternative produced. Compressed, not deleted — every
comment kept was tested against one question: would removing it let
someone undo the decision by accident?

`workload_shape`'s module docstring also stops describing a merge that
does not happen: templates are read only where no shape is given
outright, all or nothing, which is what the code has always done.

847 comment lines to 722; the stylesheet from 421 to 340.

## Checks

`pytest`, `ruff`, `stylelint`, `mkdocs build` pass. Rendered against the
live branch: 189 ops, 1139 workloads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD pipeline changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants