fix: onboarding quickstart accuracy improvements#930
Conversation
…d troubleshooting - Fix two broken quickstart links in README.md (conductor-oss.org/quickstart -> docs.conductor-oss.org/quickstart/) - Add Node.js v16+ and Java 21+ to prerequisites in README.md - Add Java 21+ prerequisite to docs/quickstart/index.md - Add troubleshooting callout box for common issues (Java not found, port conflicts, Docker alternative)
- #2: Add prominent Java 21 prerequisite callout before Phase 1 / Start Conductor - #5: Fix JS SDK package name from @conductor-oss/conductor-client to conductor-javascript-sdk; add npm install command - #13: Replace busy-wait `while True: pass` with `time.sleep(0.1)` + import time (CPU yield between poll cycles) - #14: Update Docker cURL --sync equivalent to use correct synchronous endpoint /api/workflow/{name}/run
- #11: Replace clean JSON output block with realistic CLI output showing the "Auto-detected server:" prefix line and wall-of-JSON format; add jq pipeline example for readable extraction - #12: Fix Phase 3 WORKFLOW_ID capture to use `2>/dev/null | tail -1` before piping to jq, with comment explaining stdout/stderr separation
| **See a workflow execute in 2 minutes. Build your own in 5.** | ||
|
|
||
| You need [Node.js](https://nodejs.org/) (v16+) installed. That's it. | ||
| You need [Node.js](https://nodejs.org/) (v16+) and [Java](https://adoptium.net/) (21+) installed. That's it. |
There was a problem hiding this comment.
we shouldn't point to the distribution, different companies use different distribution. Adoptium is not an official distro for Java.
There was a problem hiding this comment.
Fixed — Adoptium link removed. Now reads: "You need Node.js (v16+) and Java 21+ installed."
|
|
||
| ## Phase 1: See it work | ||
|
|
||
| > **Prerequisite:** Java 21+ is required to run the Conductor server. Run `java --version` to check. [Install Java 21](https://adoptium.net/) |
There was a problem hiding this comment.
see above. Install Java 21 is sufficient.
There was a problem hiding this comment.
Fixed — now just says "Install Java 21 if needed." with no distribution link.
| Wait for the server to start, then open the UI at [http://localhost:8080](http://localhost:8080). | ||
|
|
||
| !!! note "Troubleshooting" | ||
| - **"Java not found" or server won't start?** Install Java 21+ from [Adoptium](https://adoptium.net/) and make sure `java -version` shows 21 or higher. |
There was a problem hiding this comment.
see above on the link to adoptium.
There was a problem hiding this comment.
Fixed — troubleshooting note now says "Install Java 21+" with no Adoptium link.
Replace distribution-specific Java install links with generic "Install Java 21" language — different organizations use different JDK distributions and Adoptium is not an official distro. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
nthmost-orkes
left a comment
There was a problem hiding this comment.
done — removed all adoptium links, just says "install java 21" now
- README.md: keep docs.conductor-oss.org URLs (our canonical domain) - docs/quickstart/index.md: take main's @io-orkes/conductor-javascript require + fix npm install line to match
Use the actual sync endpoint POST /api/workflow/execute/{name}/{version}
instead of the non-existent /api/workflow/{name}/run path.
Reported in PR review feedback from Miguel Prieto.
Adds a hard rule: all REST endpoints, CLI commands, and code examples in docs must be verified against source before committing. Triggered by a hallucinated /run endpoint in the quickstart curl example (PR #930). CLAUDE.md: new repo-level guidance for Claude Code with verification checklist and key source locations. AGENTS.md: new Documentation Verification section with the same rules in a form readable by any AI coding agent.
Replace 'never do X' rules with step-by-step workflows for each content type: REST endpoints, CLI commands, SDK examples, expected output blocks. Core principle: open the source first, derive the doc from what you read. Applies to both AGENTS.md (any AI agent) and CLAUDE.md (Claude Code).
* Fix quickstart documentation: broken links, missing prerequisites, and troubleshooting - Fix two broken quickstart links in README.md (conductor-oss.org/quickstart -> docs.conductor-oss.org/quickstart/) - Add Node.js v16+ and Java 21+ to prerequisites in README.md - Add Java 21+ prerequisite to docs/quickstart/index.md - Add troubleshooting callout box for common issues (Java not found, port conflicts, Docker alternative) - conductor-oss#2: Add prominent Java 21 prerequisite callout before Phase 1 / Start Conductor - conductor-oss#5: Fix JS SDK package name from @conductor-oss/conductor-client to conductor-javascript-sdk; add npm install command - conductor-oss#13: Replace busy-wait `while True: pass` with `time.sleep(0.1)` + import time (CPU yield between poll cycles) - conductor-oss#14: Update Docker cURL --sync equivalent to use correct synchronous endpoint /api/workflow/{name}/run * MAESTRO: fix quickstart output format and jq pipeline (issues conductor-oss#11, conductor-oss#12) - conductor-oss#11: Replace clean JSON output block with realistic CLI output showing the "Auto-detected server:" prefix line and wall-of-JSON format; add jq pipeline example for readable extraction - conductor-oss#12: Fix Phase 3 WORKFLOW_ID capture to use `2>/dev/null | tail -1` before piping to jq, with comment explaining stdout/stderr separation * MAESTRO: fix README quickstart warnings (issues conductor-oss#3, conductor-oss#4) - Add 600 MB download notice after 'conductor server start' (conductor-oss#3) - Add idempotency note after 'conductor workflow create' (conductor-oss#4) - Note: README Slack badge uses join.slack.com format; CONTRIBUTING.md uses orkes-conductor.slack.com format — same invite token, tracked as conductor-oss#32 * MAESTRO: fix bug report template to be language-neutral (issue conductor-oss#31) * docs: remove Adoptium-specific links per reviewer feedback Replace distribution-specific Java install links with generic "Install Java 21" language — different organizations use different JDK distributions and Adoptium is not an official distro. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> * fix: correct curl equivalent for workflow start --sync Use the actual sync endpoint POST /api/workflow/execute/{name}/{version} instead of the non-existent /api/workflow/{name}/run path. Reported in PR review feedback from Miguel Prieto. * docs: add CLAUDE.md and doc verification rules to AGENTS.md Adds a hard rule: all REST endpoints, CLI commands, and code examples in docs must be verified against source before committing. Triggered by a hallucinated /run endpoint in the quickstart curl example (PR conductor-oss#930). CLAUDE.md: new repo-level guidance for Claude Code with verification checklist and key source locations. AGENTS.md: new Documentation Verification section with the same rules in a form readable by any AI coding agent. * docs: reframe doc rules as proactive workflow, not prohibitions Replace 'never do X' rules with step-by-step workflows for each content type: REST endpoints, CLI commands, SDK examples, expected output blocks. Core principle: open the source first, derive the doc from what you read. Applies to both AGENTS.md (any AI agent) and CLAUDE.md (Claude Code). ---------
Summary
This PR fixes the most common onboarding failures new users encounter in the first 5 minutes. Addresses conductor-oss/getting-started#1–5, conductor-oss/getting-started#11–14, and conductor-oss/getting-started#31.
Changes
docs/quickstart/index.mdconductor-javascript-sdkwas wrong)while True: passbusy-wait in Python worker example withtime.sleep(0.1)loop + explanatory commentcurlequivalent forconductor workflow start --syncto use correct REST endpoint (POST /api/workflow/{name}/run) with correct headers and example outputAuto-detected server:prefix and jq extraction example) instead of a clean JSON blobAuto-detected server:stderr prefix using2>/dev/null | tail -1before piping to jqREADME.mdconductor server startnoting the ~600 MB one-time JAR downloadconductor workflow createexplaining the expected error on duplicate create and how to useconductor workflow update.github/ISSUE_TEMPLATE/bug_report.mdIssue conductor-oss/getting-started#1 (404 on conductor-oss.org/quickstart)
The 404 persists because
docs/quickstart/index.mdis not yet merged. This PR resolves it upon merge.Test plan
docs/quickstart/index.mdrenders correctly in the docs site preview🤖 Generated with Claude Code