rust-lang / rust-lang/rustc-perf

collect.sh not picked up on update before restart

Open
#1,143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
733
Forks
189
Avg merge
10h 52m
Merged PRs (30d)
43

Description

The collector/collect.sh script is currently executed by the collector, but loops forever. This means that after git pull'ing a new copy of the collector, the new script is not picked up before the collector restarts.

The likely fix here is to adjust the script to self-execute at the end (avoiding overflowing the "stack" of processes), or similar, to fix this problem.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with collector/collect.sh and inspect how the collector launches it and handles its long-running loop. Reproduce the update-before-restart scenario after a git pull; done means the updated script is picked up on restart without accumulating nested processes.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.