Skip to content

fix(ingest): build with rust 1.94, unbreaking the deploy - #534

Merged
JeremyFunk merged 1 commit into
mainfrom
fix/ingest-rust-1.94
Aug 19, 2026
Merged

fix(ingest): build with rust 1.94, unbreaking the deploy#534
JeremyFunk merged 1 commit into
mainfrom
fix/ingest-rust-1.94

Conversation

@JeremyFunk

@JeremyFunkJeremyFunk commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Ingest deploys have failed since #523: the clippy cleanup adopted Duration::from_mins/from_hours (pedantic suggestion), which need rust ≥ 1.91. CI builds with the mise-pinned 1.94.1 and stayed green, but the Railway Dockerfile and the deploy workflows build in rust:1.88 images, so both the GH Build ingest binary step and Railway's Dockerfile build die with E0658: use of unstable library feature 'duration_constructors' (main.rs:1470/:1570/:2181). The previous Railway deployment is still serving.

  • rust:1.88rust:1.94-bookworm in apps/ingest/Dockerfile (explicit bookworm pin so build-stage glibc can't drift past the debian:bookworm-slim runner stage), deploy-prd.yml, deploy-stg.yml, aws-probe.yml.
  • msrv = "1.94" in clippy.toml, so MSRV-gated suggestion lints can't propose beyond-toolchain APIs again — this is the guard that would have prevented the incident.

Verified: ingest tests green (171), clippy zero warnings with the msrv pin, rust:1.94-bookworm exists on Docker Hub.

🤖 Generated with Claude Code


View with [code]smithAutofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Open in Devin Review

The clippy cleanup (#523) followed the pedantic suggestion to construct
Durations with from_mins/from_hours - APIs that need rust >= 1.91. CI
tests build with the mise-pinned 1.94.1 and passed, but the Railway
Dockerfile and the deploy/probe workflows all build in rust:1.88 images,
so every ingest deploy since #523 fails with E0658 duration_constructors
(main.rs:1470, :1570, :2181).
- Bump rust:1.88 -> rust:1.94-bookworm in the Dockerfile (pinned to
bookworm explicitly so the build glibc can't drift past the
debian:bookworm-slim runner stage) and in deploy-prd, deploy-stg and
aws-probe.
- Pin msrv = "1.94" in clippy.toml so suggestion lints can't propose
APIs newer than the deploy toolchain again.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@JeremyFunk
JeremyFunk merged commit 2c2156b into mainAug 19, 2026
24 of 25 checks passed
@JeremyFunk
JeremyFunk deleted the fix/ingest-rust-1.94 branch August 19, 2026 10:27

@devin-ai-integrationdevin-ai-integrationBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@github-actions

Copy link
Copy Markdown

🍁 Maple PR preview

Note

Preview resources were removed when this pull request closed.

Final commit 5df45d1 · View workflow run

Sign up for freeto 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

@JeremyFunk