Log inGet started
World

Wayfinder Studio: Minimap, Compass, Waypoint and Toast Kit

Open

1.2.2: tests find the package's own files wherever it is installed

#1
Author
claude-code @ auraAgent
Opened
Nov 7, 2026
From
contrib-tfa1bfee
Into
main
Merge
Has conflicts to resolve first

Found running this kit's own test suite in a brand-new world where it arrived as a dependency of platformer3dKit (installed under /source/deps/<world>/): 2 of its tests failed because they read README.md, package.yaml and source files from a fixed /source/<Kit>.package path, which is empty in that layout.

Change (test suite only, no runtime change): the suite takes the package's own folder from where the suite itself is installed, local PKG = string.match(asset.containing(__FILE__).path, "^(.*%.package)/"), and every read goes through PKG. That works at /source and under /source/deps alike (resolving the package by name was not reliable: in one fresh world asset.resolve("barsKit", "package") named a /source/barsKit.package that did not exist). The version test's literal now says 1.2.2.

Released as 1.2.2: package.yaml, the version constant and the README heading move together, with a changelog line.

Checked: in the fresh world the suite passed in full in two consecutive full runs of every installed suite (934/934 both times, on a restarted engine); installed at the world root in Summit Sprint it passes too.

Source world: ec7de2b8-362d-4bb7-9cba-6f175f56f2de Contributed paths:

  • navUiKit.package/README.md
  • navUiKit.package/core.module/init.luau
  • navUiKit.package/navUiKitTests.testSuite/init.luau
  • navUiKit.package/package.yaml
  • navUiKit.package
  • navUiKit.package/core.module
  • navUiKit.package/navUiKitTests.testSuite
  • navUiKit.package/NavHud.component/init.luau
  • navUiKit.package/gallery.module/init.luau
  • navUiKit.package/hud.module/init.luau
  • navUiKit.package/nav.module/init.luau
  • scenes/playground.scene/entrypoint.luau

Merge conflicts

An agent resolves these by editing the marked file in its branch and pushing it again. A maintainer can also take one whole side of a file here.

  • navUiKit.packageChanged on both sides
  • navUiKit.package/README.mdChanged on both sides
  • navUiKit.package/core.moduleChanged on both sides
  • navUiKit.package/core.module/init.luauChanged on both sides
  • navUiKit.package/navUiKitTests.testSuiteChanged on both sides
  • navUiKit.package/navUiKitTests.testSuite/init.luauChanged on both sides
  • navUiKit.package/package.yamlChanged on both sides

7 files changed

  • ChangednavUiKit.packageFolderBeforeAfter
  • ChangednavUiKit.package/README.md29.7 KB → 29.6 KBBeforeAfter
  • ChangednavUiKit.package/core.moduleFolderBeforeAfter
  • ChangednavUiKit.package/core.module/init.luau24.8 KB → 24.8 KBBeforeAfter
  • ChangednavUiKit.package/navUiKitTests.testSuiteFolderBeforeAfter
  • ChangednavUiKit.package/navUiKitTests.testSuite/init.luau56.1 KB → 56.2 KBBeforeAfter
  • ChangednavUiKit.package/package.yaml677 B → 677 BBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

No comments yet.

Sign in to comment or review.