Skip to content

files.txt in each AMP release is incomplete #25989

@mattwomple

Description

@mattwomple

What's the issue?

Each AMP release contains a listing of all files that are included in the release, but it is incomplete. Some files exist in the CDN release folder that are not generated by the build process: gulp dist.

How do we reproduce the issue?

  1. Build AMP release 1910161528000 locally: git checkout 1910161528000 and gulp dist
  2. Verify all files generated by the build process are included in https://cdn.ampproject.org/rtv/011910161528000/files.txt
  3. Notice https://cdn.ampproject.org/rtv/011910161528000/v0/validator.js exists but v0/validator.js is not one of the files generated by gulp dist (and hence not in files.txt)

Additional context

Having a complete list of files included in each release would be helpful for self-hosting the amp-runtime, see issue #25873 .

Slack chat:

mattwomple thanks erwinm. to your knowledge, is validator.js the only additional file available from the CDN beyond what gulp dist outputs?
erwinm That's accessible through the cdn? I believe there are a few other artifacts. One i can think of for example is viewer integration scripts for the Android google app

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions