| Crates.io | flakysed |
| lib.rs | flakysed |
| version | 0.1.0 |
| created_at | 2025-01-22 21:10:25.088841+00 |
| updated_at | 2025-01-22 21:10:25.088841+00 |
| description | Clean CircleCI log files. Processes the input file to extract and clean log lines related to a specific worker, stopping at the first failure if present, and writes the normalized output to the specified file. |
| homepage | https://github.com/ernestoarbitrio/flakysed/ |
| repository | https://github.com/ernestoarbitrio/flakysed/ |
| max_upload_size | |
| id | 1527127 |
| size | 19,196 |
This tool processes CircleCI log files, extracting and cleaning log lines associated with a specific worker and stopping at the first test failure (if present). It then writes the cleaned and normalized output to a specified file. The tool is designed to simplify log analysis for debugging and auditing.
Clone the repository:
git clone <repository-url>
cd <repository-directory>
Build the tool:
cargo build --release
The compiled binary will be available in the target/release directory.
Run the tool from the command line:
flakysed --input <input_file> --output <output_file> --worker <worker_name>
--input (-i): Path to the CircleCI log file to process.--output (-o): Path to save the cleaned and processed output.--worker (-w): Worker name to filter logs for processing (e.g., gw7).To process a log file:
process_file --input circleci.log --output cleaned_logs.txt --worker gw7
This command will:
circleci.log.gw7.cleaned_logs.txt.To run tests (if implemented):
cargo test
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or issues, please open an issue in the repository.