Skip to content

fix: remove unused purchaseWorkflow#237

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

fix: remove unused purchaseWorkflow#237
Mikkelnice wants to merge 1 commit into
DelegoLabs:mainfrom
Mikkelnice:patch-1

Conversation

@Mikkelnice

@Mikkelnice Mikkelnice commented Jun 26, 2026

Copy link
Copy Markdown

Removed purchaseWorkflow export from index.ts while keeping restorePurchaseWorkflow.

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

  • Refactor
    • Streamlined the public interface for the backend orchestration module by removing an unused export. This should not change existing user-facing behavior.

Removed purchaseWorkflow export from index.ts while keeping restorePurchaseWorkflow.
@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: 657197ac-5ccb-4374-89d8-5a49d8bcf72a

📥 Commits

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

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

📝 Walkthrough

Walkthrough

The orchestrator barrel no longer imports or re-exports purchaseWorkflow. It still re-exports restorePurchaseWorkflow and leaves the other existing exports unchanged.

Changes

Orchestrator export surface

Layer / File(s) Summary
Barrel import and export update
apps/backend/orchestrator/src/index.ts
Removes the purchaseWorkflow import and narrows the purchase workflow re-export list to restorePurchaseWorkflow only.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • DelegoLabs/Delego#156: Similar orchestrator barrel changes around removing purchaseWorkflow and keeping restorePurchaseWorkflow.

Poem

🐰 I hopped through the barrel, tidy and neat,
One workflow stayed, one took its leave from the street.
restore still sparkles, the exports now sing,
A small little hop for the orchestrator spring.

🚥 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 summarizes the main change: removing the unused purchaseWorkflow 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.

@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

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