Skip to content

[Chore] Run generated/kbapi transform tests in CI #5548

Backlog

Description

@tehbooom

generated/kbapi/transform_schema.go and transform_schema_test.go both carry //go:build ignore, so the transform tests never run in make targets or CI.

This hid a real problem: the SLO float-format transform targeted component names that no longer existed and silently did nothing (fixed in #5539).

Proposal: add a make target (for example go test -tags ignore over the transform files, or a go run-based check) and wire it into make check-lint or the unit test workflow.

Raised in the review of #5539.

Activity

  1. added
    needs-spec
    triaged
    on Dec 2, 2026
  2. github-actions commented on Dec 2, 2026

    @github-actions
    Contributor

    Thanks for filing this! The needs-spec label has been added to this issue.

    This issue is well-specified enough to move directly into the spec-writing phase: it names the exact affected files (generated/kbapi/transform_schema.go and transform_schema_test.go), explains the root cause (the (go/redacted):build ignore tag excluding them from make targets and CI), cites the concrete impact already caused (the silent SLO float-format transform bug fixed in #5539), and proposes a specific remediation (a dedicated make target, e.g. go test -tags ignore or a go run-based check, wired into make check-lint or the unit test workflow). A maintainer will review it and queue it for implementation planning.

    If this classification looks wrong or there is additional context to add, please leave a comment so a maintainer can adjust the label manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-spectestingtriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions