CI: performance-regressions exits on obsolete -new-compiler option after V bootstrap (R400)

Open
#32,770 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, shell

Research direction

Start in .github/workflows/other_ci.yml, the performance-regressions job, and cmd/tools/vrepeat.v, which runs the ./v repeat benchmark. The payload says neither file contains a literal -new-compiler, so first capture the exact failing argv, VFLAGS and VEXE from a native V run. Done means the benchmark runs its measurement iterations without the unknown-option exit, with the existing budgets and warmups unchanged.

Written by the indexing model from the issue text.

Description

Actually executed historical master CI failure (R400)

  • Failing SHA: 593657221cd2ef2063d41979a7b827e8cb12ecd5 (2026-11-22 19:51 UTC; older than current master).
  • Executed job: master CI 45063154193 / performance-regressions job 137340575323; completed 2026-11-23 00:52:37 UTC, genuine failure, not a queued, canceled, deadline, or intentionally failing fixture.
  • Diagnostic from full 29,909-byte hosted log: after successful local V bootstrap and building comparison vmaster/v, the performance job executes its benchmark path and exits 1 with exactly unknown option \-new-compiler``. No performance measurements/regression comparisons completed, so this is a measurement harness/obsolete option error, not proof of a compiler performance regression.
  • Paths/commands: .github/workflows/other_ci.yml performance-regressions job, cmd/tools/vrepeat.v, ./v repeat --max_time 400 --series 3 --runs 20 --nmins 2 --nmaxs 5 --warmup 3 --fail_percent 10 -t 'cd {T} ; ./v -o hw.c examples/hello_world.v' . ./vmaster (and subsequent V self benchmark). Workflow uses VFLAGS=-cc gcc, but neither workflow benchmark command nor cmd/tools/vrepeat.v contains an explicit literal -new-compiler at current master. Therefore exact source of the obsolete flag remains unproven: instrument final process argv/environment and cloned comparison compiler before patching.
  • Historical comparison: master 59365722 followed removal of legacy compiler fallback in upstream PR #32745. That timing makes a stale hidden option plausible, but an old red job alone does not establish introduction by that PR or that all failures are related. Live master 0154c532573d00a09fa0909cde5b42d249a42553 retains the performance-workflow/benchmark source at the inspected blobs; its downstream matching performance job has not executed. Current applicability: source unchanged / invocation unknown.

Repair criteria

  1. Capture the exact failing argv, VFLAGS, VEXE, optional wrapper/helper, and V version immediately before the failing command, without suppressing diagnostics.
  2. Identify whether -new-compiler comes from a transient helper, launcher, inherited environment, or a stale benchmark script; remove or update only the obsolete source, preserving the two actual performance comparison series, budgets and warmups.
  3. Run the corrected native V performance job against the same comparison revisions; check that the benchmark executes its measurement iterations rather than merely exiting 0 before them. Add a focused test/contract for the supported compiler flags where appropriate.
  4. Do not inflate time budgets, skip the lane or claim current master green based on queued jobs.

Status: R400 investigating, first/last observed 2026-11-23 00:52:37 UTC, blocked on exact argv/provenance and native V reproduction; no task patch or validated merge yet.

Dominant language
V
Stars
38.1k
Forks
2.3k
Avg merge
1d 1h
Merged PRs (30d)
682

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vlang/v

All issues in vlang/v

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.