Skip to content

Fix previous deploy links to use type-specific pages - #1510

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/fix-previous-deploy-links
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/fix-previous-deploy-links

Conversation

@efegokdemir

@efegokdemir efegokdemir commented Oct 25, 2026 •

Copy link
Copy Markdown

Fixes #1488. The Previous Deploys list rendered every record with the generic task partial, so deploys and rollbacks linked to tasks#show and failed because their definition is nil. The list now uses Rails’ polymorphic partial renderer, preserving the correct deploy/rollback pages and generic task links; a controller regression test covers all three. Targeted tests and RuboCop passed; the full SQLite suite had six failures in unrelated DeployStatsTest checks, while that file passed in isolation.

This branch has not been deployed

No deployments
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.

Stack page links deploys/rollbacks to tasks#show, which 500s on @task.definition.id (nil for deploys)

1 participant