Skip to content

refactor(export): keep ETL path scratch state local - #31347

Closed
XuPeng-SH wants to merge 2 commits into
mainfrom
codex/etl-path-transient-state-20261026
Closed

XuPeng-SH wants to merge 2 commits into
mainfrom
codex/etl-path-transient-state-20261026

Conversation

@XuPeng-SH

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

Refs #29249

What this PR does / why we need it:

Remove the unread ETLPath.fileType state and keep filename scratch local to Parse. Parsed table/timestamps remain the stored result; no replacement state is introduced.

Preserve parser and builder APIs, path/filename validation, legacy and v2 naming, exact trimming/type decisions, partial state on errors and original diagnostic text. All maintained tests/assertions remain unchanged.

Validation: the full table package passes (13 top-level / 34 named tests, no failures or skips). A temporary public-parser probe passes 16 named cases before and after, including malformed inputs, repeated parsing, nil receiver and real builder roundtrips; all 15 table/timestamp/error-text outcomes match. Formatting, go vet, all four configured molint analyzers and incremental golangci-lint pass without diagnostics.

Whole-source reachability inspection covers all 6,824 tracked Go files. No open PR changes the edited file or its package across 102 complete file lists.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@XuPeng-SH

XuPeng-SH commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

mo-bot review · mo-bot-local · superseded

Commit: 2344fbd0dda548f8f65c349905c4c3184e4c3ca3

Review belongs to an older commit; it is not a review of the current head.

@XuPeng-SH XuPeng-SH closed this Oct 27, 2026
XuPeng-SH added a commit that referenced this pull request Oct 27, 2026
## What type of PR is this?

- [ ] API-change
- [ ] BUG
- [ ] Improvement
- [ ] Documentation
- [ ] Feature
- [ ] Test and CI
- [x] Code Refactoring

## Which issue(s) this PR fixes:

Refs #29249

## What this PR does / why we need it:

Remove unused helpers, duplicate bookkeeping and transient state whose
consumers have already been retired. This consolidates the 19 closed
cleanup PRs into one reviewable change on current main; each affected
file matches its original published PR, with no additional cleanup.

The cleanup covers TAE task/logstore/merge/RPC helpers, HAKeeper replica
views, obsolete ETL writer and path state, batch/vector constructors,
RPC client bookkeeping, metrics/CDC/fulltext state, MongoScan, message
receivers, fixture helpers and interactive viewport state. Retained
execution, ownership, cancellation, parser/error, replay, plugin
registration and MySQL driver registration paths remain intact.

Supersedes #31325, #31327, #31329, #31331, #31332, #31333, #31334,
#31335, #31336, #31337, #31339, #31340, #31341, #31342, #31343, #31344,
#31345, #31346 and #31347. Already merged #31323/#31324 and Python SDK
#31322 are excluded.

Validation on the combined change: all 30 changed owning packages built;
28 ran tests, with 2,066 top-level / 4,580 named cases passing and two
existing external-data ETL tests skipped. The two support packages have
no tests. Existing component-level race, before/after probes and
consumer checks were reviewed for reuse. Formatting, go vet and
incremental golangci-lint passed; forced all-four-analyzer molint
reported six findings already reproduced at the baseline, with no new
findings. These are local focused checks, not a full CI or GPU run.
@XuPeng-SH
XuPeng-SH deleted the codex/etl-path-transient-state-20261026 branch November 1, 2026 05:01

This branch had an error being deployed

1 failed deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor Code refactor size/S Denotes a PR that changes [10,99] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants