Skip to content

Build & Test: @intlayer/core type tests fail on main — module_augmentation has no exported member 'LocalizedPath' #536

Closed

Description

@theluckystrike

Opening this from a docs-only PR (#535), so the failure is not caused by the diff.

Run: runs/42434373036 — head 620.../fix/docs-he-intlayernode-tag, forked from main@e6203312 (chore: update packages dependencies).

Job: 🔨 Build & Test (ubuntu-latest, lts/*, 1.4.4) → fail in 3m20s.

Failed Suites 2 · Failed Tests 5
FAIL  src/localization/getLocalizedPath.test-d.ts
TypeCheckError: Module '"@intlayer/types/module_augmentation"' has no exported member 'LocalizedPath'.
TypeCheckError: Module '"@intlayer/types/module_augmentation"' has no exported member 'LocalizedPathname'.
TypeCheckError: Module '"@intlayer/types/module_augmentation"' has no exported member 'LocalizedUrl'.   (×2)
TypeCheckError: Expected 1 arguments, but got 0.                                                     (×5)

Why it looks like a version/config mismatch rather than a missing source type: packages/@intlayer/types/src/module_augmentation.ts on main does declare LocalizedPath (line 353), LocalizedUrl (line 397) and LocalizedPathname. The tests resolve @intlayer/types/module_augmentation to a build/published artifact that predates those declarations — consistent with the chore: update packages dependencies commit on main at 15:51 today, which changed package versions without a matching rebuild of the augmentation module.

Repro: open any docs-only PR from current main and let Build & Test run; same 5 errors. #519 hits it too.

If the intended fix is a rebuild/publish ordering change, happy to send the PR — but I did not want to guess at your release pipeline from a fork.

Activity

  1. aymericzip commented on Nov 9, 2026

    @aymericzip
    Owner

    Thanks for reporting @theluckystrike

    I have fixed the CI
    Commit 4733ccb
    Test PR #538

    Closing it

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions