Skip to content

Make runtime stack traces compact and easier to scan - #1594

Merged
Frotty merged 1 commit into
masterfrom
codex/compact-stack-traces
Nov 5, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/compact-stack-traces

Conversation

@Frotty

@Frotty Frotty commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Runtime stack traces repeat when calling and verbose source locations on every frame. Format function and method frames as requireStoredIndex (UnitIndexer:L87) on Jass and Lua, and use the same compact locations for callback, array-access, and lowered Lua helper frames. Preserve frame order and indentation.

Add regression coverage for both backends, generated positions, and Windows/Unix path spelling; update existing Lua output assertions.

Validation: ./gradlew test --tests tests.wurstscript.tests.StackTraceTests --tests tests.wurstscript.tests.LuaTranslationTests -PskipStdLibFetch passed all 154 tests on Windows on PR head 72355a9a4, after rebasing onto current master. Both new regression tests failed against the original formatting. Linux and macOS execution have not been verified locally.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T14:06:35.080589Z 72355a9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty
Frotty merged commit 179169d into master Nov 5, 2026
2 checks passed
@Frotty
Frotty deleted the codex/compact-stack-traces branch November 25, 2026 08:53
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.

1 participant