Test that a language service that gave up is asked again after restart and re-attach

Open
#150 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
63/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
testing

Research direction

Read the existing test for the Changed path and the code paths named in the issue: RestartLanguageAnalysis, the LanguageService setter, and LanguageAttached. Add coverage for restart, replacing the service, and detach/re-attach, then audit other counted-ask tests for a repaint inside Headless.Pump. Done when those paths and any affected timing cases have tests showing the service is asked again after retry state resets.

Written by the indexing model from the issue text.

Description

PR #149 resets the cancelled-retry count in RestartLanguageAnalysis, the LanguageService setter and LanguageAttached, but only the Changed path has a test. Add tests for restart, setting a new service, and detach/re-attach. Also audit other counted-ask tests for the same render-timing pattern (a repaint inside Headless.Pump).

Dominant language
C#
Stars
0
Forks
0
Avg merge
1h 43m
Merged PRs (30d)
43

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sillsdev/SIL.TextEditing

All issues in sillsdev/SIL.TextEditing

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.