Skip to content

x/pkgsite: no docs for GOEXPERIMENT packages #71488

Open
@SpikesDivZero

Description

@SpikesDivZero

What is the URL of the page with the issue?

https://pkg.go.dev/testing/[email protected]

What is your user agent?

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Screenshot

No response

What did you do?

At the time of writing this, the current go version is 1.23. Go 1.24rc2 is out and offers an experimental (gated) testing/synctest.

I was trying to find the docs for synctest online, as I was curious to see how it'd work.

  1. Load the testing package documentation
  2. Use the version selector to go to the rc2 docs
  3. Scroll to the "Directories" section, and did not find synctest.
  4. Verified that testing/synctest exists in go1.24rc2
  5. Clicked on slogtest and replaced slogtest in the URL with synctest.
  6. Observe that synctest does not load.

What did you see happen?

When loading [email protected], I got the error "404 Not Found".

On a whim, since pkgsite also supports GOOS in the query string, I tried passing in ?GOEXPERIMENT=synctest but still wasn't able to view the docs.

What did you expect to see?

I'd hoped to find a way to view the synctest docs online (outside of GitHub's code browser).

--

While I've used synctest as a focus in reporting this issue/feature request, I'll note that this also doesn't work with current-version experimental packages. The arena package also does not load in pkgsite.

Metadata

Metadata

Assignees

Labels

FeatureRequestIssues asking for a new feature that does not need a proposal.pkgsite

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions