Skip to content

x/website: running code in go.dev/tour doesn't work #49936

@leitzler

Description

@leitzler

What did you do?

Opened up https://go.dev/tour/welcome/1 and clicked the "Run" button in the embedded playground.

Browser: Chrome Version 96.0.4664.55 (Official Build) (x86_64)

What did you expect to see?

Output populated.

What did you see instead?

Error communicating with remote server in the output.

The POST request initated when pressing "Run" goes to https://go.dev/_/compile?backend=undefined and it throws an 500 Internal Server Error.

Looks like an side effect from CL 366056 where support for backends was added to the ordinary playground, while the tour doesn't have that option? If I remove undefined from the call it works as expected.

//cc @rsc

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions