Skip to content

ci: fix the dashboard release and let a failed publish resume - #13

Merged
kasvith merged 2 commits into
mainfrom
fix/release-dashboard-publish
Oct 21, 2026
Merged

kasvith merged 2 commits into
mainfrom
fix/release-dashboard-publish

Conversation

@kasvith

@kasvith kasvith commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

The durable_dashboard 1.0.0 release (run) tagged durable_dashboard-v1.0.0 and committed to main. It then failed at pnpm install:

ENOENT: no such file or directory, scandir '.../durable_dashboard/deps/phoenix'

assets/package.json links phoenix, phoenix_html and phoenix_live_view from ../deps/. The publish job ran pnpm install before mix deps.get, so those directories didn't exist yet. Regular CI runs them in the right order, which is why it never showed up there.

Changes

  • Step order: the publish job now runs mix deps.get, then installs the JS deps, then compiles.
  • Resume: running Release again with a version that's already tagged but isn't on Hex now publishes that tag. Before, it stopped with "already exists". "Re-run failed jobs" replays the original workflow file, so it can't pick up a fix like this one. A version that's already on Hex is still refused.
  • Lock: durable_dashboard/mix.lock now locks durable 1.0.0 from Hex.

Checked locally against Hex: mix deps.get resolves durable 1.0.0, mix compile --warnings-as-errors is clean, and mix hex.build builds durable_dashboard 1.0.0. actionlint passes.

After merging

Run Release → durable_dashboard → version 1.0.0. It reuses the existing tag and publishes.

https://claude.ai/code/session_012aEMFtJKJsMz1vGtbSijGR

The dashboard's assets/package.json links phoenix and LiveView from deps/,
so `mix deps.get` has to run before `pnpm install`; the publish job had
them the other way round and failed after tagging durable_dashboard-v1.0.0.

Running Release again with a version that's tagged but not on Hex now
publishes that tag instead of refusing it. "Re-run failed jobs" replays the
old workflow file, so it couldn't pick up a fix like this one.

Claude-Session: https://claude.ai/code/session_012aEMFtJKJsMz1vGtbSijGR
@kasvith
kasvith merged commit 73c7c22 into main Oct 21, 2026
4 checks passed
@kasvith
kasvith deleted the fix/release-dashboard-publish branch October 23, 2026 01:31
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.

1 participant