-
Notifications
You must be signed in to change notification settings - Fork 0
Removed xmlrpc/pingomatic ping service #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: coderabbit_full_base_removed_xmlrpc_pingomatic_ping_service_pr1
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -310,12 +310,12 @@ async function initServices() { | |
| debug('Begin: initServices'); | ||
|
|
||
| debug('Begin: Services'); | ||
| // NOTE: If you need to add dependencies for services, use npm install <package> | ||
| const identityTokens = require('./server/services/identity-tokens'); | ||
| const stripe = require('./server/services/stripe'); | ||
| const members = require('./server/services/members'); | ||
| const tiers = require('./server/services/tiers'); | ||
| const permissions = require('./server/services/permissions'); | ||
| const xmlrpc = require('./server/services/xmlrpc'); | ||
| const slack = require('./server/services/slack'); | ||
| const webhooks = require('./server/services/webhooks'); | ||
| const scheduling = require('./server/adapters/scheduling'); | ||
|
|
@@ -347,9 +347,9 @@ async function initServices() { | |
| await stripe.init(); | ||
|
|
||
| // NOTE: newsletter service and email service depend on email address service | ||
| await emailAddressService.init(), | ||
|
|
||
| await Promise.all([ | ||
| emailAddressService.init(), | ||
| identityTokens.init(), | ||
| memberAttribution.init(), | ||
| mentionsService.init(), | ||
|
|
@@ -361,15 +361,11 @@ async function initServices() { | |
| postsPublic.init(), | ||
| membersEvents.init(), | ||
| permissions.init(), | ||
| xmlrpc.listen(), | ||
| slack.listen(), | ||
| audienceFeedback.init(), | ||
| emailService.init(), | ||
| emailAnalytics.init(), | ||
| webhooks.listen(), | ||
| scheduling.init({ | ||
| apiUrl: urlUtils.urlFor('api', {type: 'admin'}, true) | ||
| }), | ||
| scheduling.init(), | ||
| comments.init(), | ||
|
Comment on lines
366
to
369
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check scheduling adapter init signature and all call sites
rg -n -C3 "scheduling\.init\(" --type=js
rg -n -C3 "adapters/scheduling" --type=jsRepository: agentic-review-benchmarks/Ghost-combined-coderabbit Length of output: 7636 🏁 Script executed: #!/bin/bash
# Find the scheduling adapter entry point and check init signature
find ghost/core/core/server/adapters/scheduling -name "index.js" -o -name "*.js" | head -20
cat ghost/core/core/server/adapters/scheduling/index.js 2>/dev/null || echo "index.js not found"
ls -la ghost/core/core/server/adapters/scheduling/Repository: agentic-review-benchmarks/Ghost-combined-coderabbit Length of output: 1439 🏁 Script executed: #!/bin/bash
# Check post-scheduling module and its usage
cat ghost/core/core/server/adapters/scheduling/post-scheduling/index.js
# Search for ALL scheduling.init calls to see call pattern consistency
rg -n "scheduling\.init" --type=js -A2 -B2
# Check for any other references to scheduling service
rg -n "\.init\(\)" ghost/core/core/boot.js | head -20Repository: agentic-review-benchmarks/Ghost-combined-coderabbit Length of output: 2607 Fix The adapter's 🤖 Prompt for AI Agents |
||
| linkTracking.init(), | ||
| emailSuppressionList.init(), | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: agentic-review-benchmarks/Ghost-combined-coderabbit
Length of output: 1285
🏁 Script executed:
Repository: agentic-review-benchmarks/Ghost-combined-coderabbit
Length of output: 34084
🏁 Script executed:
Repository: agentic-review-benchmarks/Ghost-combined-coderabbit
Length of output: 6996
Move
emailAddressService.init()outside ofPromise.allto ensure it completes beforeemailServiceinitializes.Line 349 explicitly documents that the email service depends on emailAddressService being ready. Currently, both are initialized in parallel within
Promise.all(lines 352 and 365), which creates a race condition.emailService.init()may start beforeemailAddressService.init()completes.Correct ordering
🤖 Prompt for AI Agents