Skip to content

Remaining gaps after the #207 static checks #248

Open

Description

@JuroOravec

Follow-up to #207. With #229–#234, #236, #239 and #242–#244 merged, Citry built from this repository reports 54 of its 61 applicable benchmark mistakes before the app runs (#241). These are the known limits that remain.

Benchmark cases still caught late or missed

  1. m61: a FastAPI route parameter typed only in the function signature (project_id: int). The link check can't see that type.
  2. m30, m60: emit payload types and handler argument counts are checked only when emits are typed. Array-form emits and untyped handlers stay unchecked.
  3. m42: only values wrapped in citry.Secret are caught. A secret in a plain string can't be detected.
  4. m14: a hydration mismatch is reported only by the development-mode browser check. It can't be checked statically.

Checks that could reach further

  1. Editor coverage: these rules run in citry check with the app loaded, but not in the editor:
    • the three CSS class rules and the CSS variable rule;
    • the missing #c-key rule.
  2. Expressions in server-event payloads aren't type-checked; only literals are (proposal 3/7 in docs/design/issue_207_proposals.md, deferred).
  3. --static discovery: following imports to find components whose base class lives in another module (proposal 1, Option 3, deferred).

Smaller items

  1. A <c-element c-is="tr"> inside a table still fails (noted in fix: render component calls inside tables, escape NUL in compiled templates, fix the landing demo (#235) #239).
  2. A listener that's only an object literal, such as { a: b }, passes the check although Vue rejects it.
  3. A key on <c-component> inside a loop isn't checked.
  4. The Rust parser's #c-key clash message still has the old wording.

(#240, the error for a server expression that reads a Vue v-for variable, is fixed in #247.)

Activity

  1. added
    next-sprint
    on Oct 28, 2026
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

    next-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions