Skip to content

Deploy channel button in staging tree view is not responsive #2928

@kollivier

Description

@kollivier

Summary

When viewing a staging tree, when I hit the Deploy Channel button, it gives no indication of progress and it does not update to reflect either completion or error status. This enabled me to hit the button multiple times, and the subsequent call(s) failed because the staging tree had already been deployed.

Category

Select one: BUG

Usage Details

Please give details about how you were using Studio.

  • Browser: Chrome (latest) on OS X
  • Channel: be98431dc28f59099938bb0ddb76da58

Traceback or relevant snippet from browser console

Here's a Sentry error caused when I clicked the button again after the activate_channel operation had already completed:

https://sentry.io/organizations/learningequality/issues/2178197429/?project=1252819&referrer=slack

How to reproduce

  1. Run a sushi chef
  2. Click the Deploy Channel button in the bottom right
  3. Click Deploy Channel on the modal that appears, and wait.
  4. To see the Sentry error, after a minute or two click the modal button again.

Screenshots

Sorry, dismissed and will need to run again to get the error.

Real-life consequences (anything community should be aware of, for instance how it affects end users)

Confusion about whether or not staging changes were deployed, errors caused by multiple attempts to deploy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions