guardian / grid

The Guardian’s image management system
https://www.theguardian.com/info/developer-blog/2015/aug/12/open-sourcing-grid-image-service
Apache License 2.0
1.44k stars 119 forks source link

fix the zipping of `image-counter-lambda` as was failing to execute #4182

Closed twrichards closed 8 months ago

twrichards commented 8 months ago

…since 5th October 🤦‍️ (with Cannot find module './sourcemap-register.js')

Made quite a boo boo in https://github.com/guardian/grid/pull/4146 where I was only ZIPing just index.js (rather than the whole dist dir as before by https://github.com/guardian/node-riffraff-artifact) - this PR puts that right.

Annoyingly this was missed as major reaping was going on at the same time, and I confused the alarms going off about image count (as they will have been firing from 'no data' rather than in breach of their threshold).

twrichards commented 8 months ago

image fix worked in TEST and I can also see the metrics have resumed in CloudWatch

prout-bot commented 8 months ago

Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, collections, media-api, kahuna (merged by @twrichards 38 minutes and 39 seconds ago) Please check your changes!