Repository navigation
A build finished empty on purpose says why, and where its baseline came from (sc-8866) - #44
Open
ndbroadbent wants to merge 3 commits into
Open
ndbroadbent wants to merge 3 commits into
ndbroadbent wants to merge 3 commits into
Conversation
…ine came from (sc-8866): finalize takes empty_reason (REST, MCP finalize_build, CLI build finalize --empty-reason; implies allow_empty; builds.empty_reason, migration 000042); the summary line (GitHub check, build page, get_build) reads 'No snapshots this run (inputs unchanged): baseline from #N'; the CircleCI guide explains cache-skipped jobs; CLI 0.2.13; plugin 0.1.39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A CI run that skips a suite's jobs (DocSpring's cache markers on a docs-only push, DocSpring PR 1452) finishes that suite's build with
--allow-empty. The build passes, but its check and page only said "0 unchanged, 0 changed…", which reads like something broke.finalizetakesempty_reason(REST, MCPfinalize_build, CLIbuild finalize --empty-reason). It impliesallow_empty, and is stored inbuilds.empty_reason(migration 000042), 1 to 200 characters.get_build) of a build that sent nothing on purpose reads "No snapshots this run (inputs unchanged): baseline from #N". Without a reason it reads "No snapshots this run: baseline from #N", and with no base, "no baseline yet".--allow-emptyuntil 0.2.13 is out).empty_reason.--empty-reasonin the commit after the release, with theVISUALCI_VERSIONlines.Tests:
a_build_empty_on_purpose_says_why_and_where_its_baseline_came_from(a subset build carries everything from its ancestor, concludes unchanged, and its summary line names the reason and the base), andfinalize_takes_a_reason_for_having_no_snapshots(REST). Full workspace: 264 passed on docspring-dev; clippy and fmt are clean.