Skip to content

refactor(domain): share ordered map list appends - #14538

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/share-map-list-append
Nov 25, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
refactor/share-map-list-append

Conversation

@vincentkoc

Copy link
Copy Markdown
Collaborator

Summary

Twelve local helpers and four inlined sites independently appended values to array-valued maps. One internal function now owns the operation. Callers keep their key selection, filtering, order, and duplicate policy. This is a function-name review cleanup with no associated issue.

Verification

Compared the original and revised implementations over 11,868 appends. Key and value identity, insertion order, duplicate retention, map get/set order and existing arrays matched. All 264 production projection and indexing comparisons matched. Four isolated strict TypeScript controls verified inference, including rejected key and value types. Package-backed checks run in CI.

@vincentkoc
vincentkoc marked this pull request as ready for review November 25, 2026 14:32
@vincentkoc
vincentkoc enabled auto-merge (squash) November 25, 2026 14:32
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-25T14:32:52.600906Z
We couldn’t complete this review. Comment @codex review to try again.
77eee2f Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The refactor appears safe to merge; no actionable issues were found.

Summary

Replaces repeated array-valued map appends with appendToMapList across 12 callers.

  • Analysis callers share one ordered map append.

Reviews (1) · Last reviewed commit: "refactor(domain): share ordered map list..." · Reviewed by Greptile

@vincentkoc
vincentkoc merged commit 092daf7 into main Nov 25, 2026
41 checks passed
@vincentkoc
vincentkoc deleted the refactor/share-map-list-append branch November 25, 2026 14:40
@morluto morluto added the area: domain Domain logic, errors, and pure functions label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: domain Domain logic, errors, and pure functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants