Repository navigation
Conversation
The workflow map's promote menu named each promotion once, cut to about 25 characters, and only said who promoted it last. On workflows that use the root pipeline as a launcher (29 promotions, up to 12 runs of one promotion) the menu could not tell the runs apart and most names were cut where they differ. The menu is now 560 px wide, opens with at least 60% of the window to use, and wraps names instead of cutting them. Under each promotion it lists its runs, newest first: status, name (with the attempt number), the parameters the run's name does not already say, duration and age. Clicking a run shows it on the map. The filter also matches run names and parameter values. The "Not promoted yet" and "who promoted last" notes give way to the run list; failed, starting and blocked notes stay. The map JSON gains each pipeline's parameters (the env vars it was promoted with), which the old workflow page already shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An open block on the workflow map gave each job name about 20
characters and cut the rest. Matrix jobs are named "<job> - VAR=value",
so every row of a matrix read the same ("Sem Version - TEST=...") and the
value that tells them apart was the part that got cut.
Jobs of one matrix now sit under a small heading with their shared name
(and the variable names, when every job sets the same ones), and each
row shows only the values: "gcc", "tests/compiler.bats · native". A
block whose rows still do not fit grows from 260 to 420 px, and a row
that is still too long wraps to up to three lines. Row heights are
measured from the text, so the layout keeps its blocks in place and
focusing a job still lands on its row. The full job name stays in the
row's tooltip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A failed pipeline card, block or job looked like a passed one apart from a 16 px status icon and a thin bar, so at the zoom a big workflow fits in (25-55%) the one failure among many passes was hard to spot. Failed pipeline cards and blocks (collapsed or open) now get a red outline and a light red background, failed job rows a red tint, and the edge that leads to a failed pipeline or block is drawn red. Only CSS classes and styles change; layout and sizes stay the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On big workflows "Fit workflow" and the first view squeezed everything into the window: a 122-job workflow opened at 45%, a workflow with 27 promotions at 25%, where names and durations are too small to read. The mouse wheel zoomed, so scrolling down a tall map shrank it further instead of moving along it. Fit now keeps the zoom at the larger of the whole-workflow fit and the width fit capped at 75%, and top/left-aligns a workflow that does not fit the window, so the start of it is in view and the rest is a scroll away. The wheel pans (pinch or Cmd+wheel still zooms). The fit box is built from the laid-out pipeline boxes. The whole-workflow overview stays on the corner fit button and the minimap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A finished pipeline opened with only its failed blocks expanded, so on a small pipeline every job name and duration was one more click away. A pipeline with up to 20 jobs now opens with all its blocks expanded, the after-pipeline block included. Bigger pipelines keep the summary view with the failed blocks open, and a pipeline that is still running keeps opening everything. 20 jobs is the most that still fits one screen at 100% when they all sit in one block. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The control that expands or collapses all blocks was an unlabelled icon at the end of a pipeline's header, away from the blocks it changes and easy to miss. It is now a labelled button next to the map's other controls, "Expand all blocks" / "Collapse all blocks", and acts on every open pipeline. The view stays anchored on the selected pipeline's top-left corner while the blocks resize. The right-edge anchor only served the header icon and goes with it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The after-pipeline block sat in a band of its own above all the other blocks of its pipeline, wherever the YAML defined it. The map reads left to right, so the jobs that run last looked like the pipeline's first and most important step. The block is now laid out after the last column of blocks, level with the first row, and widens the pipeline instead of pushing every block down. The pipeline grows taller only when the after block is taller than the blocks beside it. Its position comes from the layout, so the CSS offsets for the init tab and the details band are no longer needed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Promote was an outlined pill with a filled count bubble, the shape of a notification badge, next to an outlined Rerun button of the same weight. It is the one call to action on a pipeline, so it is now the primary button: filled, white text, on the open pipeline and on the closed card. The number of promotions stays in the tooltip and the menu lists them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…lbar A view that is aligned to the top of the map started 40 px down, under the toolbar in the top-right corner: on a wide pipeline the toolbar covered the right end of the header (counts, duration, Promote), and on a fan-out it covered the first promoted pipeline. With the labelled "Expand all blocks" button the toolbar is wider, so more is covered. A box that would reach within 64 px of the top or bottom now starts 64 px down, clear of the toolbar. Boxes with more room than that stay centred. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The first view fitted the selected pipeline alone. On a workflow whose initial pipeline is one small block that fans out into promotions, that centred a nearly empty box at 100% and cut the promoted pipelines off at the right edge, so the first thing to do was to click "Fit workflow". When the initial pipeline is the selected one, the map now opens on the whole workflow, at the readable fit: everything when it fits, otherwise from its top-left corner. A link to another pipeline still opens on that pipeline. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A failed promoted pipeline was a closed red card: which block and job failed took a click on the card. The first view now opens the failed pipelines next to the selected one, the first five in workflow order, so a failure shows down to its job without a click. With the small-pipeline rule their blocks open too. Five keeps a workflow where everything failed from opening as a wall. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The map's toolbar now also holds "Expand all blocks". Next to it, "Open all" and "Close all" no longer say what they act on. They open and close pipelines, so the labels say so. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…line A run in the promote menu was a button: a click showed its pipeline on the map, and that was all it could do. It is now a link to that pipeline on the workflow's page (?pipeline_id=<id>), so it opens in a new tab with a middle click or a modifier click, and its address can be copied. A plain click still shows the pipeline on the map without a page load and leaves the same address in the address bar. A modifier click leaves the menu open, so several runs can be opened one after another. The run's name is underlined on hover, to say it is a link. A promoted pipeline always belongs to the workflow it was promoted in, so one address shape covers every run the menu lists. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A run in the promote menu showed only the parameters whose value its name did not already contain, on the same line as the name. Every run that was started with parameters now shows all of them on a second line under the name, as NAME=value pairs in a muted monospace, so runs can be told apart without relying on how the pipeline was named. The pairs follow the order the promotion declares its parameters in: a run stores them in the order they were sent, which differs between a manual and an automatic promotion. A parameter with an empty value is left out, and a run without parameters gets no second line. A long value wraps inside the menu instead of being cut, and a pair that does not fit next to the others starts its own line. The line is part of the run's link, and the filter still matches parameter values. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Opening on the whole workflow suits a small initial pipeline that fans out into promotions, but on a large initial pipeline with many runs of its promotions the whole workflow only fits at about 25%, and the initial pipeline lands at the bottom, centred against the column of promoted pipelines. The first view now shows the whole workflow only when it is at least as readable as the initial pipeline at its width fit (capped at 75%). Otherwise it opens at that zoom on the initial pipeline's top-left corner, with its promotions to the right. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A finished pipeline with more than 20 jobs opened only its failed blocks, so a passed block said nothing until it was clicked. Every block of an open pipeline now starts open, whatever its size. The map already loads every job of every pipeline on the first load, so this needs no extra request, and opening all 122 jobs of a large workflow renders in under 100 ms. A block the user closes stays closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…kflow map "Close all pipelines" also emptied the set of open blocks, while the map still remembered which pipelines it had already opened blocks for. A pipeline opened again afterwards (with "Open all pipelines" or by hand) therefore showed every block closed, failed blocks included, and the toolbar offered "Expand all blocks". Closing all pipelines now only closes the pipelines, the same as closing one by hand, so a pipeline opened again shows its blocks as they were. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The promote menu ordered a run's NAME=value pairs by the promotion's own parameter list, meant as the order the YAML declares them in. That order never reaches the page: the promotion service keeps a promotion's parameters keyed by name and returns them sorted by name, so the list only looked declared in hand-made test data. The pairs are now sorted by name directly. This is what the page showed on real data anyway, and it gives a manual and an automatic run of the same promotion the same order, which is what the sort is for: a run stores its parameters in the order they were sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new_workflow_ui query parameter could turn the workflow map on for a visit, but false only forgot that choice: an organization with the workflow map feature enabled always got the map, so there was no way to look at the old page next to the new one. false is now remembered for the visit like true is, and it wins over the feature: the workflow page renders the old view until true is given. Without the parameter, a visit that has made no choice follows the feature as before. The map's JSON routes keep their gate as it was (the visit's true, or the feature). The old page never calls them, and refusing them on false would break a map that is already open in another tab of the same visit on its next refresh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
A set of changes to the workflow map that make big workflows (many jobs, many promotions, a few failures among many passes) readable without clicking through every block. Each change is its own commit, so review can go one at a time and any one can be dropped.
Opening and expanding
Reading the map
Promotions
NAME=value, sorted by name, wrapping instead of being cut.Server side
parameters(the env vars it was promoted with), which the pipeline page already shows.?new_workflow_ui=falseshows the old workflow page for the rest of the visit, also where the map is enabled for the organization, until?new_workflow_ui=true. Before,falseonly forgot an earliertrue, so there was no way back to the old page next to the new one. Without the parameter nothing changes. The map's JSON routes keep their gate, so a map already open in another tab keeps refreshing.Screenshots
Screenshot: pr-1-first-before.png — First view, before: the whole workflow at 33%, the after-pipeline block above the rest
Screenshot: pr-1-first-after.png — First view, after: the initial pipeline at a readable zoom, every block open, failures marked, the after-pipeline block last
Screenshot: pr-2-menu-before.png — Promote menu, before: one line per promotion, names cut
Screenshot: pr-2-menu-after.png — Promote menu, after: every run of each promotion, newest first, as links
Screenshot: pr-5-menu-params-after.png — Promote menu, after: the parameters of each run under its name
How to test
?new_workflow_ui=true), open a workflow with a large pipeline (100+ jobs, some matrix jobs, a few failed jobs, an after_pipeline) and many promotions, several run more than once with parameters.?pipeline_id=<id>in a new tab; the filter finds a run by a parameter value.?new_workflow_ui=falseon an organization with the map enabled: the old page, also on the next visit without the parameter;?new_workflow_ui=truebrings the map back.Checks:
tsc --noEmit0 errors,eslint js/workflow_map0 warnings, mocha 687 passing,mix test test/front_web/controllers/workflow_controller_test.exs test/front_web/views/workflow_view_test.exs50 tests, 0 failures,mix format --check-formattedclean.🤖 Generated with Claude Code