Skip to content

chore(ci): drop verbose flag from the summary nix develop call - #169

Merged
mkoura merged 1 commit into
mainfrom
chore/quiet-summary-nix-develop
Sep 3, 2026
Merged

chore(ci): drop verbose flag from the summary nix develop call#169
mkoura merged 1 commit into
mainfrom
chore/quiet-summary-nix-develop

Conversation

@OlufemiAdeOlusile

@OlufemiAdeOlusile OlufemiAdeOlusile commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Stacked on #168.

Problem

Every run prints hundreds of lines like this, right after the tests
finish:

evaluating file '«github:NixOS/nixpkgs/...»/pkgs/development/compilers/gcc/default.nix'

This has no debug value and makes the end of the job log hard to read.

Cause

Two workflows call nix develop -v twice per run. The first call
builds and runs the pytest suite. Its output goes into
test_workdir/ci_step.log, not the console, so its verbosity does
not show up in the visible job log.

The second call runs publish_result_summary.py, a small script
that writes the job summary. It has no such redirect. Its -v flag
prints every nixpkgs file Nix evaluates, straight to the console.

Fix

Drop -v from the publish_result_summary.py call, in both
node_sync_test.yaml and db_sync_full_sync.yaml. The pytest build
call keeps -v, since that output is still useful on a build
failure and it is already contained in ci_step.log.

Testing

An independent review verified this directly, not just by reading
the diff: confirmed the removed -v is the second occurrence in
both files (not the pytest build call), confirmed the rendered job
summary is byte-identical with and without -v on a real run of
the devshell, and confirmed the script's own error path (a
corrupted results file) still surfaces its warning and traceback to
stderr without -v. YAML syntax and indentation are unaffected.

Correction to an earlier claim in this section: this change has
not been exercised by any dispatched CI run, and #168 does not
cover it either - both workflows here only trigger on
workflow_dispatch, and this commit is not on #168's branch, it
sits on top of it. It merges verified by direct local testing of
the devshell, not by a live GitHub Actions run.

@OlufemiAdeOlusile
OlufemiAdeOlusile force-pushed the chore/quiet-summary-nix-develop branch from 3fddea2 to d823a5f Compare September 1, 2026 03:23
Base automatically changed from feat/heartbeat-sync-progress to main September 3, 2026 10:51
The pytest nix develop call already redirects into ci_step.log. It
does not reach the console. The publish_result_summary.py call has
no such redirect. Its -v flag prints every nixpkgs file Nix
evaluates, straight to the visible job log.

This adds hundreds of "evaluating file ..." lines after every run,
with no debug value for a small Python script. Drop -v from this one
call, in both workflows. The pytest build call keeps -v.
@mkoura
mkoura force-pushed the chore/quiet-summary-nix-develop branch from d823a5f to 895b6a8 Compare September 3, 2026 10:51
@mkoura
mkoura merged commit def57fa into main Sep 3, 2026
5 checks passed
@mkoura
mkoura deleted the chore/quiet-summary-nix-develop branch September 3, 2026 10:52
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