ci(ric): remove dead snapshot publish job from merge-to-main by darklight3it · Pull Request #665 · aws/aws-lambda-java-libs · GitHub
Skip to content

ci(ric): remove dead snapshot publish job from merge-to-main - #665

Merged
darklight3it merged 2 commits into
mainfrom
ci/remove-dead-ric-snapshot-publish
Oct 21, 2026
Merged

darklight3it merged 2 commits into
mainfrom
ci/remove-dead-ric-snapshot-publish

Conversation

@darklight3it

@darklight3it darklight3it commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Issue #, if available:

Description of changes:

The publish job in runtime-interface-client_merge_to_main.yml has been failing on main (for example run 39420007852) while publishing nothing. This PR removes it. The coverage jobs in the same workflow are unchanged.

Why it fails

The job runs make build: all four native variants (glibc and musl, x86_64 and aarch64) on one x86_64 runner, with aarch64 under QEMU. The JNI build pulls amazonlinux:2 and alpine:3 anonymously from public.ecr.aws, and that pull is what fails:

public.ecr.aws/docker/library/alpine:3: failed to resolve source metadata ... failed to copy

Why it publishes nothing

The three steps after the build (AWS credentials, CodeArtifact properties, make publish) only run when the ENABLE_SNAPSHOT secret is set. They were guarded this way in #504 (August 2024). Neither ENABLE_SNAPSHOT nor the AWS_ROLE / CODE_ARTIFACT_* secrets those steps need exist in this repository, so every run skips them. What we found:

  • All 19 runs from April 2026 to now skipped the Publish step. Older runs no longer have step data, and none are retained before September 2025.
  • The snapshot repository this was set up to feed has had no new RIC snapshot since December 2022.

Why the build is not needed here

  • The PR build check already builds the same four variants, on native runners (make build-<arch> covers glibc and musl per arch).
  • The coverage jobs in this workflow rebuild them on every merge to main.

Also removed

Everything that only served this job: ric-dev-environment/ (publish_snapshot.sh, the CodeArtifact Makefile include, settings.xml, the snapshot-jar check), the publish and test-publish Makefile targets, and the ci-repo Maven profile.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The publish job's publish steps only run when the ENABLE_SNAPSHOT secret
is set, and neither it nor the AWS_ROLE / CODE_ARTIFACT_* secrets exist
in this repository, so the job has not published a snapshot in years.
What still runs is its `make build`: all four native variants on one
x86_64 runner under QEMU, pulling the JNI base images anonymously from
public.ecr.aws. That pull is what fails the workflow on main.

The build itself is redundant: the PR build job builds the same variants
on native runners, and the coverage jobs here rebuild them on main.
ric-dev-environment/ (publish_snapshot.sh, the CodeArtifact include,
settings.xml and the snapshot-jar check), the `publish` / `test-publish`
Makefile targets and the `ci-repo` Maven profile only served the snapshot
publish job removed in the previous commit.
@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

@maxday

maxday commented Oct 21, 2026

Copy link
Copy Markdown
Member

@darklight3it
darklight3it merged commit 039d373 into main Oct 21, 2026
65 of 76 checks passed
@darklight3it
darklight3it deleted the ci/remove-dead-ric-snapshot-publish branch October 21, 2026 09:55
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.

3 participants