Repository navigation
Remove the retired lint check and repair CI prerequisites - #2536
Merged
Merged
Conversation
leaf-agent
previously approved these changes
Oct 12, 2026
This was referenced Oct 12, 2026
leaf-agent
approved these changes
Oct 12, 2026
leaf-agent
added a commit
that referenced
this pull request
Oct 12, 2026
Export Lit's `createRef` through `widget-api.js` so `lf-trace` can be bundled for the website. The [failed publish run](https://github.com/max-sixty/leaf/actions/runs/38214399140) stops because `lf-trace.js` imports `createRef` from that API, while the API exports only `ref`. The browser runtime already exports both names. The existing widget API test now checks that every name imported by a behavior module is exported. It failed with `['createRef']` before the fix and passes after it. The site build produced all 105 pages locally, and `pnpm run test:runtime` passed. This PR also refreshes the generated protocol contract. [PR CI](https://github.com/max-sixty/leaf/actions/runs/38215371869) could not reach the site gate because the earlier contract from #2505 no longer matched #2506's event names; `node build/browser/build.mjs --check` failed on `main` and `pnpm run check:browser` passes with the regenerated contract. #2536 carries the same contract refresh alongside its workflow cleanup, but its own site gate failed on the missing `createRef`. Including both repairs here lets the required `test` check verify and land them together. --------- Co-authored-by: leaf-agent <[email protected]>
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.
Branch protection now requires
test, the combined CI gate. Remove the temporarylintdependency check used to land the rename while the old requirement was still active.Also regenerate the protocol baseline introduced by PR #2505. That change landed a protocol-1 baseline after the registry had already moved to protocol 2, causing the cleanup PR's browser build to fail with
Stale protocol contract. The canonical build refreshes the baseline for protocol 2; no other generated output changes.Reuse the reviewed correction from PR #2533: export
createReffrom the widget API so the website can bundlelf-trace, and check that widget imports resolve through the API. That PR was blocked by the same stale protocol baseline; combining the corrections lets the cleanup clear both CI prerequisites.Validation:
pnpm run build:browser, all 361 runtime tests, the focused widget API test, pinned actionlint, YAML validation andgit diff --checkpassed.