Rename the server cron-jobs API to manual automations and remove the deprecated mutations
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- graphql, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 30
- フォーク
- 10
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 276
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Urigo/accounter-fullstack のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Urigo/accounter-fullstack#5302 ·
メンテナーはふだん 2 日以内に返信
-
1214 annual-audit-workflow
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Urigo/accounter-fullstack#5257 ·
メンテナーはふだん 2 日以内に返信
-
1214 annual-audit-workflow
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Urigo/accounter-fullstack#5256 ·
メンテナーはふだん 2 日以内に返信
-
annual-audit-workflow
難易度 1/5 1〜3時間 初心者へのやさしさ 87/100
Urigo/accounter-fullstack#5252 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Urigo/accounter-fullstack#4919 ·
メンテナーはふだん 2 日以内に返信
Urigo/accounter-fullstack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
tashfeenahmed/freellmapi#2217 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
remotion-dev/skills#37 ·
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank linesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
Slider: Escape during a thumb drag keeps and commits the dragged value, unlike ui-sdk's other dragsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
vercel-labs/ui#1758 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nicobailon/pi-subagents#3425 ·
メンテナーはふだん 1 日以内に返信