haskell / haskell/cabal-cache

Cached packages transitioned to intelligent_tiering S3 storage become unusable

Open
#151 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
50
Forks
11
PR merge metrics
No merged PRs in 30d

Description

We have a lifecycle rule that moves the cached packages to intelligent tiering after 30 days. However, the currently released `amazonka-s3` version is unable to deal with it so we run into an issue:
```
cabal-cache: SerializeError (SerializeError' {_serializeAbbrev = Abbrev "S3", _serializeStatus = Status {statusCode = 200, statusMessage = "OK"}, _serializeBody = Nothing, _serializeMessage = "Failed reading: Failure parsing StorageClass from value: 'intelligent_tiering'. Accepted values: onezone_ia, reduced_redundancy, standard, standard_ia"})
```

To resolve this, there are multiple options:
* Do nothing and wait – it's unknown when next amazonka gets released however long from now. Note the API change was merged back in May without releases since though.
* Use the [`develop` branch](https://github.com/brendanhay/amazonka/tree/0d415d1efcb6e793b0eb3998c3c64a1dad0c8229) containing this fix and bunch of other changes: I'm unsure of the status.
* Use [our fork](https://github.com/tsurucapital/amazonka/tree/aca80c977501eb7f39e42594da3aa87ab8bc1389) containing only the S3 API change on top of the latest released version.

In meantime I'm going to move the cached packages back to standard storage class but it'd be cool if we didn't have to.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.