Skip to content

Conversation

@xingyaoww
Copy link
Collaborator

No description provided.

@xingyaoww xingyaoww changed the title Merge test_editor_comprehensive with test_basic_operations chore: Merge test_editor_comprehensive with test_basic_operations Sep 9, 2025
@xingyaoww xingyaoww enabled auto-merge (squash) September 9, 2025 14:52
@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
openhands
   __init__.py10100% 
openhands/sdk
   __init__.py14285%22–23
   logger.py732171%33, 57, 64–67, 69–71, 124, 130–132, 135–136, 142–144, 151, 156–157
openhands/sdk/agent
   __init__.py30100% 
   base.py46491%36, 47, 83, 103
openhands/sdk/agent/agent
   __init__.py20100% 
   agent.py1273671%73–75, 116, 120–121, 128–129, 131–133, 135–137, 171, 185, 208, 213, 238, 243, 248–249, 271–273, 277–279, 286–287, 291, 295–296, 325, 332, 348
openhands/sdk/context
   __init__.py40100% 
   agent_context.py574029%57–58, 60–65, 76, 79, 84, 86, 92–95, 108–110, 112, 115, 117–120, 122–127, 132, 139–140, 145–147, 151–153
   manager.py330%1, 4–5
   view.py473427%30, 46–50, 52, 59–62, 64–66, 68, 76–77, 81–86, 88–89, 91, 105–111, 113
openhands/sdk/context/condenser
   __init__.py30100% 
   condenser.py17382%68–69, 73
   no_op_condenser.py6183%13
openhands/sdk/context/microagents
   __init__.py40100% 
   exceptions.py5180%11
   microagent.py14310030%47, 50–51, 58, 71, 74–75, 77, 81, 84–86, 89–90, 98–100, 102–104, 107, 110, 113–118, 127–130, 132–135, 142–143, 151, 153–154, 176, 183–186, 188, 214–220, 223, 227–228, 231, 250–251, 256–257, 259, 263, 270–272, 280–282, 298–299, 301–302, 305, 308–309, 312–316, 319–321, 324–329, 331–332, 334–336, 338–339, 341, 345
   types.py300100% 
openhands/sdk/context/utils
   __init__.py20100% 
   prompt.py30583%12, 15, 24, 44–45
openhands/sdk/conversation
   __init__.py50100% 
   conversation.py863163%66, 75, 83, 91–93, 97–98, 143, 150, 154, 158–160, 168, 170, 172, 174–176, 178, 180, 186–187, 200–201, 203–207
   state.py30293%49–50
   types.py30100% 
   visualizer.py1513676%45–48, 51–52, 71, 84, 110, 112, 114, 117, 136, 148–150, 175–177, 180–181, 183, 206, 236, 240, 247, 250, 253–254, 277, 279–280, 282, 292–293, 295
openhands/sdk/event
   __init__.py50100% 
   base.py672562%38, 42, 62, 66–68, 70–75, 77–78, 80–82, 84–85, 87, 114–115, 137–138, 142
   condenser.py25772%26–27, 29, 33–35, 49
   llm_convertible.py1041783%28–29, 34–35, 167, 183–184, 189, 197, 219, 228–229, 234, 255, 259–260, 265
   types.py30100% 
   user_action.py6183%12
   utils.py11190%28
openhands/sdk/llm
   __init__.py60100% 
   exceptions.py361363%5–6, 9, 16, 23, 32, 47, 55, 72, 84, 91, 101, 108
   llm.py41817657%101–104, 106, 109–115, 251, 257, 261, 269, 274, 283, 287–289, 293–294, 305, 307, 311, 326, 353, 359, 365, 369, 382, 388–389, 406–407, 415, 424–426, 477, 486, 490–491, 496–497, 499–500, 503–505, 510–512, 516–518, 522–523, 535–536, 539–541, 544–545, 553–554, 559, 562, 564–565, 570–572, 575, 577–581, 583–584, 594–597, 602–607, 611–612, 621–623, 626–627, 647, 651, 655–658, 704, 718, 753, 758–759, 762–764, 771–772, 781, 788, 791, 795–797, 801, 803–808, 810–827, 830–834, 836–837, 843–852, 856–867
   llm_registry.py382144%38–41, 49, 57–61, 73–74, 80–83, 99–100, 105, 108, 116
   message.py1022377%22, 36, 40, 60–65, 92, 109, 115, 118, 121, 140, 142–147, 214–215
   metadata.py15473%17–18, 31, 33
openhands/sdk/llm/utils
   fn_call_converter.py34330511%73–75, 336–349, 351–352, 354, 363–364, 366–369, 371–372, 374–375, 377–378, 380–383, 385–386, 388–389, 391, 398, 400, 421–428, 430–434, 438–444, 446–451, 455–463, 465–468, 470, 472–474, 477, 480–482, 484, 488, 490–491, 500, 502–503, 507–511, 515–520, 522, 524, 529, 532, 534–535, 538, 541, 543–547, 553, 575, 580, 590–593, 599–602, 607–613, 615, 617, 621, 624, 626–627, 629–632, 637, 639, 643–644, 648, 654, 656, 659, 667, 669–671, 673–675, 677–679, 685–688, 691–692, 699–704, 707–711, 716, 719, 723, 727, 732–733, 736–738, 741, 746–748, 750–751, 767, 779–781, 785–786, 788–791, 793–794, 796–798, 800, 803, 805, 807–809, 811–812, 815–816, 819–821, 823–826, 829, 833, 840–841, 844–845, 859, 865–867, 870–871, 875–876, 882–883, 886, 898, 901–908, 912–913, 918–919, 924, 930–933, 943–944, 949, 955–956, 961–962, 969, 972–974, 977–978, 980, 986, 991, 994, 998, 1006, 1008–1009, 1012–1014, 1016–1017, 1023–1025, 1027–1028, 1030, 1032, 1036, 1038, 1043, 1045–1046, 1049
   metrics.py1114460%16–18, 116–118, 147–150, 199, 205, 208–209, 211–213, 216–219, 225, 240–244, 261, 264, 267–269, 273, 276, 281, 284–285, 287–288, 303–304, 306, 308, 311
   model_features.py40977%21–22, 24, 40–42, 45, 61–62
   telemetry.py1366055%67, 71, 82, 88, 94, 99–100, 112–113, 120, 129, 134, 153, 157–158, 166–168, 174, 191–193, 196–199, 201, 205–209, 212–223, 228–229, 232, 234, 237–238, 240–245, 249–252
openhands/sdk/mcp
   __init__.py50100% 
   client.py635020%20–23, 28–30, 32, 34–36, 38–41, 43–45, 48–51, 53–59, 77–80, 82, 86–88, 94–95, 101–107, 110–113
   definition.py271351%38–44, 54, 57, 66–69
   tool.py432737%27–28, 35–36, 39–42, 46, 49, 52–55, 63, 76–77, 79–82, 84, 86, 89, 98–99, 104
   utils.py301840%23–24, 27, 30, 35, 37–41, 44, 52–56, 58–59
openhands/sdk/tool
   __init__.py40100% 
   schema.py1003268%21–28, 34–36, 120–121, 123–124, 126–129, 132, 136–138, 140–141, 143, 150, 204–207, 227
   security_prompt.py30100% 
   tool.py562358%45, 96–97, 100, 103–106, 109–115, 120, 125–131
openhands/sdk/tool/builtins
   __init__.py40100% 
   finish.py15286%22, 41
   think.py15286%28, 45
openhands/sdk/utils
   __init__.py20100% 
   discriminated_union.py562358%93–99, 115–119, 152, 155–156, 158, 161, 193–195, 200, 207, 210
   json.py28280%1–3, 5, 7–8, 11, 14–21, 25, 28, 30–31, 34, 37–38, 40, 43, 45–48
   truncate.py10730%32–33, 36–37, 40–41, 44
openhands/tools
   __init__.py9277%49–50
openhands/tools/execute_bash
   __init__.py40100% 
   constants.py90100% 
   definition.py410100% 
   impl.py100100% 
   metadata.py50394%95–96, 100
openhands/tools/execute_bash/terminal
   __init__.py60100% 
   factory.py491177%24–25, 30, 32, 35, 37–38, 44–46, 97
   interface.py661478%43, 52, 62, 71, 76, 85, 94, 99, 104, 145, 157, 162, 171, 180
   subprocess_terminal.py2365975%68, 98–99, 125, 131, 138, 145–146, 156–157, 163–164, 178, 180, 184–186, 192, 208, 217–221, 256–258, 263, 275, 289, 313, 315, 324, 345, 361, 366, 372–374, 382–383, 387–388, 390–396, 400–401, 404–405, 407–408, 410–412
   terminal_session.py178895%92, 96–98, 235, 281, 297, 317
   tmux_terminal.py752270%35, 41, 85, 98, 109, 123, 135–142, 150–151, 153–154, 156, 158–160
openhands/tools/execute_bash/utils
   command.py81495%48, 64–66
openhands/tools/str_replace_editor
   __init__.py30100% 
   definition.py33196%78
   editor.py2281195%131, 263, 337, 347, 397–398, 635, 642–643, 657, 662
   exceptions.py220100% 
   impl.py26292%31–32
openhands/tools/str_replace_editor/utils
   __init__.py00100% 
   config.py20100% 
   constants.py50100% 
   encoding.py54198%81
   file_cache.py95990%44–46, 49–50, 54, 59, 151, 154
   history.py66198%79
   shell.py230100% 
openhands/tools/task_tracker
   __init__.py20100% 
   definition.py825137%57, 70–71, 74–75, 79, 81, 83–85, 91, 93–94, 99–100, 104, 113–114, 116–118, 122–123, 125–128, 130, 134–135, 137–139, 141–145, 149, 153–154, 156–157, 159, 161–165, 326, 329
openhands/tools/utils
   __init__.py00100% 
TOTAL4274144966% 

@xingyaoww xingyaoww merged commit 428f25a into main Sep 9, 2025
5 checks passed
@xingyaoww xingyaoww deleted the ht/add-comprehensive-editor-tests branch September 9, 2025 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants