Skip to content

52 integration tests in opencli-core fail, and had never run #14

Description

@charliewwdev

cargo test -p opencli-core --test all — 595 pass, 52 fail, 15 ignored.

They are not new. Every job that would have run them was scheduled onto a self-hosted runner group belonging to the project this was forked from, so from the first commit here they failed to schedule and reported nothing. The unit tests (--lib, 1,036 of them) pass and always have; it is the integration suite that was invisible.

By area:

Count Area
7 truncation
6 remote_models
5 otel
5 compact
4 shell_serialization
4 rmcp_client
4 cli_stream
3 personality
2 each tools, prompt_caching, list_models, compact_resume_fork
1 each user_shell_cmd, unified_exec, tool_harness, model_tools, model_info_overrides, grep_files

Spot-checking suggests most are stale expectations rather than broken behaviour, in two families:

  • Wording drift. The truncation tests expect a marker reading "N tokens truncated"; the output says "chars truncated".
  • Fixture neutralisation. Model slugs that carried capabilities, default efforts and context windows were replaced with a test-model that carries none, and the assertions still describe the old model. Four tests in suite::client were repaired this way already — see the commit that fixed them for the pattern.

Until this is cleared, the Tests jobs in rust-ci are red on every commit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions