Skip to content

Deployment process page is slow to load when project has many steps using the same step template #9945

@HuyPhanNguyen

Description

@HuyPhanNguyen

Severity

Reproducible on self-hosted 2025.4.10294. Confirmed on latest cloud instance

Version

2025.4.10294

Latest Version

I could reproduce the problem in the latest build

What happened?

Multiple pages are slow to load when a project has 100+ steps referencing the same step template (e.g. "Deploy Child Octopus Deploy Project" community template in an orchestrator project).

Measured on a local reproduction with 105 steps (each with an ~86KB script from a step template):

Page API Call Time Size Count
Project page useronboarding/{projectName} ~21s 2.9kB x2
Project page projects/{id}/summary ~19s 1.6kB x1
Process list page deploymentprocesses ~24s 706kB x2
Process editor page deploymentprocesses ~18s 706kB x1
Process editor page variables ~18s 5.7kB x1

Reproduction

  1. Create a step template with a large script (~86KB), or use the "Deploy Child Octopus Deploy Project" community step template
  2. Create a project with 100+ steps all using that step template
  3. Navigate to the project page and observe load time
  4. Navigate to the deployment process page and observe load time
  5. Click into a step to open the editor and observe load time

Error and Stacktrace

No error. Performance issue only.

More Information

No response

Workaround

No practical workaround. The script duplication comes from step template usage which cannot be avoided when using community step templates like "Deploy Child Octopus Deploy Project" in orchestrator projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis issue represents a verified problem we are committed to solving

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions