CI R410: Windows MSVC modulecache file/line rewrite differs from expected source path

Open
#32,784 0 comments 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
Needs clarification
Activity status
Active
Tech stack
c, github-actions

Research direction

Start with the failing assertion in vlib/v/modulecache/modulecache_test.v around line 272, in test_cached_file_line_uses_source_file_name, which compares the rewritten string for @FILE/@LINE. The CI log for the Windows MSVC job shows the mismatch, so compare the expected and actual escaped Windows paths and line directives. Done means the test passes on Windows MSVC without weakening the assertion, and the cause is classified as a source-location bug or a platform formatting difference.

Written by the indexing model from the issue text.

Description

Executed older master486 Windows MSVC VLIB shard3 job 137464809768 completed 2026-11-23 04:14:07Z. Second distinct failure in same job: vlib/v/modulecache/modulecache_test.v:272, test_cached_file_line_uses_source_file_name, assertion on exact rewritten generated string. Preceding output indicates -gc none -ownership -cc C:\\mingw64\\bin\\cc.exe normal and production module-cache refresh succeeded; test failed comparing retained @FILE/@LINE rewriting. Need inspect expected and actual escaped Windows paths/line directives, cache key/ownership and saved C; classify semantic wrong source location vs platform formatting, not relax assertions blindly. Separate from same job R409 env contract. Status investigating; original master486 first observed 2026-11-23 04:13:49Z, source current-master applicability to be checked, no corrected native validation.

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.