Subscribe free
Morning Merge · Monday, November 30, 20264 min read

S3 reads uploads mid-flight; pnpm runs Rust crates

Also: fail over on every deploy, AWS IAM Credential Broker, the €1 inbox NIS2 blocked

A thin Monday, carried mostly by an AWS launch wave. Three S3 changes touch code you already run, and pnpm users should upgrade for its security fixes.

The main thing

A mechanical courier robot carries one orange parcel away from a conveyor belt that is still feeding parcels into an unfinished stack

S3 now lets you read a multipart upload before it finishes. Until now, a multipart upload was useless to everyone downstream until the whole object completed. Each part is now readable as soon as it arrives.

The new GetPart API reads a full part or a byte range within a part, during the upload and after it completes. A new s3:MultipartUpload:PartUploaded event notification tells your consumers when each part is ready.

AWS pitches it at media ingest, transcoding, analytics and transcription: start on the first chunk of a long recording while the rest is still on the wire. Producers don't change. Consumers need the latest AWS CLI or SDKs.

The weird part is what the announcement leaves out. It doesn't say what happens to parts you've already processed if the upload is aborted. If your pipeline writes results somewhere as parts land, plan your own cleanup until the docs say otherwise.

Two more S3 launches belong in the same thought.

Buckets can now default to Intelligent-Tiering. Any PUT without a storage class header lands in S3 Intelligent-Tiering instead of S3 Standard, while requests that set a class explicitly behave as before.

That matters most for buckets fed by clients and third-party integrations you can't change. AWS says customers have saved more than $10 billion with Intelligent-Tiering compared with Standard.

S3 Tables can take rows directly through PutRows. Producers send JSON or Avro OCF rows to an Apache Iceberg table with one API call, and any number of them can write to the same table at once.

S3 Tables validate each row against the schema, write Parquet and compact files. Rows are queryable in about a minute from Athena, Redshift, Spark or DuckDB. AWS claims up to 80% lower cost than running your own streaming ingestion.

The pattern across all three: work that used to be your pipeline (polling for completion, picking storage classes in every client, micro-batching and compaction) is moving into S3 itself.

pnpm now builds Rust crates

A mechanical courier robot slides one orange wooden crate onto a warehouse shelf lined with white cardboard boxes

pnpm 12.25 installs and runs Rust crates. pnpm add -g crate:ripgrep@14 builds a crate's executables and links them into the global bin directory. pnx crate:ripgrep@14 --version runs one without a global install. pnpm downloads the crate and its dependencies into the store and builds them offline with a Rust toolchain from the store.

Yes, a JavaScript package manager now manages Rust toolchains. Add rustup to the install (pnpm add -g crate:cargo-dylint,rustup) and pnpm puts its own rustup in the store and leaves ~/.rustup alone. With cargo.enabled set, pnpm update --latest even bumps the release pinned in rust-toolchain.toml.

Upgrade for the security fixes even if you never touch a crate. pnpm now refuses a tarball, git or directory dependency whose package.json has an invalid name, failing with ERR_PNPM_INVALID_DEPENDENCY_NAME. A name such as esbuild@0.20.0( could make a package pass for a registry package in the lockfile and in allowBuilds.

It also rejects jsr: specifiers with underscores that used to resolve two different names to one npm package. If you use a private certificate authority, ca[]= lines in .npmrc are finally honoured.

pnpm 12.25.1 followed with a fix: globally installed crates can now run cargo and rustc outside a Rust project. Add the crate again to repair an existing install.

Fail over on purpose

A mechanical courier robot pulls an orange railway switch lever to send a parcel cart onto a spare track

If you want failover to work well, use it often. The argument is the old backup line applied to traffic: your failover is only as good as the last time you used it. A warm standby can pass every health check and still be broken.

Idle environments rot quietly. Persistent database connections without idle timeouts go stale, firewall rules change, and credentials expire. Health checks miss all of it unless they exercise the same dependencies, network paths and credentials as real traffic.

Active-active doesn't get you out of it. The post's example is teams running three or more environments whose normal failover takes them to two, until the day they need to run on one that can't take the full load.

The proposal is to fail over on every release: move traffic away from an environment, deploy and validate, move it back. Doing it weekly forces the questions you'd rather not answer mid-outage, like replication delay, in-flight requests and how long the switch takes. The author is honest about the limit: a planned shift doesn't test automated failure detection, so that still needs its own drills.

An HN commenter supplies the reason nobody does this: no management push, and a test that causes an outage lands on the engineers. That's the case for the per-deploy version. It turns a scary exercise into routine.

Quick bits

AWS IAM Credential Broker is in public preview. Applications and agents get OAuth access tokens and API keys for Snowflake, Databricks, Salesforce, Azure and GCP through the identity provider you already use, such as Okta, Microsoft Entra ID or Auth0. It supports client credentials, authorization code and token exchange.

Your code only sees short-lived access tokens, and an agent acting for a user gets only that user's access. Free during the preview. If you're stuffing third-party secrets into agent environment variables, look here first.

Why one €1 inbox would put a whole hosting company under NIS2. Magic Pages, a Ghost host, built €1-a-month inboxes on Stalwart at Hetzner after 23 customers said they'd pay. Then the founder read NIS2.

NIS2 normally starts at 50 employees or €10 million in turnover, but Article 2(2) covers "providers of publicly available electronic communications services" regardless of size, and since December 2020 that includes email. Under Austria's NISG 2026, the first inbox sold would pull the whole company, Ghost hosting included, under the law. Read it before you add email to a small EU product.

Pick one fallback path you only use in emergencies and put it on the deploy schedule this week.

← All Morning Merge issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →