Skip to content

Merge to main for release#1224

Merged
donaldgray merged 25 commits into
mainfrom
develop
Jul 17, 2026
Merged

Merge to main for release#1224
donaldgray merged 25 commits into
mainfrom
develop

Conversation

@donaldgray

Copy link
Copy Markdown
Member

Merging develop into main ahead of new release.

donaldgray added 25 commits July 9, 2026 15:14
Returns all headers without reading full object
Used when calculating how to increment/decrement values when things are
changed
Updated callsites that use Decrement to use new Adjust as more flexible
Captures possibility of s3Ambient -> external update leaving flag set
Maintains previous behaviour where s3 failure would still result in
success, this is tolerant of failure to read header to get size.

Possible failures reason would be a 404 manifesting as 403 if engine
was missing s3:ListBucket permission
Edge case but found in testing, ensures we clear out previous size when
incoming is a 0-byte adjunct.
Recent changes mean this can't be called for Adjuncts so remove bool
Load and update the ImageStorage record, rather than overwriting.
Adjunct size is handled via different methods
Store "size" for s3-ambient adjuncts
Without this attribute the cleanup-handler will skip any handling,
which can lead to resources hanging around
Reinstate "engineNotified" attribute on messages
Including "Authorization" header when making S3 proxy can result in an
exception if using presignedUrl as aws detect 2 possible auth
mechanisms. This strips from outgoing proxy request only, allowing the
current auth header to be used for validation
Use TransformResponseAsync with cancellation token as existing method
is obsolete.
Use .Append() rather than .Add() for safety
Previous code hardcoded this to true. The behaviour is unchanged as
yarp currently only returns true.
This method currently runs synchronously to await doesn't alter any
behaviour but avoids issues in the future if we update Yarp and
behaviour changes
Strip "authorization" header before proxying to s3
@donaldgray
donaldgray requested a review from a team as a code owner July 17, 2026 13:51
@donaldgray
donaldgray merged commit 642d670 into main Jul 17, 2026
10 of 17 checks passed
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.

1 participant