Skip to content

Conversation

@thisismana
Copy link

No description provided.

thisismana and others added 30 commits January 8, 2021 08:22
* Reimplemented logger and logger unit test suite to not interfere with global side effects of the other giant monolithic test suits by awslabs

* Refactored logger calls to provide usefull information and document what the provided data is about

* Refactored logger calls in image request module to provide usefull information and document what the provided data is about

* Refactored logger calls in image handler module to provide usefull information and document what the provided data is about
also pushing all docker tags.
* Implemented logging with the right JSON format with exception logging and additional info about the cloudwatch event.

* Reverted pretest script
* field names
* log levels: removed "log"
* removed logging of binary image data
* some more cache headers: 4xx will cache for a while, 5xx will not
* bumped to latest, merged some updates from upstream

* - adapted for new key pattern `/$YEAR/$MONTH/$MEDIA_ID/` ignoring file name and always using `image.$EXT`
- roundCrops
- improved local development by fixing invoke.js and making the logger env-aware

* - adapted for new key pattern `/$YEAR/$MONTH/$MEDIA_ID/` ignoring file name and always using `image.$EXT`
- roundCrops
- improved local development by fixing invoke.js and making the logger env-aware
thisismana and others added 26 commits July 31, 2023 16:47
This reverts commit 6506f5e.
* thumb hash — initial check in

Thumbnail generator based on [thumbhash](https://evanw.github.io/thumbhash/) implemented as a lambda function URL with/in Rust.

* rust pr pipeline

* rust pr pipeline

* rust pr pipeline

* rust pr pipeline

* rust pr pipeline

* rust pr pipeline

* export function URL to ssm param store
* migrate image-handler from javascript to typescript and update Readme

* feat: variant deployment

* feat: prod deployment

* fixed test

* fix: build command

* bump lambda to nodejs 20 runtime

---------

Co-authored-by: Matthias Naber <[email protected]>
* cleanup/typings

* cleanup/typings

* removed obsolete and redundant code

- default mapping
- custom mapping
- recognition
* chore: bumped Lambda modules

* aligned Makefile with other multi-func projects

* bumped gh actions
Also:
- formatting with prettier
- bumped some dependencies
* pulled remote solution

- removed recognition
- removed dynamic buckets
- removed secretsmanager
- remove signed URLs

* updated gh action

- removed old thumbhash
- using arm runner

* finalizing touches

* pr feedback (merging package.json)

* - added proper logging
- fixed tests
- handle expired images

* fine-tuned logging

* added editorconfig

* added `error` to logged fields

* added `immutable` to cache control

* go live preparations
- added `/filters:thumbhash()/` to trigger this feature
@thisismana thisismana closed this Jul 15, 2024
@thisismana thisismana deleted the feat/thumbhash branch July 15, 2024 14:07
@thisismana thisismana restored the feat/thumbhash branch July 15, 2024 14:08
@thisismana thisismana deleted the feat/thumbhash branch July 15, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants