Repository navigation
🪪 [2/3] feat(cli): add preference upload state and pooling key hooks - #701
Open
michaelfarrell76 wants to merge 1 commit into
Conversation
…y hooks Add schema and receipts PersistedState adapters for the upload-preferences artifacts, and let createPoolingCommandUi forward export hotkeys, export status, and custom keys to createExtraKeyHandler. Split out of #11.
@transcend-io/airgap.js-types
@transcend-io/cli
@transcend-io/custom-function-types
@transcend-io/design-tokens
@transcend-io/internationalization
@transcend-io/privacy-types
@transcend-io/sdk
@transcend-io/secret-value
@transcend-io/type-utils
@transcend-io/utils
commit: |
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Multi identifier preference uploads have been stuck in one giant stale PR, breaking it down so we can actually merge, test, and ship it as a major.
Stack (replaces #11)
main←michaelfarrell76/pref-upload-sdk-building-blocksmichaelfarrell76/pref-upload-sdk-building-blocks←michaelfarrell76/pref-upload-cli-statemichaelfarrell76/pref-upload-cli-state←michaelfarrell76/multi-identifier-preference-uploadsMerge in order: #700 → this PR → #702.
Summary
makeSchemaStateandmakeReceiptsState, thePersistedStateadapters the new upload flow uses for the column-mapping config and per-file receipts. Both live underupload-preferences/artifacts/, so the codebase structure test needs no allowlist change.createPoolingCommandUitakes an optional 4th argument and forwardsexportMgr,exportStatus, andcustomkeys tocreateExtraKeyHandler. 3/3 uses this for theFhotkey that writes the failing-updates CSV.transformCsv.tsfrom [cli] multi identifier preference record uploads #11. It was customer-specific, markedFIXME remove, and had no callers.Test plan
pnpm -F @transcend-io/cli typecheckschemaState.test.ts,receiptsState.test.ts, plus a passthrough case increatePoolingCommandUi.test.tsupload-preferencescommand tests andcodebase.test.ts