refactor: Standup context builder + PM integration fixes & test report#3
Merged
Conversation
- New StandupContextBuilder assembles structured context from commits, PRs, PM tickets, diff stats, and file-category analysis - Rewrote Copilot prompt to force factual summaries and forbid invention - Added CLI options: --debug, --preview, --raw-context, --tone - Fix Jira ADF description crash (ticket.description.trim is not a function) - Added extractAdfText() for Jira API v3 ADF object parsing - Defensive string guards for ticket.description across all formatters - Debug logging in fetchTickets() for PM integration troubleshooting - Comprehensive unit tests for the context builder (70 tests) - Updated copilot helper tests for new prompt format Closes: ticket.description.trim crash on Jira Cloud API v3
- Add comprehensive test report for GitHub Issues, Linear, and Jira integrations (docs/reports/PM_INTEGRATION_TEST_REPORT.md) - Add test setup scripts for reproducible E2E testing: - scripts/setup-test-repo.sh — scaffold GitHub repo with issues - scripts/setup-test-commits.sh — create branches, commits, and PRs - scripts/create-linear-issues.py — create Linear issues via GraphQL - Update docs/TESTING.md with PM integration testing section - Update CHANGELOG.md with v0.4.1 fixes and additions - Add devdaily secrets patterns to .gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Overhaul standup generation with a rich, factual context builder and fix PM integration bugs across Jira, Linear, and GitHub Issues.
Changes
Core: Standup Context Builder (
src/core/standup-context.ts)StandupContextBuilderassembles structured context from multiple signals:--debug,--preview,--raw-context,--toneFix: Jira ADF Description Crash
ticket.description.trim is not a functionon Jira Cloud API v3descriptionas an ADF object, not a stringextractAdfText()recursive parser + defensive guards in 3 formattersFix: Silent PM Fetch Failures
fetchTickets()now logs diagnostics when--debugis activedebugoption toStandupContextOptionsTest Report & E2E Scripts
docs/reports/PM_INTEGRATION_TEST_REPORT.mdscripts/setup-test-repo.sh— scaffold GitHub repo with issuesscripts/setup-test-commits.sh— create branches, commits, PRsscripts/create-linear-issues.py— create Linear issues via GraphQLdocs/TESTING.mdwith PM integration testing sectionCHANGELOG.mdwith v0.4.1Test Matrix
Test Status