Skip to content

fix: remove unused purchaseWorkflow import and export#241

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

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

Conversation

@Mikkelnice

@Mikkelnice Mikkelnice commented Jun 26, 2026

Copy link
Copy Markdown

Removed purchaseWorkflow export 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

  • Chores
    • Removed an outdated workflow export from the orchestrator entry point.
    • Kept the existing workflow machine and related types available through the same module.

Removed purchaseWorkflow export from index.ts.
@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: af1be4e6-1baf-458c-8007-3c538c6a4e91

📥 Commits

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

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

📝 Walkthrough

Walkthrough

The orchestrator entry point stops re-exporting purchaseWorkflow and keeps exporting restorePurchaseWorkflow, PurchaseWorkflowMachine, WorkflowSnapshot, PurchaseState, and PurchaseEvent.

Changes

Purchase workflow export surface

Layer / File(s) Summary
Export surface update
apps/backend/orchestrator/src/index.ts
purchaseWorkflow is removed from the module imports and exports; restorePurchaseWorkflow remains exported alongside the existing machine and type exports.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • DelegoLabs/Delego#156 — Also changes purchase workflow exports, including replacing purchaseWorkflow with restorePurchaseWorkflow.

Poem

I hopped by the export tree, 🐇
And nibbled one old symbol free.
Restore still gleams in the moonlit air,
With machine and types kept safe and bare.
A tidy burrow, light and new,
Wiggle, wiggle—review complete too!

🚥 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 clearly matches 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.

@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