You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lab: emmylua test reports which of the branch's new tests ran #38
Lab issue (neospector lua/myemmylab*.lua). Part of #17.
Problem
AGENTS.md says "After a run, grep the log for one of the branch's new test names." But gndx emmylua test collapses cargo's output to one line (test: 1911 test(s) of emmylua_code_analysis passed in …), so no test name ever appears in the log. #37's full-suite log had 3 lines and none named test_union_with_bare_question_is_optional. The only proof was a second run with --filter=<name> and reading "1 test(s)".
An agent that follows the rule finds nothing, then either reruns (wasted time) or takes "no FAILED" as proof the test ran (the shared-target trap AGENTS.md warns about).
Want
After a run, list the #[test] names the branch adds or changes (git diff <merge-base>), each marked ran / did not run (from libtest's --list, or the unfolded output).
Exit non-zero when one of them did not run.
Then AGENTS.md's "grep the log" sentence becomes "the lab reports which of the branch's new tests ran".
Activity
gndx emmylua, Lua-side gates) #17