Problem
packages/providers/src/cloud-providers/oracle/OracleVMManager.ts is a 266-line implementation that is entirely unused in production. It is imported in ServerManagerFactory.ts but its usage is commented out:
// In ServerManagerFactory.ts
import { AWSServerManager, OracleVMManager } from "../cloud-providers";
// ...
case CloudProvider.ORACLE:
return new OCIServerManager({ ... });
// return OracleVMManager.create({ ... }); <-- commented out
OCIServerManager is the active Oracle implementation. OracleVMManager is dead code that adds confusion, maintenance burden, and import noise.
Fix
- Delete
packages/providers/src/cloud-providers/oracle/OracleVMManager.ts
- Delete
packages/providers/src/cloud-providers/oracle/OracleVMManager.test.ts
- Remove the
OracleVMManager import from ServerManagerFactory.ts
- Remove the commented-out
return OracleVMManager.create(...) block
- Clean up
packages/providers/src/cloud-providers/oracle/index.ts barrel export
Problem
packages/providers/src/cloud-providers/oracle/OracleVMManager.tsis a 266-line implementation that is entirely unused in production. It is imported inServerManagerFactory.tsbut its usage is commented out:OCIServerManageris the active Oracle implementation.OracleVMManageris dead code that adds confusion, maintenance burden, and import noise.Fix
packages/providers/src/cloud-providers/oracle/OracleVMManager.tspackages/providers/src/cloud-providers/oracle/OracleVMManager.test.tsOracleVMManagerimport fromServerManagerFactory.tsreturn OracleVMManager.create(...)blockpackages/providers/src/cloud-providers/oracle/index.tsbarrel export