Skip to content

fix: remove unused purchaseWorkflow import and export#240

Closed
Mikkelnice wants to merge 2 commits into
DelegoLabs:mainfrom
Mikkelnice:patch-5
Closed

fix: remove unused purchaseWorkflow import and export#240
Mikkelnice wants to merge 2 commits into
DelegoLabs:mainfrom
Mikkelnice:patch-5

Conversation

@Mikkelnice

@Mikkelnice Mikkelnice commented Jun 26, 2026

Copy link
Copy Markdown

Closes #113


Removed import and export of purchaseWorkflow from index.ts.

Summary

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Test plan

  • pnpm typecheck
  • pnpm test
  • Manual testing (describe):

Checklist

  • Follows project code conventions
  • TODOs reference issues where applicable
  • No secrets or credentials committed

Summary by CodeRabbit

  • Bug Fixes
    • Updated the backend orchestrator’s public exports so only the supported purchase restore workflow is exposed.
    • Removed a purchase workflow export from the orchestrator entry point, reducing accidental use of an unsupported interface.

Removed import and export of purchaseWorkflow from index.ts.
@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

apps/backend/orchestrator/src/index.ts no longer imports or re-exports purchaseWorkflow. It now re-exports only restorePurchaseWorkflow from the purchase workflows module.

Changes

Orchestrator public exports

Layer / File(s) Summary
Export cleanup
apps/backend/orchestrator/src/index.ts
Removes the purchaseWorkflow import and updates the module’s public re-export to expose only restorePurchaseWorkflow.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • DelegoLabs/Delego#156: Updates the same orchestrator entrypoint to change the public purchase workflow exports.

Poem

A bunny hopped by with a sniff and a grin,
"One export out, one restore kept in!"
Soft paws on the keys, all tidy and neat,
The workflow shed a name with a flutter of feet.
🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: removing the unused purchaseWorkflow import and export.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ScriptedBro

Copy link
Copy Markdown
Contributor

Nothing was changed on this branch

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Gateway] Add Delegation Status Filter Validation

2 participants