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

Twingate / kubernetes-operator / 14230233039

02 Apr 2025 09:46PM UTC coverage: 96.332% (-0.08%) from 96.416%
14230233039

push

github

web-flow
feat: Improve logs for better debugging experience (#592)

## Changes

- Propogate `logger` from handler down to the rest of the stack
- Add `handler` to all logs so we can filter for logs of a specific
handler

276 of 301 branches covered (91.69%)

Branch coverage included in aggregate %.

32 of 33 new or added lines in 13 files covered. (96.97%)

1037 of 1062 relevant lines covered (97.65%)

1.95 hits per line

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

88.89
/app/api/protocol.py
1
from typing import Any, Protocol
2✔
2

3
from graphql import DocumentNode
2✔
4

5
from app import typedefs
2✔
6
from app.settings import TwingateOperatorSettings
2✔
7

8

9
class TwingateClientProtocol(Protocol):
2✔
10
    @property
2✔
11
    def logger(self) -> typedefs.Logger:
2✔
12
        """Returns a logger instance."""
NEW
13
        ...
×
14

15
    def execute_gql(
16
        self, document: DocumentNode, variable_values: dict[str, Any] | None = None
17
    ):  # pragma: no cover
18
        ...
19

20
    def execute_mutation(
21
        self,
22
        name: str,
23
        document: DocumentNode,
24
        variable_values: dict[str, Any] | None = None,
25
    ):  # pragma: no cover
26
        ...
27

28
    @property
2✔
29
    def settings(self) -> TwingateOperatorSettings:  # pragma: no cover
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