Skip to content

ci(release): release slang from slang/X.Y.Z tags - #795

Merged
nebasuke merged 5 commits into
mainfrom
slang-release-workflow
Oct 8, 2026
Merged

nebasuke merged 5 commits into
mainfrom
slang-release-workflow

Conversation

@nebasuke

@nebasuke nebasuke commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Intermediate step to start publish slang via pushing slang/x.y.z tags. Latest will stay at solx 0.1.8 until we are happy to change this.

Claude summary

Releases slang from slang/X.Y.Z tags, next to the solx 0.1.x releases in the same repository.

  • A slang/X.Y.Z tag publishes slang-<platform>-vX.Y.Z assets after approval, with a changelog from the previous slang release (solx 0.1.8 for the first one).
  • The latest release stays on solx 0.1.x, and install-slang installs the newest slang release, or the one given with --version.
  • install-solx is unchanged and still installs solx 0.1.x, the latest or one given with --version, since slang releases never take latest.
  • Releasing slang moves the docs site's latest link to Slang for good, since solx 0.1.x has no further releases.
  • The installation page now leads with install-slang.
  • A bare X.Y.Z tag on main publishes nothing.

@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Coverage Summary

Crate Line Coverage Function Coverage
solx 🟢 83.8% 🔴 20.0%
solx-benchmark-converter 🔴 0.0% 🔴 0.0%
solx-codegen-evm 🟡 57.5% 🟡 51.5%
solx-compiler-downloader 🔴 0.0% 🔴 0.0%
solx-core 🔴 46.1% 🟡 54.8%
solx-dev 🔴 3.2% 🔴 4.2%
solx-mlir 🟡 53.1% 🔴 49.7%
solx-slang 🔴 25.6% 🔴 31.1%
solx-solc-test-adapter 🔴 1.7% 🔴 2.1%
solx-standard-json 🔴 41.2% 🔴 45.8%
solx-tester 🔴 36.6% 🔴 34.6%
solx-utils 🔴 36.9% 🔴 40.0%
Total 🔴 13.2% 🔴 16.4%

Codecov Report | HTML Report | Workflow Run

@nebasuke
nebasuke added this pull request to stack #788 October 4, 2026 14:44
@nebasuke
nebasuke force-pushed the slang-release-workflow branch from bcb86be to 976baf0 Compare October 4, 2026 14:59
@nebasuke nebasuke added the ci:sanitizer Trigger sanitizer workflow on PR label Oct 4, 2026
@nebasuke
nebasuke force-pushed the slang-release-workflow branch from 976baf0 to 5e5d988 Compare October 4, 2026 18:24
@nebasuke
nebasuke force-pushed the slang-release-workflow branch from 5e5d988 to d9d9b50 Compare October 5, 2026 12:44
Base automatically changed from slang-binary-rename to main October 5, 2026 18:25
@nebasuke
nebasuke force-pushed the slang-release-workflow branch 3 times, most recently from 926622c to d9cdbd4 Compare October 7, 2026 10:34
@nebasuke nebasuke removed the ci:sanitizer Trigger sanitizer workflow on PR label Oct 7, 2026
@nebasuke
nebasuke marked this pull request as ready for review October 7, 2026 11:51
@nebasuke
nebasuke requested a review from a team October 7, 2026 11:53
@hedgar2017
hedgar2017 requested a balanced review from Copilot October 8, 2026 09:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Installer path handling, piped argument documentation, and release-rerun changelog selection need correction.

3 open findings
What changed in this PR

Adds a dedicated Slang release channel using slang/X.Y.Z tags while preserving solx as the latest release.

Changes:

  • Adds the Slang installer and installation documentation.
  • Updates release automation, asset naming, changelogs, and verification.
  • Deploys versioned Slang documentation.
File Description
install-slang Installs Slang releases by version or latest tag.
docs/​src/​user-guide/​01-installation.md Documents Slang installation and release assets.
.github/​workflows/​release.yaml Publishes Slang-tagged releases and deploys documentation.
.github/​workflows/​deploy-docs.yaml Accepts a version from reusable workflow callers.

🧠 Review effort: Balanced


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment thread .github/workflows/release.yaml Outdated
Comment thread install-slang Outdated
Comment thread docs/src/user-guide/01-installation.md Outdated

@hedgar2017 hedgar2017 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, just take a look at the Copilot comments.

Curious, how are we going to handle the repo rename?

The repository publishes both slang and solx 0.1.x, so slang releases
take their own tag namespace: a bare X.Y.Z tag on main no longer
publishes anything, and the tag workflow on main-solc keeps releasing
solx. The `latest` release stays on solx 0.1.x, which install-solx,
the compile benchmark and the releases mirror read; install-slang
finds the newest slang/ release instead. The docs deploy for a slang
release moves the site's latest link to Slang.

The previous-release lookup falls back to `latest` only when no slang
release exists, so a failed API call fails the step instead of
building the changelog from the wrong base.
The page said Slang had no release and sent readers to install-solx,
and the docs only deploy on a slang/ tag, so the first release would
have published that as the site's latest page.
@hedgar2017
hedgar2017 force-pushed the slang-release-workflow branch from d9cdbd4 to bf65445 Compare October 8, 2026 10:40
A rerun after the tag is published found its own release as the newest
slang one, so the changelog ran from the tag to itself and replaced the
release body with an empty one.
…xists

The installers skipped the profile edit whenever any binary of that name
was on PATH, so an older build elsewhere kept running. They now check
for the directory itself and warn when an earlier PATH entry shadows it.
Options appended after `| bash` go to bash, not the script.
@nebasuke

nebasuke commented Oct 8, 2026

Copy link
Copy Markdown
Member Author

LGTM, just take a look at the Copilot comments.

Curious, how are we going to handle the repo rename?

Thanks, addressed!

Repo rename -> not sure yet to be honest. I don't have strong feelings about this, nor do I think we are in a rush to do so.

@nebasuke
nebasuke added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit f3876e0 Oct 8, 2026
45 checks passed
@nebasuke
nebasuke deleted the slang-release-workflow branch October 8, 2026 13: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.

3 participants