Repository navigation
ci(install): time the one-line install on arm64 for the scorecard - #490
Merged
Merged
Conversation
A new Install workflow job installs Lens on GitHub's arm64 runner, times the install line until the setup page answers, then lets the stack settle and measures its containers' memory and its disk (ci/scorecard/measure_install.py), kept as the install-scorecard artifact. make scorecard reads the newest one from main for install_to_first_answer_s, idle_ram_mb and disk_mb, which said "not measured" until now. Part of #481. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SDzZtD95f3XeGHNfinM1qv
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.
Requested by Adeel · project thread
Description
Before:
make scorecard(#487) reported install to first answer, idle RAM and disk as "not measured", because nothing timed an install on arm64, and nothing in CI installed Lens on arm64 at all.After: the Install workflow has a new job, One-line install on arm64, timed, on GitHub's
ubuntu-24.04-armrunner. It times the one-line install until the setup page answers, lets the stack settle for two minutes, then measures the containers' memory (docker stats) and the disk (Docker's images, containers and volumes, plus the install folder; the build cache is kept apart) withci/scorecard/measure_install.py, and keeps the result as theinstall-scorecardartifact and in the run summary.make scorecardreads the newest one from main intoinstall_to_first_answer_s,idle_ram_mbanddisk_mb, with the machine, target and commit they were taken on.The runner (4 cores, 16 GB, Docker already there) is faster than a Raspberry Pi, so the time is a floor; RAM and disk are what Lens takes there. It runs when the install changes, weekly and by hand, like the rest of the Install workflow.
First numbers, from this pull request's run (artifact), default
fulltarget on aarch64:Motivation and Context
Closes #481: the last numbers the scorecard was missing.
Types of changes
Checklist:
ci/local-ci.sh --jobs pre-commit,titlepassed, actionlint included).ci/scorecard/test_scorecard.py: sizes, docker stats and df, reading the artifact, no artifact or token).docs/accordingly (Contributing, Scorecard).Done questions (AGENTS.md)
make scorecardcarries the numbers.machine.🤖 Generated with Claude Code
https://claude.ai/code/session_01SDzZtD95f3XeGHNfinM1qv