Skip to content

Add 60 minute timeout to CI jobs#922

Open
benthecarman wants to merge 2 commits into
lightningdevkit:mainfrom
benthecarman:ci-timeouts
Open

Add 60 minute timeout to CI jobs#922
benthecarman wants to merge 2 commits into
lightningdevkit:mainfrom
benthecarman:ci-timeouts

Conversation

@benthecarman

Copy link
Copy Markdown
Contributor

We ran out of our CI limit largely from ldk-node. We had a few jobs this week run for multiple hours because of a hanging test. Add 60 minute timeout to all our jobs to prevent this in the future.

@benthecarman benthecarman requested a review from tnull June 5, 2026 15:57
@ldk-reviews-bot

ldk-reviews-bot commented Jun 5, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We ran out of our CI limit largely from ldk-node.

Not opposed to this change, but note that it's mainly ldk-node as rust-lightning has switched to a hosted runner for a while. The more important fix here is to also switch LDK Node over for all jobs where we can. I need to finally do that.

@benthecarman

Copy link
Copy Markdown
Contributor Author

We ran out of our CI limit largely from ldk-node.

Not opposed to this change, but note that it's mainly ldk-node as rust-lightning has switched to a hosted runner for a while. The more important fix here is to also switch LDK Node over for all jobs where we can. I need to finally do that.

Added a commit for that

@benthecarman

Copy link
Copy Markdown
Contributor Author

rip

@benthecarman

Copy link
Copy Markdown
Contributor Author

we're back?

We ran out of our CI limit largely from ldk-node. We had a few jobs this
week run for multiple hours because of a hanging test. Add 60 minute
timeout to all our jobs to prevent this in the future.
@benthecarman benthecarman force-pushed the ci-timeouts branch 2 times, most recently from 16367cd to 222ba6a Compare June 25, 2026 01:54
Run the Rust build/test matrix, linting, docs, and benchmarks on the
self-hosted runner, but keep jobs the runner cannot serve on GitHub's
ubuntu-latest:

- Docker-based integration tests (cln, eclair, lnd, python, kotlin)
  and the Postgres/VSS service-container jobs, since the self-hosted
  runner has no Docker installed.
- Third-party node-action jobs (semver checks, security audit, nightly
  rustfmt), since the runner is too old to load actions that require
  the node24 runtime.

For the jobs that stay self-hosted, adapt to the runner environment:

- Pin actions/checkout to v4 and actions/cache to v4; their newer
  releases run on node24, which the self-hosted runner does not
  support.
- Install the Rust toolchain in its own step so rustup and cargo land
  on PATH for the steps that follow; invoking them in the same step as
  the rustup install fails because PATH is not refreshed mid-step.

Assisted by Claude Code.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
steps:
- name: Checkout source code
uses: actions/checkout@v6
uses: actions/checkout@v4

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Doing all these downgrades makes no sense to me. @TheBlueMatt any reason we can't update the runners to support node24?

Comment thread .github/workflows/rust.yml
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