Amount of save_cache Paths
When too many paths are specified to the save_cache step, the save_cache step can fail with error output similar to the following:
Creating cache archive...
Uploading cache archive...
Error uploading archive: MetadataTooLarge: Your metadata headers exceed the maximum allowed metadata size
status code: 400, request id: 519C2A1181266E40, host id: A/Ahq11R30q0fAEEaZoUyPnGQgTmrQH3GwprdI0+iaRbAFkwYHDNedpPZ3gFOLUnvAgB28c5954=
This is due to a limitation with the size of the metadata associated with the cache, as the paths form a part of the metadata. To resolve the error, reduce the number of paths specified to the save_cache step, for example, by splitting the step into multiple save_cache steps.
Comments
Article is closed for comments.