chore(#1474): add reason= to remaining bare clippy allows outside dashboard
This commit is contained in:
parent
49a0a0d15f
commit
7c9954ceec
12 changed files with 81 additions and 16 deletions
|
|
@ -40,7 +40,11 @@ pub fn now_unix() -> i64 {
|
|||
/// the agent and manager serve loops — the shape is identical, only the
|
||||
/// post-turn count fetch helpers differ (and those stay in each binary).
|
||||
#[must_use]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(
|
||||
clippy::too_many_arguments,
|
||||
reason = "args mirror the turn-stats row columns 1:1; a builder struct used \
|
||||
only here would just relabel the same fields"
|
||||
)]
|
||||
pub fn build_row(
|
||||
started_at: i64,
|
||||
ended_at: i64,
|
||||
|
|
|
|||
|
|
@ -637,7 +637,12 @@ pub async fn compact_session(files: &TurnFiles, bus: &Bus) -> TurnOutcome {
|
|||
outcome
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[allow(
|
||||
clippy::too_many_lines,
|
||||
reason = "one linear subprocess driver: spawn claude, stream + classify \
|
||||
stdout/stderr, then assemble the outcome; splitting it would \
|
||||
fragment the streaming state across helpers"
|
||||
)]
|
||||
async fn run_claude(prompt: &str, files: &TurnFiles, bus: &Bus) -> Result<(bool, bool, bool)> {
|
||||
// Keep the last STDERR_TAIL_LINES of stderr so a non-zero exit can
|
||||
// include real context in the bail message (and downstream in the
|
||||
|
|
|
|||
Loading…
Reference in a new issue