Skip to content

fix(docker): bump vector from 0.28.1 to 0.53.0 for ARM page size support#4988

Merged
jgoux merged 1 commit intosupabase:developfrom
okedeji:fix/vector-arm-page-size
Mar 25, 2026
Merged

fix(docker): bump vector from 0.28.1 to 0.53.0 for ARM page size support#4988
jgoux merged 1 commit intosupabase:developfrom
okedeji:fix/vector-arm-page-size

Conversation

@okedeji
Copy link
Contributor

@okedeji okedeji commented Mar 25, 2026

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Vector 0.28.1 crashes on ARM Linux systems with non-4KB page sizes (Asahi Linux, CentOS/aarch64, Oracle ARM) due to jemalloc being compiled with a hardcoded 4KB max page size. The container aborts immediately with Unsupported system page size before processing any logs.

Closes #4779

What is the new behavior?

Vector 0.53.0 includes the upstream fix (vectordotdev/vector#18481) which compiles jemalloc with support for pages up to 64KB, covering all common ARM configurations. Two VRL breaking changes in the vector.yaml config are also updated:

  • parse_nginx_log no longer returns method/path/protocol as separate fields; split req.request instead
  • to_timestamp! removed; replaced with parse_timestamp! using explicit format

Changes match the self-hosted fix in supabase/supabase#42525.

Additional context

Requires running the Mirror Dependencies workflow to publish timberio/vector:0.53.0-alpine to public.ecr.aws/supabase before merging.

@okedeji okedeji requested a review from a team as a code owner March 25, 2026 14:45
@okedeji okedeji force-pushed the fix/vector-arm-page-size branch from 8c77d76 to d5c5aa6 Compare March 25, 2026 14:51
@okedeji
Copy link
Contributor Author

okedeji commented Mar 25, 2026

CI failures are expected:

  • Lint: golangci-lint timeout — not related to this change, appears to be a CI resource issue.
  • Start: ghcr.io/supabase/vector:0.53.0-alpine not found — the image hasn't been mirrored yet. The Mirror Dependencies workflow needs to be triggered to publish timberio/vector:0.53.0-alpine to ghcr.io and ECR before this test can pass.

Both checks should pass after mirroring.

@aantti
Copy link

aantti commented Mar 25, 2026

Thanks for doing it, @okedeji ! :)

Cc @sweatybridge, @jgoux, @singh-inder, @7ttp

jgoux
jgoux previously approved these changes Mar 25, 2026
@jgoux jgoux requested review from jgoux March 25, 2026 19:13
@jgoux jgoux dismissed their stale review March 25, 2026 19:13

Let's fix the CI first.

Copy link
Contributor

@jgoux jgoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like we're unable to fetch ghcr.io/supabase/vector:0.53.0-alpine which is failing our CI jobs.

edit: Sorry just read your comments...Running the mirror workflow job now. 😅

@jgoux
Copy link
Contributor

jgoux commented Mar 25, 2026

It seems like I can only run the workflow on the repo's own branches. 😭
@sweatybridge Do you know what to do in this case?

@okedeji
Copy link
Contributor Author

okedeji commented Mar 25, 2026

It seems like I can only run the workflow on the repo's own branches. 😭 @sweatybridge Do you know what to do in this case?

You could just "Mirror Image" workflow directly with timberio/vector:0.53.0-alpine as the image input?
That should mirror it to ECR and ghcr.io i believe then I can re-run CI. @jgoux

@jgoux
Copy link
Contributor

jgoux commented Mar 25, 2026

I was looking at the wrong workflow... Sorry long day. 🤦
Image mirrored, jobs retried!

@okedeji
Copy link
Contributor Author

okedeji commented Mar 25, 2026

great all passed now! lets gooo

Copy link
Contributor

@jgoux jgoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🚀

@jgoux jgoux merged commit a0799e3 into supabase:develop Mar 25, 2026
29 of 31 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.

Supabase on ARM (M1) crashes due to wrong vector system page size

3 participants