Skip to content

Support and run analysis on CI#99

Closed
JohnnyMorganz wants to merge 7 commits intoprimaryfrom
run-analysis
Closed

Support and run analysis on CI#99
JohnnyMorganz wants to merge 7 commits intoprimaryfrom
run-analysis

Conversation

@JohnnyMorganz
Copy link
Copy Markdown
Collaborator

@JohnnyMorganz JohnnyMorganz commented Mar 1, 2025

This PR:

  • Introduces require support to the lute --check command. This is copied from luau-analyze
  • Creates a set of definition files in a definition folders for C-based apis under @lute. This alias is registered in the .luaurc file
  • Adds a CI check to run analysis on std, batteries and examples

A couple points:

  • Decided to only support new solver (LuauSolverV2 is force-enabled) for dogfooding purposes.

Still need to fix some type errors

Copy link
Copy Markdown
Member

@aatxe aatxe 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 to me, besides the nit about vm.create

@aatxe
Copy link
Copy Markdown
Member

aatxe commented Mar 2, 2025

Looks like the CI setup isn't quite right though?

JohnnyMorganz and others added 4 commits March 2, 2025 11:39
Co-authored-by: ariel <aweiss@hey.com>
Some luau bugs, but also Luau doesn't like the forward
declared `serialize_any` and `deserialize` functions using
a local, so we switch it to a normal function.
@JohnnyMorganz
Copy link
Copy Markdown
Collaborator Author

Looks like the CI setup isn't quite right though?

Was waiting on the other PRs. A rebase fixed it now, but we do get a lot of type errors. Will try and fix some of them.

@vrn-sn
Copy link
Copy Markdown
Member

vrn-sn commented Oct 9, 2025

Saw this PR was closed. Are we good to delete the branch?

@JohnnyMorganz
Copy link
Copy Markdown
Collaborator Author

Yeah should be fine (would be nice to get analyze running in CI someday)

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.

3 participants