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

pantsbuild / pants / 18812500213

26 Oct 2025 03:42AM UTC coverage: 80.284% (+0.005%) from 80.279%
18812500213

Pull #22804

github

web-flow
Merge 2a56fdb46 into 4834308dc
Pull Request #22804: test_shell_command: use correct default cache scope for a test's environment

29 of 31 new or added lines in 2 files covered. (93.55%)

1314 existing lines in 64 files now uncovered.

77900 of 97030 relevant lines covered (80.28%)

3.35 hits per line

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

92.86
/src/python/pants/backend/codegen/protobuf/scala/symbol_mapper.py
1
# Copyright 2023 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
UNCOV
3
from __future__ import annotations
1✔
4

UNCOV
5
from pants.backend.codegen.protobuf import jvm_symbol_mapper
1✔
UNCOV
6
from pants.backend.codegen.protobuf.jvm_symbol_mapper import (
1✔
7
    FirstPartyProtobufJvmMappingRequest,
8
    map_first_party_protobuf_jvm_targets_to_symbols,
9
)
UNCOV
10
from pants.engine.rules import collect_rules, implicitly, rule
1✔
UNCOV
11
from pants.engine.unions import UnionRule
1✔
UNCOV
12
from pants.jvm.dependency_inference import symbol_mapper
1✔
UNCOV
13
from pants.jvm.dependency_inference.symbol_mapper import FirstPartyMappingRequest, SymbolMap
1✔
14

15

UNCOV
16
class FirstPartyProtobufScalaTargetsMappingRequest(FirstPartyMappingRequest):
1✔
UNCOV
17
    pass
1✔
18

19

UNCOV
20
@rule
1✔
UNCOV
21
async def map_first_party_protobuf_scala_targets_to_symbols(
1✔
22
    _: FirstPartyProtobufScalaTargetsMappingRequest,
23
) -> SymbolMap:
24
    return await map_first_party_protobuf_jvm_targets_to_symbols(
×
25
        FirstPartyProtobufJvmMappingRequest(capitalize_base_name=False), **implicitly()
26
    )
27

28

UNCOV
29
def rules():
1✔
UNCOV
30
    return [
1✔
31
        *collect_rules(),
32
        *symbol_mapper.rules(),
33
        *jvm_symbol_mapper.rules(),
34
        UnionRule(FirstPartyMappingRequest, FirstPartyProtobufScalaTargetsMappingRequest),
35
    ]
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