Skip to content

fix(desktop): stop the CI paths filter skipping runtime markdown - #96675

Merged
trunk-io[bot] merged 1 commit into
masterfrom
fix/devex-desktop-ci-markdown-filter
Sep 8, 2026
Merged

fix(desktop): stop the CI paths filter skipping runtime markdown#96675
trunk-io[bot] merged 1 commit into
masterfrom
fix/devex-desktop-ci-markdown-filter

Conversation

@webjunkie

@webjunkie webjunkie commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Problem

  • A desktop PR that only edits markdown the app loads at runtime merges with every desktop suite skipped.
  • The four desktop suites share a paths filter that excludes every .md under products/desktop/.
  • The harness reads bundled-agents/*.md, several SKILL.md files and the canvas templates from src/ at runtime.
  • fix(pi): set the correct model per subagent #96406 changed only the three bundled agent files, reported green with zero jobs run, and broke master.

Changes

  • A PR that edits markdown under src/ now runs build, quality, typecheck and test.
  • The filter excludes only documentation: top-level markdown, README.md, AGENTS.md, CLAUDE.md and docs/.
  • The same four lines replace the one exclusion in all four workflows. Mechanical.

Bottom layer of a stack. #96677 gates the release tag on master CI and #96679 moves the Electron e2e suite to Linux.

Follow-up, out of scope here: the four workflows carry the same changes job and filter list. A shared composite action would leave one copy to edit.

How did you test this code?

  • hogli lint:workflows and actionlint pass locally.
  • Not run: the workflows themselves. This PR's own run only proves the filter still parses. The regression it prevents is a markdown-only PR skipping the suites, which CI on this PR cannot show.

Automatic notifications

  • Publish to changelog?

Docs update

None.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Claude Code (Fable 5.1 orchestrating, Opus subagent implementing). Skills invoked: /stacking-prs, /authoring-ci-workflows, /writing-code-comments, /writing-pr-descriptions, /simplify. Found while tracing why #96406 merged red. No open PR fixes the filter; #96427 fixed the tests it broke. Nothing in this PR comes from outside the repository and the public GitHub history.

https://claude.ai/code/session_01AAfrGhk4pdw6Y4X5pEnb9f

@trunk-io

trunk-io Bot commented Sep 8, 2026

Copy link
Copy Markdown

😎 This pull request was merged.

@webjunkie
webjunkie requested a review from gantoine September 8, 2026 13:23
@webjunkie webjunkie changed the title fix/devex desktop ci markdown filter fix(desktop): stop the CI paths filter skipping runtime markdown Sep 8, 2026
@webjunkie
webjunkie marked this pull request as ready for review September 8, 2026 13:26
Copilot AI lite review requested due to automatic review settings September 8, 2026 13:26
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

🤖 CI report

⚠️ Trunk lane — backend Python lane

This PR is assigned to the backend Python lane. It runs backend Python tests and may merge in parallel with PRs in other lanes.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a consistent, low-risk narrowing of CI path exclusions that aligns the workflows with runtime Markdown dependencies and preserves fail-closed gating behavior.

Pull request overview

This PR fixes the Desktop CI dorny/paths-filter configuration so PRs that change runtime-loaded Markdown under products/desktop/ no longer skip all Desktop suites.

Changes:

  • Narrowed the Desktop workflows’ Markdown exclusions from !products/desktop/**/*.md to a small set of documentation-only patterns.
  • Ensured Markdown under code paths (e.g. bundled agents/skills/templates) now triggers build/quality/typecheck/tests as intended.
  • Applied the same filter update consistently across the four Desktop workflows.
File summaries
File Description
.github/workflows/desktop-typecheck.yml Updates paths-filter to exclude only doc Markdown so runtime Markdown changes trigger typecheck.
.github/workflows/desktop-test.yml Updates paths-filter to stop skipping unit/integration test suites on runtime Markdown-only changes.
.github/workflows/desktop-quality.yml Updates paths-filter to ignore only documentation Markdown while still running quality checks for runtime Markdown changes.
.github/workflows/desktop-build.yml Updates paths-filter so runtime Markdown changes trigger Desktop build checks.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@trunk-io

trunk-io Bot commented Sep 8, 2026

Copy link
Copy Markdown

This pull request is queued for merge as part of 96679, which will merge 96675, 96677, 96679.

@trunk-io

trunk-io Bot commented Sep 8, 2026

Copy link
Copy Markdown

Stacked PR 96679 failed testing in the merge queue. Please investigate the failure and re-submit the stack.

The desktop app loads markdown under src/ at runtime: bundled agent
prompts, skills, and the canvas templates. The paths filter excluded
every .md under products/desktop, so a PR that only edited one of those
files skipped build, quality, typecheck and test, and the break landed
on master.

Exclude documentation markdown only (top-level files, README, AGENTS,
CLAUDE, and docs/), so a change to markdown the app reads still runs the
suites.

Claude-Session: https://claude.ai/code/session_01AAfrGhk4pdw6Y4X5pEnb9f
@webjunkie
webjunkie force-pushed the fix/devex-desktop-ci-markdown-filter branch from cc4677e to 1eb84f2 Compare September 8, 2026 20:17
@trunk-io

trunk-io Bot commented Sep 8, 2026

Copy link
Copy Markdown

This pull request is queued for merge as part of 96679, which will merge 96675, 96677, 96679.

@trunk-io
trunk-io Bot merged commit a19204f into master Sep 8, 2026
194 checks passed
@trunk-io
trunk-io Bot deleted the fix/devex-desktop-ci-markdown-filter branch September 8, 2026 23:11
@trunk-io

trunk-io Bot commented Sep 8, 2026

Copy link
Copy Markdown

This pull request was merged into master as part of stacked PR 96679.

@deployment-status-posthog

deployment-status-posthog Bot commented Sep 8, 2026

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-09-08 23:48 UTC Run
prod-us ✅ Deployed 2026-09-09 00:07 UTC Run
prod-eu ✅ Deployed 2026-09-09 00:09 UTC Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature/desktop Feature Tag: Desktop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants