Skip to content

CI: v-apps-compile has 6 pre-existing failures blocking PR CI (vtcc, discord.v, UI, v-analyzer) #26853

Description

@quaesitor-scientiam

Summary

The v-apps-compile job has 6 steps that fail on master (confirmed in run 24272923504), meaning every PR sees these failures regardless of its content. This makes it hard to distinguish real regressions from pre-existing noise.

Failing steps (all pre-existing on master)

1. Test vtcc

Error: V panic: result not set (failed) during vtcc/make.vsh, caused by a C compilation error:

src/tccelf.v:15:21: warning: value `0x80000000` overflows `int`, this will be considered hard error soon
const shf_private = int(0x8000_0000)
cc: error: invalid operand types for binary operation

Fix needed in: https://github.com/felipensp/vtcc
Change const shf_private = int(0x8000_0000)const shf_private = u32(0x8000_0000) (and similarly shf_dynsym = int(0x4000_0000)u32). The overflow causes bad generated C, and make.vsh does not handle the resulting compilation error, triggering panic_result_not_set.

2. Test discord.v

Error: Hundreds of instances across src/*.v:

error: function `x.json2.raw_decode` has been deprecated since 2025-10-10; use `decode[json2.Any]` instead

Fix needed in: the discord.v repo — replace all x.json2.raw_decode(s)! calls with json2.decode[json2.Any](s)!.

3. Build V UI examples

Errors: unused parameter and immutable variable errors in ~/.vmodules/ui/component/*.v and 7guis/*.v.
Fix needed in: https://github.com/vlang/ui — add _ prefix to unused callback parameters and declare mutable receivers with mut.

4. Install UI through VPM and make sure its examples compile

Same root cause as #3.

5. Build vlang/v-analyzer

Error: Type incompatibilities in v-analyzer's src/analyzer/psi/TypeInferer.v:

error: incompatible type for argument 1 of 'src__analyzer__psi__infer_type'
error: invalid initializer
error: incompatible types when returning type 'int' but 'Type' was expected

Fix needed in: https://github.com/vlang/v-analyzer

6. Format vlang/v-analyzer

Errors:

  • unexpected token '$' in src/metadata/stubs/vweb.v:36 (pub const $vweb = VWebTemplate{}) — vfmt cannot handle this stub syntax
  • Unformatted attribute stubs (Deprecated.v, DeprecatedAfter.v, compile_time.v)
  • const names cannot contain uppercase letters for @FN, @METHOD, etc. in compile_time.v

Fix needed in: https://github.com/vlang/v-analyzer

Action items

  • PR to felipensp/vtcc: fix shf_private/shf_dynsym overflow (use u32) and handle make.vsh errors
  • PR to discord.v repo: replace x.json2.raw_decode with json2.decode[json2.Any]
  • PR to vlang/ui: fix unused params and mut receiver issues
  • PR to vlang/v-analyzer: fix TypeInferer type mismatches and stub formatting issues

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions