refactor: consolidate throwIfAborted + fix isCompactionFailureError (#12463)

* refactor: consolidate throwIfAborted in outbound module

- Create abort.ts with shared throwIfAborted helper

- Update deliver.ts, message-action-runner.ts, outbound-send-service.ts

* fix: handle context overflow in isCompactionFailureError without requiring colon
This commit is contained in:
max
2026-02-09 00:32:57 -08:00
committed by GitHub
parent f0924d3c4e
commit 79c2466662
6 changed files with 27 additions and 29 deletions

View File

@@ -157,7 +157,7 @@ def find_duplicate_functions(files: List[Tuple[Path, int]], root_dir: Path) -> D
def main():
parser = argparse.ArgumentParser(
description='List the longest and shortest code files in a project'
description='Analyze code files: list longest/shortest files, find duplicate function names'
)
parser.add_argument(
'-t', '--threshold',