Skip to content

CI lint fails on main with 190 ty union-attribute diagnostics #9225

Closed as duplicate

Description

@ralphbean

What happens

Rerunning the CI test job on main at 96e0c43384dfbd1d57b80711ff75a3b74b753156 fails in make lint-all. The ty hook reports 190 missing-union-attribute diagnostics, all in skills/nextwork/scripts/nextwork_test.py. The tests access fields such as .status, .reason, .eliminated, and .suggested_actions on values inferred as Classification | None. The Go test step is skipped after lint fails.

The hook invokes uvx ty check --ignore import-not-found --ignore unresolved-attribute without a ty version constraint. The failing run downloads ty before reporting the diagnostics.

What should happen

The required lint job on main should pass consistently for an unchanged commit.

How to reproduce

  1. Inspect the rerun of the CI test job on main.
  2. Observe Run make lint-all fail at ty check with 190 missing-union-attribute diagnostics in skills/nextwork/scripts/nextwork_test.py.

The same merge SHA for PR #9222 passed ty check on attempt 1 and produced these diagnostics on attempt 2. This failure occurs before Go tests and is separate from the package timeout tracked in #9210.

Related: #9133 tracked the earlier renamed-rule failure in the ty hook; that issue was addressed by #9134.

Activity

  1. ralphbean commented on Nov 9, 2026

    @ralphbean
    MemberAuthor

    /fs-code

  2. ralphbean commented on Nov 9, 2026

    @ralphbean
    MemberAuthor

    /fs-code ty 0.0.100 was released 16 minutes ago and is probably what is breaking us. Fix this in the first pass by pinning us to ty==0.0.99 https://pypi.org/project/ty/#history the last known good version

  3. fullsend-ai-triage commented on Nov 9, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 8:33 PM UTC · Completed 8:35 PM UTC

    Commit: 96e0c43 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.17

  4. fullsend-ai-coder commented on Nov 9, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Code · ⚠️ Cancelled · Ended 8:33 PM UTC

    Commit: 96e0c43 · View workflow run →

  5. added
    duplicate
    on Nov 9, 2026
  6. fullsend-ai-triage commented on Nov 9, 2026

    @fullsend-ai-triage

    This failure has the same root problem as #9226: the ty pre-commit hook runs uvx ty with no version, so CI picked up ty 0.0.100, which renamed one rule and split out missing-union-attribute. That produces the 190 diagnostics you saw in nextwork_test.py.

    #9226 already covers the first-pass fix requested here, pinning ty to 0.0.99 with the current ignores. It also covers pinning the other unpinned uvx/npx calls and adding Renovate coverage, so future bumps arrive as reviewed PRs. A code run is already in progress there, and running a second implementation from this issue would produce a competing PR.

    Closing this as a duplicate. Please follow progress on #9226. The Go test timeout mentioned in the report remains tracked separately in #9210.

  7. fullsend-ai-coder commented on Nov 9, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 8:35 PM UTC · Completed 8:37 PM UTC

    Commit: 96e0c43 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $0.13

  8. fullsend-ai-coder commented on Nov 9, 2026

    @fullsend-ai-coder
    Contributor

    ℹ️ No PR created — agent determined no changes needed

    The code agent ran and evaluated issue #9225, but did not produce changes to submit as a pull request.

    Reason: Agent did not create a feature branch (current: 'main')

    Workflow run: https://github.com/fullsend-ai/fullsend/actions/runs/42694030724

    Retry with /fs-code if appropriate.

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

    duplicate

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions