defang icon indicating copy to clipboard operation
defang copied to clipboard

TechDebt: Deployment URL generation code duplicated in Fabric and CLI

Open nullfunc opened this issue 3 months ago • 0 comments

Current: The CLI and mvp both have code to generate the URL of services. This is brittle as the CLI and mvp must match but they are not using the same code.

Ideally, the same code is used by any code needing URL generation.

Action Items

  1. Spike on how to use a common URL generator (common library or some fabric service or something else?) Keep in mind our supported platforms and things like sharding potentially affecting the URL.
  2. Show potential solutions and what solution seems most appropriate to other devs
  3. Implement the solution

nullfunc avatar Oct 06 '25 18:10 nullfunc