Skip to content

Conversation

@iambriccardo
Copy link
Contributor

@iambriccardo iambriccardo commented Nov 3, 2025

This PR fixes broken ARM images for ETL by compiling ARM images on an ARM runner. We chose to avoid cross-compilation to reduce the complexity and make CI faster.

@coveralls
Copy link

coveralls commented Nov 3, 2025

Pull Request Test Coverage Report for Build 19061674830

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 173 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-0.1%) to 82.519%

Files with Coverage Reduction New Missed Lines %
etl/src/conversions/table_row.rs 8 96.35%
etl/src/conversions/text.rs 16 93.75%
etl/src/workers/apply.rs 19 91.34%
etl/src/workers/table_sync.rs 28 77.92%
etl/src/error.rs 102 68.13%
Totals Coverage Status
Change from base Build 19032088767: -0.1%
Covered Lines: 16045
Relevant Lines: 19444

💛 - Coveralls

@iambriccardo iambriccardo force-pushed the riccardobusetti/feat/arm branch from 1f3f9fc to 46ae8e9 Compare November 3, 2025 13:49
@iambriccardo iambriccardo changed the title feat(compilation): Attempt ARM cross compilation feat(compilation): Implement ARM compilation with ARM runner Nov 3, 2025
@iambriccardo iambriccardo marked this pull request as ready for review November 3, 2025 16:47
@iambriccardo iambriccardo requested a review from a team as a code owner November 3, 2025 16:47
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

required: false

permissions:
contents: read

Choose a reason for hiding this comment

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

P1 Badge Grant actions permissions for artifact steps

The workflow now uploads and downloads build digests via actions/upload-artifact@v4 and actions/download-artifact@v4, but the only explicit permission granted is contents: read. Uploading artifacts requires actions: write (and downloading requires actions: read); with the current permissions the build job will fail with “Resource not accessible by integration” whenever inputs.push is true, preventing the multi‑arch manifest from being created. Please extend the workflow permissions to include the required actions scope.

Useful? React with 👍 / 👎.

ENV SQLX_OFFLINE=true
RUN cargo build --release -p etl-api && \
strip target/release/etl-api
RUN cargo build --release -p etl-api
Copy link
Contributor

Choose a reason for hiding this comment

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

We are no longer stripping the binary.

COPY . .
RUN RUSTFLAGS="-C panic=abort" cargo build --release -p etl-replicator && \
strip target/release/etl-replicator
RUN cargo build --release -p etl-replicator
Copy link
Contributor

@imor imor Nov 4, 2025

Choose a reason for hiding this comment

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

Missing panic=abort flag & stripping.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

@iambriccardo iambriccardo requested a review from imor November 4, 2025 07:59
@iambriccardo iambriccardo merged commit 746f90a into main Nov 4, 2025
17 checks passed
@iambriccardo iambriccardo deleted the riccardobusetti/feat/arm branch November 4, 2025 08:28
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.

4 participants