ci: fix codecov input warning + add PR-triggered and weekly FUSE stress workflow#46
Merged
Conversation
codecov/codecov-action@v6 deprecated the singular `file` input in favor of `files`. The action still runs but emits an "Unexpected input(s)" warning on every PR. One-line rename clears the warning and aligns with the action's current input schema. Run 26382236617 was the most recent surface.
Adds .github/workflows/stress.yml running ./scripts/stress-docker.sh in three modes: - pull_request (path-filtered): triggers when a PR touches code paths that can affect stress behavior (fs/, db/, fuse/, migrate.go, test/stress/, scripts/stress-docker.sh, this workflow). Docs-only, nfs/, logging/, etc. PRs skip the workflow entirely. 200 iterations, ~3-5 min on GH-hosted runners. - schedule: Mondays at 06:17 UTC (off-the-hour to dodge GH's top-of-hour load-balancing skew). 1000 iterations, ~5-10 min. Catches anything the path filter under-scoped. - workflow_dispatch: manual ad-hoc runs with a configurable iteration count input. Defaults to 200. Iteration count is selected per event: inputs.iterations wins if set; otherwise schedule -> 1000, anything else -> 200. Concurrency group cancels in-flight PR runs when a new commit is pushed; schedule and manual runs are never cancelled. Failure dumps are uploaded as a retained artifact so the runner's output directory survives the runner teardown. The stress runner exits non-zero on validation/operation failure (runner.go:439,443) and stress-docker.sh uses set -e + docker compose exec to propagate that exit code, so CI naturally fails on stress failure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
6eff588): rename deprecated singularfileinput tofilesincodecov/codecov-action@v6. Verified via `gh run view` that all of the last 5 merged PRs carried the same singleannotation `Unexpected input(s) 'file'`; this clears it.
.github/workflows/stress.yml(a4d747f): runs `./scripts/stress-docker.sh` in three modes:`scripts/stress-docker.sh`, or the workflow itself. Docs / NFS / logging / config PRs skip the workflow entirely.
200 iterations, ~3-5 min.
~5-10 min.
workflow_dispatch: manual ad-hoc runs with a configurable iteration count input.never cancelled.
runner's output survives teardown.
`set -e` + `docker compose exec` to propagate, so CI naturally fails on stress failure.
runs on itself before merge.