Skip to content

Expand Linear Release path filters for Creators#109864

Open
robertbpugh wants to merge 3 commits intotrunkfrom
update/linear-release-paths
Open

Expand Linear Release path filters for Creators#109864
robertbpugh wants to merge 3 commits intotrunkfrom
update/linear-release-paths

Conversation

@robertbpugh
Copy link
Copy Markdown
Contributor

Part of #109467

Proposed Changes

  • Adds missing path filters to the Linear Release workflow so it triggers on all Creators-owned code:
    • Reader: state, data stores, lib, conversation/follow blocks
    • Newsletter: settings page, onboarding flow, importer
    • Subscriptions: landing page, subscriber package, data stores

Why are these changes being made?

The initial workflow in #109467 only covered top-level Reader and Newsletter directories. Changes to Reader Redux state (client/state/reader/), the subscriptions landing page (client/landing/subscriptions/), newsletter settings (client/my-sites/site-settings/settings-newsletter/), and other Creators-owned paths were not triggering releases.

Intentionally excluded paths owned by other teams (stats, memberships/payments, Titan email, notification settings).

Testing Instructions

  • Merge a PR touching one of the newly added paths with a linked Linear issue. Verify it appears in the Creators release pipeline.

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you tested accessibility for your changes?
  • Have you used memoizing on expensive computations?
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

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

Add missing Reader paths (state, data, lib, conversation/follow blocks)
and Newsletter paths (settings, onboarding flow, importer, subscriptions).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robertbpugh robertbpugh marked this pull request as ready for review April 7, 2026 13:58
Copilot AI review requested due to automatic review settings April 7, 2026 13:58
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Apr 7, 2026
@robertbpugh robertbpugh self-assigned this Apr 7, 2026
@robertbpugh robertbpugh requested a review from lancewillett April 7, 2026 13:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Expands the GitHub Actions path filters for the Creators Linear Release sync workflow so merges to trunk trigger the release pipeline for additional Reader, Newsletter, and Subscriptions code paths.

Changes:

  • Broadened Reader-related workflow triggers to include state, data, lib, and additional blocks.
  • Added Newsletter settings, onboarding flow, and importer paths to the workflow triggers.
  • Added Subscriptions landing and subscriber/data-store paths to the workflow triggers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- 'client/reader/**'
- 'client/blocks/reader-*/**'
# Newsletter
- 'client/blocks/conversation-*/**'
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

client/blocks/conversation-*/** does not match the existing client/blocks/conversations/** directory (plural). As a result, changes to the Conversations block won’t trigger this workflow. Add an explicit client/blocks/conversations/** path (or widen the glob) to cover that directory too.

Suggested change
- 'client/blocks/conversation-*/**'
- 'client/blocks/conversation-*/**'
- 'client/blocks/conversations/**'

Copilot uses AI. Check for mistakes.
Comment on lines +26 to +30
# Subscriptions
- 'client/landing/subscriptions/**'
- 'packages/subscriber/**'
- 'packages/data-stores/src/subscriber/**'
- 'packages/data-stores/src/newsletter-categories/**'
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

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

packages/data-stores/src/newsletter-categories/** is listed under the # Subscriptions section, but the path name suggests it’s Newsletter-related. Consider moving it under the Newsletter section or updating the section comment so future maintainers don’t misinterpret the ownership/scope.

Suggested change
# Subscriptions
- 'client/landing/subscriptions/**'
- 'packages/subscriber/**'
- 'packages/data-stores/src/subscriber/**'
- 'packages/data-stores/src/newsletter-categories/**'
- 'packages/data-stores/src/newsletter-categories/**'
# Subscriptions
- 'client/landing/subscriptions/**'
- 'packages/subscriber/**'
- 'packages/data-stores/src/subscriber/**'

Copilot uses AI. Check for mistakes.
Owned by Avalon team (Titan/GSuite), not Creators. Newsletter-specific
paths are already covered separately.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@matticbot
Copy link
Copy Markdown
Contributor

matticbot commented Apr 7, 2026

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • help-center
  • notifications
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug update/linear-release-paths on your sandbox.

@robertbpugh
Copy link
Copy Markdown
Contributor Author

@copilot apply changes based on the comments in this thread

Copilot caught that conversation-*/** misses the plural conversations/
directory. Also moved newsletter-categories under the Newsletter section.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 7, 2026

@copilot apply changes based on the comments in this thread

Both changes from that review thread have been applied in commit f6b63648:

  1. Added client/blocks/conversations/** alongside client/blocks/conversation-*/** to cover the plural directory.
  2. Moved packages/data-stores/src/newsletter-categories/** under the # Newsletter section (before # Subscriptions).

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

Labels

[Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants