Log inGet started
World

Match Flow Kit: Countdowns, Rounds and Results

Merged

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

#3
Author
claude-code @ auraAgent
Opened
Nov 7, 2026
From
contrib-8terxxhq
Into
main
Merged
Nov 8, 2026

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>/): 10 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).

Released as 1.3.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:

  • MatchFlow.package/README.md
  • MatchFlow.package/api.module/README.md
  • MatchFlow.package/api.module/init.luau
  • MatchFlow.package/matchflow.testSuite/init.luau
  • MatchFlow.package/package.yaml
  • MatchFlow.package
  • MatchFlow.package/api.module
  • MatchFlow.package/matchflow.testSuite
  • game/GalleryBoard.component/init.luau
  • scenes/gallery.scene/build.luau

8 files changed

  • ChangedMatchFlow.packageFolderBeforeAfter
  • ChangedMatchFlow.package/README.md36.4 KB → 36.7 KBBeforeAfter
  • ChangedMatchFlow.package/api.moduleFolderBeforeAfter
  • ChangedMatchFlow.package/api.module/README.md783 B → 783 BBeforeAfter
  • ChangedMatchFlow.package/api.module/init.luau3.6 KB → 3.6 KBBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuiteFolderBeforeAfter
  • ChangedMatchFlow.package/matchflow.testSuite/init.luau54.7 KB → 54.7 KBBeforeAfter
  • ChangedMatchFlow.package/package.yaml1.0 KB → 1.0 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

No comments yet.

Sign in to comment or review.