Skip to content

[FIX]: Improve context recovery, file detection, add tests#2

Merged
hempun10 merged 2 commits into
mainfrom
fix/test-cases
Feb 14, 2026
Merged

[FIX]: Improve context recovery, file detection, add tests#2
hempun10 merged 2 commits into
mainfrom
fix/test-cases

Conversation

@hempun10

Copy link
Copy Markdown
Owner

Pull Request Title

Jira Ticket number and link

Ticket No:

Ticket link:

Type of Change

  • 🪲 Bug fix
  • 🛠️ Refactoring

Description

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings

Rename CLI flag --no-issues to --no-tickets and update README
Expand context command output and add a --days option
Prefer git diff, then fall back to commit-based file detection;
include commit bodies in git parsing for richer context
Add Copilot type cache, use config.git.defaultBranch for week stats,
and add comprehensive tests for context, copilot, and PR templates
- Replace execa curl with native fetch() in Jira, Linear, Notion
- Add pm-errors.ts with 6 typed error classes
- Add testConnection() and getMissingConfig() to all PM clients
- Add handleHttpStatus() for HTTP-to-typed-error conversion
- Make parsing/mapping methods public for testability
- Add 130 PM integration tests (errors, extraction, parsing)
- Fix lint warnings in copilot.test.ts
- Total: 222 tests passing, zero TS/lint issues
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.

1 participant