Skip to content

OpenConceptLab/ocl_issues#3009 | Say why new releases are offered, and compare before rebuilding - #114

Merged
snyaggarwal merged 44 commits into
mainfrom
issues-3009-rebuild-offer
Dec 2, 2026
Merged

snyaggarwal merged 44 commits into
mainfrom
issues-3009-rebuild-offer

Conversation

@snyaggarwal

@snyaggarwal snyaggarwal commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Ticket: OpenConceptLab/ocl_issues#3009 · Epic: OpenConceptLab/ocl_issues#2942

Stacked on #113 (the health badge and the repo version chips). It uses that PR's expansionHealth.js and expansionRepoVersions.js. Review and merge #113 first; this PR's diff is against that branch.

Deploy order

  1. OpenConceptLab/ocl_online#773 | resolved-repo-updates lists only versions a rebuild would move oclapi2#1072 (merged) must be deployed first or with this PR. With it, resolved-repo-updates leaves out every version a rebuild keeps, so the panel offers every update the API lists.
  2. OpenConceptLab/ocl_online#452 | A reference's search options apply to its search again, in either spelling oclapi2#1089 must be deployed and REFERENCE_SEARCH_OPTIONS_TOGGLE on in production before this PR deploys there (launch lead, Dec 2). Until then, a rebuild can empty some search references, and this PR invites rebuilds.

What changes

The release updates panel under an expansion (editors only, as before) is now ReleaseUpdatesPanel.

  • What it says, for each recorded version that resolved-repo-updates reports:
    • "Newer versions of {repo} are available:" with each version and a compare link, grouped by repository;
    • "Uses HEAD, and a release now exists:";
    • "Uses {version}, which isn't released";
    • "{repo} {version} has been retired since this expansion was built".
  • "From references that name a version:" lists apart the recorded explicit versions that aren't in the updates.
  • Nothing about what moves is guessed in the panel. OpenConceptLab/ocl_online#773 | resolved-repo-updates lists only versions a rebuild would move oclapi2#1072 works that out on the server.
  • Deleted locks. When the default expansion's current health has locked_version_deleted, the panel shows the named versions and the count of private ones, even when no newer release exists.
  • Compare before rebuild. The panel suggests creating a similar expansion and comparing first. It offers Create similar, then Compare with {mnemonic} once a newer finished expansion of the same version exists, then Rebuild last.
  • The Rebuild window says what happens to the locks (OQ-5 on OpenConceptLab/ocl_online#549), using OpenConceptLab/ocl_issues#3004 | Health badge and reasons for collection versions and expansions #113's lock rule:
    • a rebuild works every lock out again: "A rebuild recalculates this expansion's locks. References that don't name a version can move to newer releases.";
    • it keeps some: the same, plus "Versions fixed by its parameters don't move.";
    • it keeps all: no note.
  • Released collection versions can still be rebuilt (OQ-12). The panel and the Rebuild window add: "This collection version is released. A rebuild can change its members. To keep it as it is, rebuild HEAD's expansion instead, then create a new version from HEAD with Copy HEAD's parameters."
  • While an expansion is processing, the panel's Create similar and Rebuild are disabled, with the reason as a tooltip.
  • After a rebuild, the expansion's release updates are fetched again once it finishes.
  • Expansion rows are marked Default only for the version's default expansion (expansion_url). On a phone, the repo versions go under the expansion.
  • Compare page. compare-versions accepts expansion1 and expansion2 URL parameters. Picking another version or expansion on the page drops them. Without them it behaves as before.
  • Locks don't move without a rebuild. The only write here is the Rebuild the owner confirms, as before.
  • Strings: all four locale files.

Known limits

  • A source that system-version names by a URL only the URL registry knows isn't matched, so the note can say it may move.
  • The locks note can show where no lock badge does (toggle off, or not the default expansion).
  • The released notice names Copy HEAD's parameters, which isn't offered with EXPANSION_LOCKED_REPO_VERSION_TOGGLE off.
  • "has been retired since this expansion was built" also shows for a version that was already retired.
  • The reason a button is disabled shows on hover only.

Not done here

Tests

  • releaseUpdates.test.js covers the cases from the recorded lists and from a URL alone, every listed update being offered, deleted locks, what a rebuild does to the locks, which versions get the released notice, which expansion is offered for comparison, the compare URLs, and every string in four locales.
  • At 3c055ef: npm test 347 pass, eslint (npx eslint src --ext js,jsx) is clean, and CI passes.
  • The Rebuild window's note and the panel's line were checked on screen with sample data, not with live API responses.

Related

🤖 Generated with Claude Code

…ions show the API's expansion health, with its reasons in the details dialog
…a lock is on HEAD or a retired release, and offers Create similar and an expansion compare before Rebuild
…hows health, unknown states show as given, and deleted locks are plain text
@snyaggarwal

Copy link
Copy Markdown
Contributor Author

Review round 1: verdict "changes needed"

This was a high-effort review of this PR's own diff (stacked on #113), checked against get_resolved_repo_version_diff_with_latest_updates and the version list serializers on oclapi2 master. npm test (239) and eslint pass. Moving the panel into its own component dropped nothing: the editor gating, the processing-disabled Rebuild, the per-version compare link and the header are all still there.

# Severity Finding
1 important "A newer release exists" is wrong when the recorded version is unreleased. resolved-repo-updates maps a version to the newest unretired release, else HEAD. So an unreleased v3 maps back to release v2, and a source with no release maps to HEAD. The AC is to say which case applies.
2 important A version named by a reference (explicit_*) or by the expansion's system-version parameter doesn't move on a rebuild, and Create similar copies the parameters. "The lock stays until rebuilt", the compare-first advice and Rebuild are misleading for those.
3 nit expansion1 / expansion2 stay in the compare page's URL after the user picks another version or expansion, so a later refetch snaps back to them.
4 nit The per-version compare link builds its query unencoded, while the new link uses URLSearchParams.
5 nit "Compare with …" can point at an expansion that is still processing.
6 nit Deleted locks are read from any expansion's stored health. They should come from the default expansion only, as in #113.
7 nit i18n: zh uses 已停用 / 重新构建 where the app uses 已退役 / 重建; pt-BR uses "aposentada" and "semelhante" where the app uses "Descontinuado" and "similar". The case label's colon is in the JSX, not the string.
8 nit The released nudge says "create a new version from HEAD". Lock repo versions copies HEAD's locks, so if HEAD is stale it carries the stale lock forward. HEAD has to be rebuilt first.
9 nit Tests: no unreleased or HEAD-target cases.

Not changing:

Fixes follow in the next commit.

…rks versions a reference or system-version pins as kept by a rebuild, and compares only finished expansions
…current version summary beats a stale loaded expansion, and es and pt-BR have their many plurals
@snyaggarwal

Copy link
Copy Markdown
Contributor Author

Review round 2: verdict "changes needed"

Round 1's fixes check out:

  • the four cases, including unreleased;
  • pinning by reference and by system-version in the forms the backend writes;
  • the row icon and auto-expand count only movable updates;
  • deleted locks come from the default expansion only;
  • the compare page drops its expansion parameters only on a user change, and can't loop;
  • the processing filter;
  • i18n terms and colons;
  • the released nudge now says to rebuild HEAD first.

npm test (244) and eslint pass.

# Severity Finding
1 important Version create with expansion: lock builds an expansion that keeps its value-set locks on a rebuild (Expansion.add_references, kept_valueset_locks). The panel still offers Create similar → compare → Rebuild for those value sets. The similar expansion isn't lock-built, so the comparison shows a move that the rebuild then doesn't make. built_with isn't serialized, so the UI can't tell. It needs a small API change: OpenConceptLab/oclapi2#1060.
2 important A system-version entry can be a repository version URL with no | (e.g. /orgs/O/sources/S/v1/). The backend accepts that form, but it isn't treated as pinned.
3 nit A retired version that was never released is labelled "a retired release".
4 nit A canonical system-version entry is matched only against the recorded version's canonical_url. A URL that only a registry maps is missed. This is rare: accept it and say so in a comment.
5 nit Create similar and Rebuild in the panel check only the expansion's processing state. The expansion menu also disables them while the version is processing.
6 nit No tests for findings 2 and 3.
— PR text "No oclapi2 change is needed" is now wrong (finding 1).

Fixes follow in the next commits.

…es are merged in

# Conflicts:
#	src/i18n/locales/es/translations.json
#	src/i18n/locales/pt-BR/translations.json
…eps, and system-version entries given as version URLs, count as pinned; a retired never-released version is called unreleased
… a version's health comes from its default expansion and is never older than its summary
…it and how to move it, and a repository's bare URL in system-version isn't a pin
@snyaggarwal

Copy link
Copy Markdown
Contributor Author

Review round 3: verdict "approve with nits"

Round 2's fixes check out:

  • Lock-built value sets. Lock-built value-set pins match Expansion.add_references (kept_valueset_locks: built_with == 'lock', evaluated_collection_versions, active). Rebuild reaches that path.
  • system-version entries. An entry given as a version URL is matched.
  • Unreleased before retired. The check order is fixed, with a test.
  • Processing flag. The panel uses the same combined flag as the expansion menu.
  • Pinned wording is updated in all four locales.
  • Before OpenConceptLab/ocl_issues#3009 | Expansions show built_with oclapi2#1060 deploys. The behaviour matches the PR text: the field is absent, so those value sets stay movable.

npm test (245) and eslint pass.

# Severity Finding Status
1 nit A repository's bare URL in system-version (for example HEAD's /orgs/O/sources/S/) was marked pinned. The backend resolves it again on a rebuild, so a HEAD lock it names does move. Fixed in cd91e54, with tests for both slash forms
2 nit One remedy sentence covered three reasons, so a reader could pick a remedy that does nothing for theirs. Fixed: pinned now names its reason (reference, system_version, lock), and each reason has its own string and remedy in all four locales
3 nit The panel comment didn't mention value sets that a lock-built expansion keeps. Fixed

npm test 245 pass, eslint clean, webpack build OK. Nothing open, so this ends the review loop for this PR.

…ts cached rows' expansions, a failed fetch keeps them, and a refresh shows them instead of a spinner
@snyaggarwal
snyaggarwal marked this pull request as ready for review November 24, 2026 15:57

@paynejd paynejd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review lead (Claude, for Jon), round 1

This is a comment, not an approval. The ticket's ACs include Jon's review of the wording and the flow, which he gives separately.

Thanks, Sunny. I checked this PR's own changes (982792fd...8c8689d7) against oclapi2 master, and the open #1060 for built_with. The case logic, the deleted-lock line from health, the pinned explanations and the released-version nudge do what the ticket asks. All four locales have the new strings, and CI is green.

Three fixes:

  1. After a rebuild, the panel can keep the pre-rebuild updates.
    • fetchedRepoUpdatesRef records each expansion URL once and is never cleared, and the refresh after a rebuild re-reads only expansions/.
    • A rebuild that moves a HEAD lock to v2 keeps the same expansion URL, so the cached {HEAD → v2} is classified again, and the panel still offers a rebuild.
    • Drop the URL from fetchedRepoUpdatesRef, and its cached updates, when that expansion finishes rebuilding, so they're fetched again.
  2. "Compare with" opens on identical numbers.
    • The link sets no metric, so Compare Versions opens on Statistics, which reads the collection version's summary. Both sides are the same version, so both columns match.
    • metric=content opens the expansion comparison (suggestion inline).
  3. A resource-versioned reference is called pinned, but a rebuild moves it.
    • A reference with system, code and resource_version but no repo version records its source version in the explicit list, so getReleaseUpdates marks it pinned: 'reference', and the panel says a rebuild keeps it.
    • On a rebuild, the API clears the lists and find_repo_version_with_resource_version picks the newest release holding that concept version, so the repo version moves even though the concept version stays.
    • Only a reference that names the repo version itself keeps it. Treat the resource-versioned ones as movable, or word them so they promise nothing.

One for the API, not this PR: a system-version entry that names a version by its relative URL (/orgs/O/sources/S/v1/) stops resolving once v1 is retired.

  • The direct-URI lookup filters retired=False, so a rebuild drops that pin and the references resolve to the newest release. The url|v1 form keeps it.
  • The panel marks both forms as kept by a rebuild. Until the API keeps the relative form too, either leave it out of isNamedInSystemVersion, or don't promise it.

Notes, no action needed:

  • With built_with absent, as on any API without #1060, a lock-built expansion's value-set locks are offered for a rebuild that wouldn't move them. So #1060 should deploy first.
  • getDeletedLocks reads the reason whatever health_is_current is, so between a rebuild and the next health check, the panel can still show a deleted lock the rebuild has cleared. Checking health_is_current === true would avoid that.
  • getComparableExpansion takes the newest finished expansion made after this one, which may not be the one Create Similar made when two people work on the version.

Comment on lines +99 to +101
const params = new URLSearchParams({
version1: versionURL, version2: versionURL, expansion1: expansion.url, expansion2: other.url,
})

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without metric, Compare Versions opens on Statistics, which shows the same collection version's summary on both sides. This opens the expansion comparison:

Suggested change
const params = new URLSearchParams({
version1: versionURL, version2: versionURL, expansion1: expansion.url, expansion2: other.url,
})
const params = new URLSearchParams({
version1: versionURL, version2: versionURL, expansion1: expansion.url, expansion2: other.url, metric: 'content',
})

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 2cbfe20, and the compare-URL test checks for metric=content.

@paynejd paynejd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review lead (Claude, for Jon), round 1, from screenshots

Sunny, three code fixes came out of screenshots of this branch at 8c8689d. It was a production build with every API call mocked in the stored health shape. Jon's visual and copy calls go to him separately; these are code.

  1. Two "Default" labels after Create similar.
    • ExpansionRowList shows Default for expansion.default || expansion.auto, and formatExpansions marks the newest expansion of an autoexpand version as auto.
    • So once Create similar makes a newer expansion, it shows Default next to the real default.
    • The code is older than this PR, but this PR's Create similar → Compare flow now leads people into it. Label Default only for expansion.default, the version's expansion_url.
  2. The panel's rows are cut at 390px. The expansion rows keep a grid about 560px wide inside the table, so lines end mid-word ("CIEL / CIEL:HE…") and scroll sideways inside the table. Let them wrap on small screens.
  3. "(Compare ↗ )" has a gap before the closing bracket. The link is inline-flex with gap: '2px', so the gap also sits between the icon and the ")".

One more for #113's dialog: see the comment there about the Members list.

…nger retried in a loop, and the Health dialog counts members per resource type
…e expansions retry loop and per-type member counts
…ild, Compare opens the expansion comparison, and only what a rebuild keeps is promised
@snyaggarwal

snyaggarwal commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks. Everything from round 1 (review, screenshots) is in 2cbfe20, on top of #113's fixes, merged in (9c32a5a). CI is green.

The three fixes:

  1. After a rebuild: when an expansion finishes processing, its URL comes out of fetchedRepoUpdatesRef, and its cached updates are dropped, so they're fetched again. That covers both the rebuild's 204 and a rebuild that's still running and polled. The fetch effect now depends on repoUpdatesByExpansion, so the forget triggers the refetch.
  2. Compare with: I applied your suggestion (metric: 'content'), and the test checks for it.
  3. Resource-versioned references: the expansion's lists can't tell a reference that names the repo version apart from one that reached it through a resource version. So I went with the wording: pinned_reference now says a rebuild keeps a version a reference names, and that one reached through a concept or mapping version can still move. It's updated in all four locales.

system-version by relative URL: a version URL entry counts as pinned only while that version isn't retired, so a retired one is offered as movable. The url|version form stays pinned. Both cases are tested. The API gap is OpenConceptLab/ocl_online#769.

From the screenshots:

  • Default is shown only for expansion.default, the version's expansion_url. auto is no longer used for the label.
  • The rows use minmax(0, …) columns, and under the sm breakpoint the two version lists go under the expansion, each with its own heading. Nothing has a fixed 560px width now.
  • The Compare links no longer use inline-flex with gap. The icon is inline, so "(Compare↗)" has no gap before the bracket.

Optional, taken: getDeletedLocks reads the reason only when health_is_current === true.

I checked these with unit tests (245 pass), lint and a production build. They aren't rendered against a live API, so the 390px layout isn't checked on screen.

…is no longer promised to survive a rebuild
@snyaggarwal

Copy link
Copy Markdown
Contributor Author

Following up on round 1 and OpenConceptLab/ocl_online#769's second case, a reference whose system names a retired version by relative URL. The fix is in 2c50cef.

  • When a version a reference names is retired, the panel marks it pinned: 'reference_retired', and the text no longer promises a rebuild keeps it: "A reference names this version, which is retired. A rebuild may not keep a retired version, so change the reference if it matters which version it uses."
  • It still gets no rebuild advice, since a rebuild may not move it either. The string is in all four locales and the locale test, and the reference test covers the retired case.

The API fix is OpenConceptLab/oclapi2#1065. Once it's deployed, both this case and the retired system-version version URL can be relaxed.

snyaggarwal and others added 5 commits November 29, 2026 11:56
…n an information colour, apart from unreleased, retired and reference-named versions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… rebuild can change its members, and its button no longer looks disabled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… health chip; each named problem gets its own, and Uses HEAD and No members are neutral

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d problem, the neutral facts and Unsupported filter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Create Version choice Copy HEAD's parameters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paynejd

paynejd commented Nov 29, 2026

Copy link
Copy Markdown
Member

Review lead (Claude, for Jon), round 3, head d297896.

Verdict: the settled parts are met, with two display defects to fix. Still held for Jon's call on what Rebuild does on HEAD (OQ-5), and it needs a merge of its base first.

Met

  • Answer 2 (fce8c76):
    • Newer versions are stated per repository in an information colour, "Newer versions of {repo} are available:", with the version and a compare link. Only versions an update would move are listed, as resolved-repo-updates returns.
    • An unreleased version says "Uses {version}, which isn't released", with no arrow.
    • A retired version is its own neutral line, "Uses a retired version:".
    • Versions a reference names are listed apart ("Named by a reference:").
    • The closing line is gone.
    • In the versions table, the icon is information blue for updates and stays a warning only for a deleted lock or a stale expansion.
  • Answer 3 (be8815d, d297896): "A rebuild can change its members"; the Rebuild button keeps its normal colour; the nudge names "Copy HEAD's parameters", matching OpenConceptLab/ocl_online#768 | Copy HEAD's parameters replaces Lock repo versions, and its help says value sets keep HEAD's versions on a rebuild #115.

Left

  1. Conflict with the base. It conflicts with issues-3004-expansion-health-badge at 39c274e in src/components/repos/CollectionVersionsTab.jsx: both PRs change the same cell of the versions table. Merge the base in. Until then this branch still shows OpenConceptLab/ocl_issues#3004 | Health badge and reasons for collection versions and expansions #113's old "Unhealthy" and "Resolves to HEAD" chips.
  2. An escaped slash on screen. The "isn't released" line passes the version label to i18next without escapeValue: false, so it reads Uses DemoOrg &#x2F; Demo-Local-Terms:v1.2-draft, which isn't released. React escapes the text already, so pass interpolation: { escapeValue: false } there, as ReleaseUpdatesPanel needs for any label holding a /.
  3. On a phone the notice is cut off. At 390px the panel sits in the wide versions table, so its lines run past the screen edge rather than wrapping.
  4. Optional: the retired line also shows an arrow and a compare link to a newer version, so it reads a little like an update offer. The rules page's line is only the fact ("{repo} {version} has been retired since this expansion was built"). Fine either way.

CI: Lint and test pass.

snyaggarwal and others added 4 commits November 29, 2026 14:21
…bels, with the count after them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… keep their slash, and a retired version's line states only that it was retired

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ithin the visible width of the versions table, so the notice wraps on a phone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s health chips beside the release notice imports

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paynejd

paynejd commented Nov 29, 2026

Copy link
Copy Markdown
Member

Review lead (Claude, for Jon), round 4, head b199a66.

Verdict: the settled parts are ready. Still held for Jon's call on what Rebuild does on HEAD (OQ-5). All four round-3 points are fixed, and I checked each on screen with mocked data.

  1. Conflict: fixed (b199a66). The base branch at 4c59632 is merged in, and GitHub reports the PR as clean against it. The versions table now shows OpenConceptLab/ocl_issues#3004 | Health badge and reasons for collection versions and expansions #113's chips ("Uses HEAD", "Unreleased content (12)").
  2. Escaped slash: fixed (d28ecf5). Every interpolated label in the notice passes escapeValue: false, so the line reads "Uses DemoOrg / Demo-Local-Terms:v1.2-draft, which isn't released".
  3. Phone width: fixed (7cca048). A version's expansion details are held to the table's visible width, so at 390px the notice wraps on screen.
  4. Retired line: done. It now states only the fact, in the rules page's words: "{repo} {version} has been retired since this expansion was built", with no arrow.

Answers 2 and 3 stay met: newer versions per repository in an information colour, the unreleased and named-by-reference lines, no closing line, "A rebuild can change its members", a normal-coloured Rebuild button, and the nudge naming "Copy HEAD's parameters".

CI: Lint and test pass.

snyaggarwal and others added 8 commits November 29, 2026 20:13
…upported-filter chips put the count after the label, like the others

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…list of repo chips marked explicit, evaluated and locked; health lists use repo chips

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd its chip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…versions column beside the rebuild confirmation's notice lock

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…section's comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…epo version chips and main's rebuild notice lock beside the release panel

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…calculates the expansion's locks, except where they were copied from HEAD

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nformation: a neutral chip after the problems, under their own heading in the details

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@snyaggarwal

snyaggarwal commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Review at 1e67f94: changes needed. No crash or data bug, but two statements on screen can be false. Update: 1, 2 and 4 are fixed in 3c055ef, so only nits are left: approve with nits. The fixes haven't had a second review.

An independent pass over the whole diff, with most attention on what changed since the round 4 verdict from @paynejd. I checked 1 and 2 against oclapi2 master.

# Severity Finding
1 important The locks note can be false. doesRebuildRecalculateLocks checks only built_with. A rebuild also keeps source versions named in the system-version parameter (get_repo_version_ids_a_rebuild_keeps). Example: Create similar from a Copy HEAD's parameters expansion copies system-version, but not built_with. The note then says versions can move that won't. Fixed in 3c055ef: the note follows what a rebuild keeps, using #113's lock rule. One gap: a source named by a URL that only the URL registry knows isn't matched.
2 important "Named by a reference:" can list a version no reference names. For a reference to a concept version, the API picks the repo version and stores it as explicit. It can list HEAD too. This is the case behind @paynejd's round 1 point on pinned versions, in a newer line. Fixed in 3c055ef: the line now says "From references that name a version:". New wording, for Jon to check.
3 nit "has been retired since this expansion was built" also shows for a version that was already retired. The wording is from the rules page, so Jon's call.
4 nit The note is missing in two cases where locks do move: a copied lock was deleted, or the API made the version with lock when HEAD had no expansion. Fixed in 3c055ef.
5 nit The note says "this expansion's locks" where no lock icon shows (toggle off, or not the default). #113's coming lock rework narrows the icon more, so reuse its rule.
6 nit With EXPANSION_LOCKED_REPO_VERSION_TOGGLE off, the released notice names Copy HEAD's parameters, which isn't offered.
7 nit The reason a button is disabled (WhileProcessing) shows on hover only, not for keyboard users.
8 nit The description is out of date (old heading, "lock stays", 282 tests, no locks note). Fixed.

Pre-existing: the stale-expansion icon opens the Rebuild dialog for people who can't edit. The API refuses the rebuild.

Fine: a rebuild on HEAD recalculates locks, and Copy HEAD's parameters versions keep theirs outside of 4. Released versions can still be rebuilt, with the notice; Compare appears once there is a newer expansion to compare with. Languages, refetching after a rebuild and the compare page are fine. 340 tests passed at 1e67f94, and 347 pass at 3c055ef, which has #113 merged in at c736d7c.

snyaggarwal and others added 3 commits December 2, 2026 14:56
…, shown only where HEAD's locking or a rebuild keeps the version; no left indent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ows what a rebuild keeps; the panel's line says versions come from references that name a version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from issues-3004-expansion-health-badge to main December 2, 2026 12:58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@snyaggarwal
snyaggarwal merged commit 259897d into main Dec 2, 2026
2 checks passed
@snyaggarwal
snyaggarwal deleted the issues-3009-rebuild-offer branch December 2, 2026 13:03
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.

2 participants