• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dariusbakunas / cogrs / 13403057309

19 Feb 2025 12:48AM UTC coverage: 38.963% (-0.2%) from 39.154%
13403057309

push

github

dariusbakunas
refactor: cleanup play and add some missing fields

0 of 111 new or added lines in 7 files covered. (0.0%)

2 existing lines in 2 files now uncovered.

639 of 1640 relevant lines covered (38.96%)

1.16 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/cogrs-core/src/executor/task_executor.rs
1
use crate::executor::worker_message::WorkerMessage;
2
use crate::inventory::host::Host;
3
use crate::playbook::task::Task;
4
use anyhow::Result;
5
use log::debug;
6
use tokio::sync::mpsc;
7

8
pub struct TaskExecutor;
9

10
impl TaskExecutor {
11
    pub fn new() -> Self {
12
        Self {}
13
    }
14

NEW
15
    pub fn run(
×
16
        &self,
17
        host: &Host,
18
        task: &Task,
19
        sender: &mpsc::Sender<WorkerMessage>,
20
    ) -> Result<()> {
UNCOV
21
        debug!(
×
22
            "executor run() - task {}, host: {}",
23
            task.uuid(),
24
            host.name()
25
        );
26
        // TODO: handle with_*
27

NEW
28
        Ok(())
×
29
    }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc