Skip to content

Spring Cleaning#30

Open
gaymeowing wants to merge 8 commits into
Roblox:masterfrom
gaymeowing:master
Open

Spring Cleaning#30
gaymeowing wants to merge 8 commits into
Roblox:masterfrom
gaymeowing:master

Conversation

@gaymeowing
Copy link
Copy Markdown

@gaymeowing gaymeowing commented Apr 28, 2026

  • Remove ipairs and pairs usage
  • Cleanup load option code a bit by using ternary with a macro function
  • Cleanup log.pretty by using table.concat and removing excessive concat operator usage
  • Make log use the nocolor argument on richterm formatters
  • Fix log.update not removing the previous line if colorsEnabled is false
  • Stringify varadics correctly in log, as using or would lead to only the first value of the varadic being printed
  • Froze all static tables
  • Simplified luaGlobals injection, now only uses one array instead of 2 as it makes use of ;
  • Replaced getCallerInfo with a simple ternary that uses the level argument to debug.traceback in the logging utility as the format of debug.traceback shouldn't be relied on.
  • Improved runProcess by removing the unessasary pcall, and making it take in a varadic making its API a bit nicer.
  • Improve spinner code via:
    • using constant modulus instead of #spinnerChars
    • using richterm.combine for spinner coloring (helps with readability)
    • using a macro function for seconds formatting
    • having spinnerChars as a constant table

* remove ipairs and pairs usage
* cleanup load option code a bit by using ternary with a macro function
* cleanup log.pretty by using table.concat and removing excessive concat usage
* make log use the nocolor argument on richterm formatters
* fix log.update not removing the previous line if colorsEnabled is false
* stringify varadics correctly in log, as using `or` would lead to only the first value of the varadic being printed
* freeze log module
* improve spinner code via using constant modulus instead of `#spinnerChars`, using richterm.combine for spinner coloring, using a macro function for seconds formatting, and making spinnerChars a constant table
@gaymeowing gaymeowing requested a deployment to CI April 28, 2026 14:16 — with GitHub Actions Abandoned
@gaymeowing gaymeowing requested a deployment to CI April 30, 2026 14:45 — with GitHub Actions Abandoned
@gaymeowing gaymeowing requested a deployment to CI April 30, 2026 17:52 — with GitHub Actions Abandoned
@gaymeowing gaymeowing requested a deployment to CI April 30, 2026 17:53 — with GitHub Actions Abandoned
* Make runProcess take in a varadic, as it makes for a nicer API
Copy link
Copy Markdown
Member

@raymondnumbergenerator raymondnumbergenerator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! could you pull the latest changes that bumps to the stable lute release and I'll approve this

Comment thread scripts/test.luau

log.info("Rerunning tests using load.version and without optional variables")

runProcess({
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

failing from missing the {} here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants