Skip to content

[ci] refresh build workflow: live runners, floor+latest Go matrix, decoupled CLI job#129

Merged
vt128 merged 2 commits into
masterfrom
ci-refresh
Jun 12, 2026
Merged

[ci] refresh build workflow: live runners, floor+latest Go matrix, decoupled CLI job#129
vt128 merged 2 commits into
masterfrom
ci-refresh

Conversation

@vt128

@vt128 vt128 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Why

CI on this repo is effectively dead: the ubuntu-20.04 and macos-13 runners have been retired by GitHub, so every workflow run queues for 24 hours and times out (see the run on #128: failure after 24h0m3s). The coverage upload gate was bound to the retired ubuntu-20.04 runner, so coverage never uploaded either.

What

  • OS matrix: ubuntu-22.04 / macos-14 / windows-2022 (live runners only)
  • Go matrix: 1.18.x (module floor) + 1.25.x (latest stable), replacing the six-version ladder. The floor bump to 1.19 is deliberately deferred to the dependency pin-upgrade PR at the end of this fix series — the current go.starlark.net pin is consistent with go 1.18.
  • Actions: checkout@v5, setup-go@v6, codecov-action@v5. The coverage gate semantics are documented inline: the gate is the codecov/project + codecov/patch commit statuses, continue-on-error on the upload step only tolerates upload-channel outages.
  • Drop the export debug step which dumped the full environment into public logs.
  • cmd/starlet decoupled: it is a separate Go module with its own (older) pins and extra third-party dependencies; it now builds in a dedicated non-gating job instead of inside make ci, so a CLI-side breakage is visible without blocking library PRs.
  • First commit is repo hygiene so the tree passes the local fmt/vet bar: gofmt doc-comment reflow (comment-only, 3 files) and three lostcancel vet fixes in run_test.go. No behavior change.

Refs: ENG-05

🤖 Generated with Claude Code

vt128 and others added 2 commits June 12, 2026 16:51
…n_test

- gofmt: reflow doc comments to current gofmt output (comment-only;
  dataconv/interface.go, internal/replacecr/replace_cr.go, lib/http/server.go)
- run_test.go: capture and defer the cancel functions returned by
  context.WithTimeout (go vet lostcancel)

No behavior change; this makes the tree pass the local fmt/vet bar that
the revived CI series will hold.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…coupled CLI job

The workflow was effectively dead: ubuntu-20.04 and macos-13 runners have
been retired by GitHub, so every run queued for 24h and timed out, and the
coverage upload gate was bound to the retired runner so it never executed.

- OS matrix: ubuntu-22.04 / macos-14 / windows-2022
- Go matrix: 1.18.x (module floor) + 1.25.x (latest); floor bump is
  deferred to the pin-upgrade PR at the end of this series
- actions: checkout@v5, setup-go@v6, codecov-action@v5 (with the coverage
  gate semantics documented inline)
- drop the 'export' debug step (leaked the environment into public logs)
- cmd/starlet is a separate Go module with its own pins: moved out of
  'make ci' into a dedicated non-gating job

Refs: ENG-05

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codacy-production

codacy-production Bot commented Jun 12, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage

Metric Results
Coverage variation Report missing for bb483ca1
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (bb483ca) Report Missing Report Missing Report Missing
Head commit (8c03e51) 5645 5276 93.46%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#129) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.97%. Comparing base (bb483ca) to head (8c03e51).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage   91.19%   91.97%   +0.78%     
==========================================
  Files          44       44              
  Lines        5494     4509     -985     
==========================================
- Hits         5010     4147     -863     
+ Misses        363      241     -122     
  Partials      121      121              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vt128 vt128 merged commit c391968 into master Jun 12, 2026
11 checks passed
@vt128 vt128 deleted the ci-refresh branch June 12, 2026 08:55
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