Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add smoke test for installed source wired to real AppAgentHostApplicator

Open
#2,613 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
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
testing

Research direction

Start with createDefaultInstalledAgentSource, AppAgentHostApplicator, and the command-lock setup, then review the existing source lifecycle/barrier tests and appAgentHost.spec.ts. Add a thin smoke/integration test covering install, update, and uninstall through the real components. Done means replacement is verified to use one lock section without exposing both old and new providers.

Written by the indexing model from the issue text.

Description

Summary

Add a thin smoke/integration test that wires the installed-agent source lifecycle to the real AppAgentHostApplicator.

Background

The source lifecycle/barrier tests use faithful fake hosts, and the single-lock/no-interleave invariant is pinned in appAgentHost.spec.ts. What is missing is a small test that composes the real installed source path with the real dispatcher applicator, so a future regression from coordinated replaceProvider back to naive remove+add would fail outside the isolated unit test.

Suggested Coverage

  • install/update/uninstall through createDefaultInstalledAgentSource
  • a real AppAgentHostApplicator using a real command lock
  • assertion that replacement runs under the intended single-lock section and does not expose old+new coexistence

Source

Deferred from PR #2611 review-log cleanup.

Dominant language
TypeScript
Stars
744
Forks
107
Avg merge
1d 59m
Merged PRs (30d)
113

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

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 microsoft/TypeAgent

All issues in microsoft/TypeAgent

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.