Files
wehub-resource-sync bf9395e022
CI / results (push) Blocked by required conditions
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / e2e-live (push) Waiting to run
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / deadcode (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:22:54 +08:00

1.4 KiB

Contact CLI E2E Coverage

Metrics

  • Denominator: 2 leaf commands
  • Covered: 1
  • Coverage: 50.0%

Summary

  • TestContact_LookupWorkflowAsUser: proves the user lookup workflow through get self as user and get self by open id as user; reads the current user first and round-trips the returned open_id back into +get-user.
  • TestContact_LookupWorkflowAsBot: proves bot lookup through discover user via api as bot and get user by open id as bot; the raw API discovery step is fixture setup only and does not affect the domain denominator.
  • Blocked area: contact +search-user did not reliably return the current user in UAT even when queried with self-derived identifiers, so it remains uncovered rather than being counted from a flaky tenant-dependent assertion.

Command Table

Status Cmd Type Testcase Key parameter shapes Notes / uncovered reason
contact +get-user shortcut contact_lookup_workflow_test.go::TestContact_LookupWorkflowAsUser/get self as user; contact_lookup_workflow_test.go::TestContact_LookupWorkflowAsUser/get self by open id as user; contact_lookup_workflow_test.go::TestContact_LookupWorkflowAsBot/get user by open id as bot self lookup; --user-id <open_id>
contact +search-user shortcut none UAT did not reliably return the current user for self-derived queries, so stable write-after-read style proof is not available