ci: pin Lint workflow to Deno v2.x stable#3128
Merged
Merged
Conversation
`deno-version: canary` started failing all PRs with an MDX rendering
error in /styleguide/typography.mdx:
TypeError: Cannot resolve module "lume/jsx-runtime":
relative URL with a cannot-be-a-base base
at MDXEngine.render (.../lume@3.1.2/plugins/mdx.ts:96:21)
The MDX plugin dynamic-imports compiled output from a `blob:` URL; a
canary regression broke bare-specifier resolution from `blob:` referrers,
so the import map's `lume/jsx-runtime` entry no longer applies. The same
build succeeds locally on `deno 2.7.14` stable.
Pin to the v2.x stable channel so the workflow tracks stable releases
without exposure to unreleased regressions.
3 tasks
bartlomieju
approved these changes
May 14, 2026
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.
Summary
The
lint and link checkworkflow has been failing on every recent PRwith an MDX rendering error in
/styleguide/typography.mdx:Root cause
.github/workflows/lint.ymlsetsdeno-version: canary. The lume MDXplugin compiles MDX to JS, wraps the output in
URL.createObjectURL(new Blob(...)),and dynamic-imports the resulting
blob:URL. The compiled output references"lume/jsx-runtime", which is supposed to be resolved via the import map indeno.json:A recent canary regression broke bare-specifier resolution when the importer
is a
blob:URL — Deno now tries to resolve"lume/jsx-runtime"as a relativeURL against the
blob:referrer (which is a cannot-be-a-base URL) and errors out before the import map is consulted.The same build succeeds locally on
deno 2.7.14(stable). Thedeploy/deno/docspreview build (which doesn't use canary) has been green throughout.
Fix
Pin to the
v2.xstable channel. This keeps automatic stable-version uptakewithout exposure to unreleased regressions. Drop-in change — no other workflow
uses
canary.When canary stabilises this regression (likely in the next stable bump that
includes the underlying URL resolver change),
v2.xwill pick it up naturally.cc @bartlomieju — fixes the CI breakage you flagged on #3114.
Closes bartlomieju/orchid-inbox#57
Test plan