mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4985] [MERGED] fix: linearize residual content parsers #6569
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6569
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4985
Author: @SpicyMarinara
Created: 8/13/2026
Status: ✅ Merged
Merged: 8/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/code-scanning-residuals📝 Commits (8)
48e2e99fix: linearize residual content parsers2284fdffix: preserve nested character macro detectionf89a28cfix: keep conditional macro detection linear9df97cetest: isolate group macro expansionb7cabfcfix: parse nested macro conditions in one pass96d3232perf: scan macro word operators in place97d36b6fix: preserve malformed macro condition behaviora4827a2refactor: align conditional macro analysis📊 Changes
4 files changed (+575 additions, -150 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/services/game/segment-edits.ts(+2 -2)📝
packages/shared/src/utils/macro-engine.ts(+451 -146)📝
scripts/regressions/code-scanning-content-parsing.regression.ts(+121 -2)📄 Description
Linked issue
Closes #4984
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm regression:code-scanning-securitygit diff --check[Speaker] [main]:dialogue and a multi-character bracketed macro block before release.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n] <paths>follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.