Skip to content

chore: merge dev into main#1039

Merged
zbigniewsobiecki merged 6 commits intomainfrom
dev
Mar 24, 2026
Merged

chore: merge dev into main#1039
zbigniewsobiecki merged 6 commits intomainfrom
dev

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Merging dev into main after ack run link fix (PR #1036).

aaight and others added 6 commits March 24, 2026 17:40
* docs: add Adding Engines guide and update backends README

* fix(docs): use ALLOWED_ENV_EXACT from env.ts in Section 7 engine class template

Import ALLOWED_ENV_EXACT from ./env.js and return it directly in
getAllowedEnvExact(), eliminating the duplication hazard of defining
the same set in both env.ts and the engine class. This matches the
pattern used by the Claude Code engine class.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Cascade Bot <bot@cascade.dev>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
The GitHub PR ack comment was linking to /work-items/{project}/{prNumber}
instead of /work-items/{project}/{trelloCardId}, causing "No runs found"
on the dashboard. Use triggerResult.workItemId ?? event.workItemId,
mirroring the existing pattern used for PM-focused agent acks (line 320).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The previous test for triggerResult.workItemId run link was a false
positive: isPMFocusedAgent leaked 'true' from the preceding test
(clearMocks only clears call counts, not implementations), so the
function took the PM ack path and called buildWorkItemRunsLink via
withRunLink — never exercising the changed lines 334-347.

Fix: explicitly reset isPMFocusedAgent to false and mock extractPRNumber
so postGitHubPRAck doesn't bail early. Lines 336-347 now confirmed covered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ork-item-id

fix(router): use trigger result workItemId for GitHub ack run link
)

Co-authored-by: Cascade Bot <bot@cascade.dev>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zbigniewsobiecki zbigniewsobiecki merged commit 90e043c into main Mar 24, 2026
15 checks passed
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.

2 participants