Repository navigation
docs: make the README and docs accurate for v1 and simpler - #264
Merged
Merged
Conversation
- The PR workflow needs only the lint and test scripts; build-check is optional, with tsc --noEmit otherwise. - A platform test runs when `test` passes its Actor: the PR build, or the default build. There is no "all tests" mode. - Only the affected Actors' tests run, and test-only changes reuse a build; the CLI also tests what it builds. - The default version is not "latest", which is a build tag. - The release and scheduled examples set report-slack-channel, without which they post nothing. - The example PR workflow is pr-test.yaml with the job buildAndTest. - The orchestrator note sits under its example, the config table is shorter, and the prose follows the Apify style guide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016XtpQsmuUu7Tv9c7DSAr1v
…and simpler Each doc was checked claim by claim against the code. Among the fixes: - lib: an Actor not in ACTOR_BUILDS doesn't run; only duration and the statistics checks take null; maxRetriesPerRequest takes a number; getStatistics returns the keys it summed and throws for missing keys. - cli: --actors/--ignore are only on the commands that select Actors; unknown flags are errors; notify has --dry-run, and only a dry run verifies the Slack token; change detection lists its steps in order. - workflows: SLACK_BOT_TOKEN is only needed with report-slack-channel; only the jobs using the setup action pin Node.js 24, pnpm repos install with pnpm; the review and Claude triggers; secrets are optional. - migration guide: `test` excludes dist, not the workflow; the quoted errors match the code; the steps are numbered. "Actor tokens" are "build tokens" throughout, and the prose follows the Apify style guide. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016XtpQsmuUu7Tv9c7DSAr1v
metalwarrior665
requested review from
JuanGalilea and
ruocco-l
as code owners
November 26, 2026 21:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #252: merge that first, then this one (or retarget it to
masteronce #252 is in). Docs only, no code changes.The README and the four docs it links were checked claim by claim against the code and the workflows, made simpler, and brought in line with the Apify style guide.
README
lintandtestscripts.build-checkis optional, withtsc --noEmitotherwise.testpasses its Actor: the PR build, or the default build. There's no "all tests" mode.latest, which is a build tag.report-slack-channel. Without it they post nothing to Slack.pr-test.yamlwith the jobbuildAndTest, since "devel" is gone.docs/lib.md
ACTOR_BUILDSdoesn't run. Only the entry's missingbuildNumbermeans the default build.duration,failedRequests,requestsRetriesandmaxRetriesPerRequesttakenull.forbiddenLogs: []turns that check off.maxRetriesPerRequesttakes a number, not a range.getStatisticsalso returns thekeysit summed, and throws for missing keys.ACTOR_BUILDSdescription is a small field table.docs/cli.md
--actorsand--ignoreexist only on the commands that select Actors.notifyhas--dry-run, and only a dry run checks the Slack token with Slack.build,build-from-local,test, anddelete-old-builds.docs/workflows.md
SLACK_BOT_TOKENis only needed withreport-slack-channel.@claudetriggers.docs/migrating-to-v1.md
testcommand excludes**/dist/**, not the workflow."Actor tokens" are "build tokens" throughout, to match
buildTokenEnvVar.To check
TESTER_APIFY_TOKENquotes GitHub's message,Invalid secret, TESTER_APIFY_TOKEN is not defined in the referenced workflow. It's from memory, not from a run.README.mdstill tells consumers to settargetandmoduletoES2022intsconfig.json. That still works with the newexportsmap, sincetypesis set too, but someone who knows the consumer repos should say whether it's still the advice we want.Testing
docs/resolves to a heading.Generated by Claude Code