The GitHub Actions job "Required Checks" on texera.git/main has failed. Run started by GitHub user github-merge-queue[bot] (triggered by github-merge-queue[bot]).
Head commit for run: a302e9d4f8e98d10e74e66392495e3681633f47b / Xinyuan Lin <[email protected]> refactor(frontend): remove unused preset wrapper state (#9382) ### What changes were proposed in this PR? Remove the preset wrapper's write-only base state, unused typing subscription, unreachable search branch, constant menu flag with its `nzVisible` binding, and unused template index. Opening and save events still refresh the preset list, which is now a `readonly Preset[]` holding the arrays the service emits rather than copies of them; apply/save/delete behavior is preserved. A field without `parent.fieldGroup` is still rejected at initialization, now by the guard with a message, before the preset fetch subscribes, instead of by a `TypeError` from a discarded `filterPresetFromForm()` call. **+18/−196 lines.** The menu flag has never been enabled by production code, and the base state has no live reader. Both were introduced in [#1164](https://github.com/apache/texera/pull/1164) on January 13, 2022. ### Any related issues, documentation, discussions? Closes #9379. ### How was this PR tested? >From `frontend/`: ``` node .yarn/releases/yarn-4.14.1.cjs format:ci node node_modules/typescript/bin/tsc --noEmit -p src/tsconfig.app.json node node_modules/typescript/bin/tsc --noEmit -p src/tsconfig.spec.json node .yarn/releases/yarn-4.14.1.cjs build:ci node node_modules/@angular/cli/bin/ng.js test --watch=false --include=src/app/common/formly/preset-wrapper/preset-wrapper.component.spec.ts --include=src/app/workspace/service/preset/preset.service.spec.ts --include=src/app/workspace/component/property-editor/operator-property-edit-frame/operator-property-edit-frame.component.spec.ts ``` 350 passed; one existing skipped case. Removing the `parent.fieldGroup` check from the guard fails only its initialization test. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-6), Claude Code (Claude Opus 5.5) Report URL: https://github.com/apache/texera/actions/runs/42762066579 With regards, GitHub Actions via GitBox
