Skip to content

Cleanup importMemberTier labs flag - #29916

Closed
mike182uk wants to merge 2 commits into
mainfrom
mike-PLA-215
Closed

mike182uk wants to merge 2 commits into
mainfrom
mike-PLA-215

Conversation

@mike182uk

Copy link
Copy Markdown
Member

ref https://linear.app/ghost/issue/PLA-215

Cleaned up the importMemberTier labs flag and made the functionality it was gating publicly available

@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your current included review allowance is based on your included PR review attempts over the past 7 days.

Next review available in: 43 minutes

Limit details: You’ve used all 5 included reviews currently available. Your 5 included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

You’re in a promotional period — use the checkbox below to run this review for free:

  • Run review for free

On-demand reviews are free for the next 30 days. After that, they cost $0.25 per reviewed file.

How can I continue?

Run this review now using the option above, or comment @coderabbitai review --use-credits.

You can also wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: QUIET

Plan: Pro

Run ID: 70f51731-3d84-4d47-9161-08d61f6b6007

📥 Commits

Reviewing files that changed from the base of the PR and between 9a22123 and 47b003b.

📒 Files selected for processing (10)
  • apps/admin/src/members/components/bulk-action-modals/import-members-modal.tsx
  • apps/admin/src/members/components/bulk-action-modals/import-members/custom-fields/import-members-modal.tsx
  • apps/admin/src/members/components/bulk-action-modals/import-members/custom-fields/mapping.test.ts
  • apps/admin/src/members/components/bulk-action-modals/import-members/custom-fields/mapping.ts
  • apps/admin/src/members/components/bulk-action-modals/import-members/mapping.test.ts
  • apps/admin/src/members/components/bulk-action-modals/import-members/mapping.ts
  • apps/admin/src/members/components/bulk-action-modals/import-members/modal.test.tsx
  • apps/admin/src/settings/advanced/labs/private-features.tsx
  • apps/ember-admin/app/services/feature.js
  • ghost/core/core/shared/labs.js

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5b04b545-82bc-48a1-b9eb-878a5bf5d34d

📥 Commits

Reviewing files that changed from the base of the PR and between 0d89154 and 8e1fc3a.

📒 Files selected for processing (7)
  • apps/admin/src/members/components/bulk-action-modals/import-members-modal.tsx
  • apps/admin/src/members/components/bulk-action-modals/import-members/mapping.test.ts
  • apps/admin/src/members/components/bulk-action-modals/import-members/mapping.ts
  • apps/admin/src/members/components/bulk-action-modals/import-members/modal.test.tsx
  • apps/admin/src/settings/app/components/settings/advanced/labs/private-features.tsx
  • apps/ember-admin/app/services/feature.js
  • ghost/core/core/shared/labs.js
💤 Files with no reviewable changes (3)
  • apps/ember-admin/app/services/feature.js
  • ghost/core/core/shared/labs.js
  • apps/admin/src/settings/app/components/settings/advanced/labs/private-features.tsx

Walkthrough

The import mapping API no longer accepts importMemberTier. Tier detection and mapping are always available, while custom-field mappings remain supported. The import modal and its tests no longer use the feature flag. The Import Member Tier entry is removed from admin labs settings and the core private-feature list.

Suggested reviewers: kevinansfield

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the removal and cleanup of the importMemberTier labs flag, which is the main change.
Description check ✅ Passed The description accurately explains the labs flag cleanup and the public availability of the gated functionality.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mike-PLA-215

Comment @coderabbitai help to get the list of available commands.

@nx-cloud

nx-cloud Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

🤖 Nx Cloud AI Fix

Ensure the fix-ci command is configured to always run in your CI pipeline to get automatic fixes in future runs. For more information, please see https://nx.dev/ci/features/self-healing-ci


View your CI Pipeline Execution ↗ for commit 47b003b

Command Status Duration Result
nx run ghost:test:ci:integration ✅ Succeeded 2m 40s View ↗
nx run @tryghost/admin:test:acceptance ✅ Succeeded 6m 58s View ↗
nx run @tryghost/admin:build ✅ Succeeded 1m 53s View ↗
nx run ghost:test:integration ✅ Succeeded 3m 22s View ↗
nx run ghost-admin:test ✅ Succeeded 2m 47s View ↗
nx run-many -t test:unit -p @tryghost/admin,ghost ✅ Succeeded 4m 37s View ↗
nx run ghost:test:legacy ✅ Succeeded 1m 12s View ↗
nx run ghost:test:e2e ✅ Succeeded 2m 56s View ↗
Additional runs (3) ✅ Succeeded ... View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-21 17:06:14 UTC

@codecov

codecov Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.20%. Comparing base (9a22123) to head (47b003b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #29916      +/-   ##
==========================================
- Coverage   75.20%   75.20%   -0.01%     
==========================================
  Files        1638     1638              
  Lines      154712   154711       -1     
  Branches    18601    18596       -5     
==========================================
- Hits       116349   116348       -1     
- Misses      37356    37380      +24     
+ Partials     1007      983      -24     
Flag Coverage Δ
admin-tests 56.71% <ø> (ø)
e2e-tests 76.92% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

9larsons added a commit that referenced this pull request Aug 19, 2026
no ref

The settings shell and the shared `components/`, `hooks/`, `utils/`,
`data/`, `assets/` and `providers/` now live directly under `settings/`,
leaving only `advanced/` in `settings/app/` until the PRs touching it
land (#30018, #30019, #29916, #30054, #30099, #30110, #28368). Big diff,
but ~300 of the 325 files are import-line rewrites; the substantive
changes are the lint-debt fixes the move surfaces:

- shell files grouped in `settings/layout/`: `app.tsx` (provider tree),
`main-content.tsx`, `sidebar.tsx`, `settings-sections.tsx` (was
`components/settings.tsx`); root `settings.tsx` route entry unchanged
- contexts split the way admin's other contexts are — hooks + context in
`*-context.ts`, provider component in its own file — for global data,
settings app, confirmations, scroll sections; `withErrorBoundary` →
`with-error-boundary.tsx`
- `loadKoenig` → `components/koenig-loader.ts`; the untyped
`@tryghost/koenig-lexical` bundle gets a minimal `KoenigLexicalModule`
type instead of `any`
- `@tryghost/limit-service` and `@tryghost/nql` get typed ambient
declarations in `vite-env.d.ts` (clears ~25 `no-unsafe-*` in
`use-limiter`)
- `iframe-buffering` reuses `utils/debounce`; `TopLevelGroup.saveState`
uses the framework's `SaveState`; the usual `void`-wrapping of async
handlers
mike182uk and others added 2 commits August 21, 2026 11:48
@mike182uk

Copy link
Copy Markdown
Member Author

Closing this for now as some re-work is going to be done on this feature in the not-so-distant future

@mike182uk mike182uk closed this Sep 30, 2026
@mike182uk
mike182uk deleted the mike-PLA-215 branch October 8, 2026 10:50
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