Skip to content

fix: remove unused purchaseWorkflow import and export#240

Open
Mikkelnice wants to merge 1 commit into
DelegoLabs:mainfrom
Mikkelnice:patch-5
Open

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

Conversation

@Mikkelnice

@Mikkelnice Mikkelnice commented Jun 26, 2026

Copy link
Copy Markdown

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.
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

Hey @Mikkelnice! 👋 It looks like this PR isn't linked to any issue.

If this PR is for one of the issues assigned to you as part of a Wave, please link it to ensure your contribution is tracked properly. You can do this by adding a keyword to the PR description (e.g., Closes #123), or by clicking a button below:

Issue Title
#113 [Gateway] Add Delegation Status Filter Validation Link to this issue
#95 [Soroban/Escrow] Enforce Non-Zero Escrow Amount Link to this issue
#90 [Soroban/Escrow] Add Read-Only Escrow Summary View Link to this issue
#101 [Soroban/Permissions] Reject Permission Grants with Expired Ledger Link to this issue

ℹ️ Learn more about linking PRs to issues

@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 699404d3-f37d-4eb0-abfa-a31eb7fa7d5a

📥 Commits

Reviewing files that changed from the base of the PR and between 69dd2c2 and 7551747.

📒 Files selected for processing (1)
  • apps/backend/orchestrator/src/index.ts

📝 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
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

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.

1 participant