Rename the server cron-jobs API to manual automations and remove the deprecated mutations
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- graphql, typescript
- Domain
- backend-api-design
Research direction
Start by checking client, MCP server, and scraper-app references to the deprecated GraphQL fields, then review GraphQL Hive usage data and whether accountants still need fetchDeelDocuments. The rename spans packages/server/src/modules/cron-jobs/, packages/server/src/modules-app.ts, packages/server/src/modules/deel/, client code, and eslint.config.mjs; read the schema and resolver files alongside those references. Done means the deprecated mutations and result types are removed or have a dated removal plan, names are updated consistently, and the listed generation, lint, test, and schema checks pass.
Written by the indexing model from the issue text.
Description
Background
The client screen was renamed from "Cron Jobs" to Manual Automations in #4997, because nothing schedules these jobs: they run only when someone triggers them from the screen. That PR left the server alone on purpose, because renaming the API is a breaking change. Since then, #4999–#5001 added a Deel step to the same mutation and deprecated fetchDeelDocuments.
The server still uses the old names, and several deprecated mutations are still in the schema.
What's left
1. Server naming (packages/server/src/modules/cron-jobs/)
- Module id
cron-jobs,cronJobsModule,CronJobsProvider,run-cron-jobs.helper.ts/runCronJobs, registered inpackages/server/src/modules-app.ts. - GraphQL names: the
runCronJobsmutation, theCronJobsRuntype, theCronJobEventunion, and theCronJobStep,CronJobStepStateandCronJobStepStatustypes, plus the" … cron jobs … "descriptions on the event types. - Client code that references the generated names:
packages/client/src/hooks/use-run-manual-automations.ts(theRunCronJobsoperation) and the files underpackages/client/src/components/manual-automations/. - The
strict-id-in-typesexceptions ineslint.config.mjsthat list theCronJob*types.
2. Deprecated mutations to remove (each marked @deprecated(reason: "Use runCronJobs"))
mergeChargesByTransactionReference,flagForeignFeeTransactionsandcalculateCreditcardTransactionsDebitDateincron-jobs/typeDefs/cron-jobs.graphql.ts, and their resolvers and result types:MergeChargesByTransactionReferenceResult,MergeChargesByTransactionReferencePlan,FlagForeignFeeTransactionsResult.fetchDeelDocumentsinpackages/server/src/modules/deel/typeDefs/deel.graphql.tsand its resolver. It is a thin wrapper aroundsyncDeelDocumentsand the only remaining way for an accountant to pull Deel documents (the automations run is owner-only), so check that's acceptable before removing it.
Suggested approach
- Before removing anything, check that no client relies on the deprecated fields. The in-repo client, MCP server and scraper-app don't call them, but external API users might. GraphQL Hive's schema check / usage data can confirm this.
- Do the rename in two steps to stay non-breaking: first add the new names next to the old ones and deprecate the old ones (e.g.
runManualAutomations, withrunCronJobsdeprecated), switch the client, and remove the old names in a later release. A single breaking PR is also fine if nothing outside the repo calls the API. - Probably two PRs: removing the deprecated mutations, then renaming.
Done when
- No
cron/CronJobnames are left in the server module, schema or client code (apart from deprecated aliases kept for compatibility, if any). - The four deprecated mutations and their result types are removed, or have a dated plan for removal.
yarn generate,yarn lintandyarn testpass, and the Hive schema check passes or its breaking changes are expected.
- Dominant language
- TypeScript
- Stars
- 30
- Forks
- 10
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 276
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Urigo/accounter-fullstack
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Urigo/accounter-fullstack#5302 ·
Maintainers usually reply within 2 days
-
1214 annual-audit-workflow
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Urigo/accounter-fullstack#5257 ·
Maintainers usually reply within 2 days
-
1214 annual-audit-workflow
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Urigo/accounter-fullstack#5256 ·
Maintainers usually reply within 2 days
-
annual-audit-workflow
Difficulty 1/5 1-3 hours Newbie friendliness 87/100
Urigo/accounter-fullstack#5252 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Urigo/accounter-fullstack#4919 ·
Maintainers usually reply within 2 days
All issues in Urigo/accounter-fullstack
Similar issues
-
area: integrations documentation priority: P2 size: XS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eddiejaoude/StackDash#798 ·
Maintainers usually reply within 1 day
-
bot:ai-assisted component:midnight-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midnightntwrk/midnight-js#1790 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:vscode bug has repro platform:macos platform:vscode regression
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day