Skip to content

Add non-blocking downstream regression check (made/mcodec/alpaca) - #52

Merged
halotukozak merged 9 commits into
mainfrom
ci/downstream-regression
Sep 6, 2026
Merged

Add non-blocking downstream regression check (made/mcodec/alpaca)#52
halotukozak merged 9 commits into
mainfrom
ci/downstream-regression

Conversation

@halotukozak

Copy link
Copy Markdown
Collaborator

Publishes commons from the branch locally, then chains made -> mcodec -> alpaca against that build (each pointed at the previous local artifact) and compiles them. continue-on-error at the job level keeps this from blocking merges while still surfacing failures clearly in the job log.

Claude-Session: https://claude.ai/code/session_01FGvoRoSbVSPgxCTBF26U28

Description

Checklist

  • scalafmt run (or equivalent formatter for this repo)
  • Tests added/updated where relevant
  • CI passes

Publishes commons from the branch locally, then chains made -> mcodec ->
alpaca against that build (each pointed at the previous local artifact)
and compiles them. continue-on-error at the job level keeps this from
blocking merges while still surfacing failures clearly in the job log.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGvoRoSbVSPgxCTBF26U28
Copilot AI lite review requested due to automatic review settings September 3, 2026 16:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

halotukozak and others added 8 commits September 3, 2026 18:18
scala-cli's default 30s wait for the Bloop compilation server to come up
flaked twice on a cold GH Actions runner with a bare TimeoutException
(unrelated to the actual compile/publish work). Pass
--bloop-startup-timeout 2min on every scala-cli invocation in the job.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGvoRoSbVSPgxCTBF26U28
--bloop-startup-timeout only extends the initial server spawn wait.
bloop-rifle's ensureBloopRunning then re-verifies the server with a
`bloop about` call whose timeout is hardcoded to 30s + extraTimeout
(BloopRifleConfig.extraTimeout), which that flag never reaches - so
the check kept timing out on cold runners even after the previous fix.
extraTimeout is only configurable via SCALA_CLI_EXTRA_TIMEOUT, so set
it to give that verification call more room too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
mcodec dropped scala-cli/project.scala for a Mill build (build.mill) and
now depends on commons directly, not just transitively via made - the
check still assumed the old layout and failed at the version-pin sed
step (project.scala no longer exists). Patch build.mill's made and
commons pins instead, and compile/publish via ./mill jvm.compile /
jvm.publishLocal (mirroring alpaca's Mill-based steps), reusing mcodec's
MCODEC_BENCH_VERSION publishVersion override hook to pin the local-Ivy
version.

Verified locally: publish-local commons -> compile/publish-local made ->
compile/publish-local mcodec against build.mill's own Mill launcher, all
succeeding against this branch's commons build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
commons/made/mcodec are only ever published to the local Ivy repo for
the jvm platform in this check, but alpaca's `./mill __.test` builds
every platform (jvm/js/native) and failed resolving made/mcodec's js
and native artifacts (never published locally, and 0.0.0-regression
obviously isn't on Maven Central either). Scope it to `jvm.test` to
match what's actually available.

Verified locally: full commons -> made -> mcodec -> alpaca chain,
publishing each locally at 0.0.0-regression, ./mill jvm.test passes
(73 tests).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@halotukozak
halotukozak merged commit f37ef15 into main Sep 6, 2026
9 checks passed
@halotukozak
halotukozak deleted the ci/downstream-regression branch September 6, 2026 08:10
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