Skip to content

Investigate API typos found by introspection TypoTest #25397

Description

@rolfbjarne

The introspection TypoTest spell-checks our API names and maintains an allowed-word list. A recent cleanup of this test (PR #25393) identified a number of words that appear to be genuine typos in Apple's APIs (or our bindings of them).

Two analysis files have been created with the full list of typos and their source references:

Each typo entry includes a permalink to the source code and the actual code line.

Task

Go through the list of typos in both files and decide for each one:

  1. Real typo — fix it: Add a properly spelled API alongside the misspelled one, and obsolete the old one. This applies to typos in our bindings (e.g. missing camelCase splits like Adjustmentfor → AdjustmentFor, or misspellings like Achivements → Achievements).

  2. Not a typo / Apple's spelling: If the misspelling originates from Apple's API and we must match it exactly, document why the word is in the allowed list (e.g. Referer is the historic HTTP spelling from RFC 2616). These should not be "fixed" but could benefit from better documentation.

Examples from the lists

Word Issue Category
Achivements achievements (missing e) Our binding — fixable
Adjustmentfor AdjustmentFor (missing camelCase) Our binding — fixable
Referer referrer (RFC 2616 spelling) Apple/HTTP convention — document
Tesselation tessellation (single l) Apple's spelling — document
Cancellable cancelable (British variant) Acceptable variant — not a typo

Activity

  1. added
    tests
    on May 12, 2026
  2. added theissue type on May 12, 2026
  3. added this to the Future milestone on May 12, 2026
  4. rolfbjarne commented on Jun 15, 2026

    @rolfbjarne
    MemberAuthor

    CI Post-Mortem Update (June 8–15, 2026)

    The Introspection.ApiTypoTest.TypoTest failure continues to affect all PR builds on macOS. This is a shared regression — not PR-specific.

    Occurrence Summary

    PR Build Bot Direct Link
    #25657 14376282 VSCXSDKs-MINI-033.Tahoe.arm64 introspection → Run tests
    #25656 14376284 VSCXSDKs-MINI-059.Tahoe.arm64 introspection → Run tests
    #25607 14376288 MACIOSMINI-028.Tahoe.arm64 introspection → Run tests
    #25379 14376293 MACIOSMINI-008.Tahoe.arm64 introspection → Run tests

    Total: Failed in 4 builds across 4 unrelated PRs this week (100% failure rate for macOS introspection).

    Error Details

    All builds report the same set of typos on introspection/macOS/Debug:

    Common typos (all 4 builds):

    [FAIL] Unnecessary allowed typo "Arae" is not present in any API name
    [FAIL] Unnecessary allowed typo "Mada" is not present in any API name
    [FAIL] Unnecessary allowed typo "Nanaco" is not present in any API name
    [FAIL] Unnecessary allowed typo "Otsu" is not present in any API name
    [FAIL] Unnecessary allowed typo "Suica" is not present in any API name
    [FAIL] Unnecessary allowed typo "Waon" is not present in any API name
    

    These appear to be PKPaymentNetwork values that were removed from the macOS 26 SDK.

    Additional typos (3/4 builds):

    [FAIL] Typo in METHOD name: get_TimelapseVideosFilter - Timelapse, Type: PHPickerFilter
    [FAIL] Typo in METHOD name: get_PrevColorTexture - Prev, Type: IMTLFXFrameInterpolatorBase
    [FAIL] Typo in METHOD name: set_PrevColorTexture - Prev, Type: IMTLFXFrameInterpolatorBase
    

    Classification

    This failure is a shared regression — it affects every macOS introspection run regardless of PR content. The unnecessary allowed typos suggest these words (Arae, Mada, Nanaco, Otsu, Suica, Waon) were removed from the API and their entries in the allowed typo list should be cleaned up. The method name typos ("Timelapse", "Prev") need to either be added to the allowed list or the binding names corrected.


    This comment was automatically generated by CI post-mortem analysis.

  5. added a commit that references this issue on Jun 17, 2026
    4e0d12a
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

    tests

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions