Skip to content

docs: say that --no-cache calls the model instead of replaying cached actions - #1913

Merged
kacperkapusciak merged 1 commit into
e2e-inc:mainfrom
samanyudas:docs/ja-quickstart-wording
Nov 18, 2026
Merged

kacperkapusciak merged 1 commit into
e2e-inc:mainfrom
samanyudas:docs/ja-quickstart-wording

Conversation

@samanyudas

@samanyudas samanyudas commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

The quickstart said "Add --no-cache to skip cached actions". That reads as if the agent steps don't run. They do run: with the replay cache off, each agent.act step calls the model instead of replaying its recording.

  • docs/quickstart.mdx: "Add --no-cache to call the model instead of replaying cached actions."
  • docs/ja/quickstart.mdx and docs/zh/quickstart.mdx: the same sentence, translated. The old Japanese 「キャッシュを使わずに操作させる」 and Chinese 「跳过缓存的操作」 carried the same ambiguity.
  • context7.json: the rule agents read had the same "skip cached actions" wording.
  • docs/ja/quickstart.mdx also ends three sentences in the polite request form (〜してください), as a Japanese-speaking reader asked:
    • the --headed sentence next to the --no-cache one, so the two parallel "Add ..." sentences read the same
    • the example prompt 「購入手続きのテストを追加してください」

The behavior is in packages/e2e/src/run/runner.ts:474 (noCache sets the mode to 'off'), packages/core/src/cache/context.ts:261 (no cache context when off), and packages/core/src/agent/act.ts:269 (no cache means the step goes to the executor live).

Verified

Ran it locally: yes

  • Web benchmark, built from this branch, CI=1, committed recordings, no model key set:
Command Result
e2e run tests-agent/login-form.e2e.ts --config e2e.agent.config.ts 1 passed, Cache 1 replayed, no model call
same, with --no-cache 1 failed, MODEL_PROVIDER_FAILED: Unauthenticated request to AI Gateway

The second run reached the model, so the step was not skipped. .e2e/cache/ was unchanged after it.

  • pnpm docs:check: 162 translated pages match their English outline and code, and 3571 anchor links resolve.
  • Not checked on the docs site.

For maintainers

  • The English example prompt "add a test for checkout" is casual, and the Chinese page keeps it casual. The Japanese one is now polite. Say if quoted user prompts in docs/ja/ should stay casual instead.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved

🤖 Generated with Claude Code

… actions

"Add --no-cache to skip cached actions" reads as if the agent steps are
skipped. They still run: with the replay cache off, each step calls the
model. The quickstart in English, Japanese, and Chinese, and the Context7
rule, now say that.

The Japanese quickstart also ends the --headed and --no-cache sentences,
and the example prompt 「購入手続きのテストを追加してください」, with the
polite request form, so the two parallel flag sentences read the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 18, 2026
@samanyudas
samanyudas marked this pull request as ready for review November 18, 2026 01:25

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

@samanyudas

samanyudas commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Note

🤖 Claude Opus 5.5 responding on behalf of Samanyu Das

@kacperkapusciak can you review this? It changes your Japanese quickstart from #1875.

The quickstart said --no-cache "skips cached actions". That sounds like the steps don't run. They do. Each agent.act step calls the model instead of replaying the cache. This PR fixes the sentence in English, Japanese, and Chinese.

Three Japanese sentences now end in 〜してください, including the example prompt. The English and Chinese prompts stay casual, so say if the Japanese one should too.

All 27 checks pass. This account can't add the Ready for Human Review label.

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Checked f785b60 (main 66d07ca): the wording against runner.ts (noCache sets the mode to off), cache/context.ts and agent/act.ts, and the ja/zh lines.

Must fix: none.

The new sentence matches the code: with --no-cache each agent.act step calls the model, and nothing is replayed or recorded. The ja/zh sentences say the same, and context7.json is fixed too. CI is green.

@kacperkapusciak should still confirm the Japanese politeness change (〜してください), since it changes the tone of #1875.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 18, 2026

@kacperkapusciak kacperkapusciak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for your contribution! 🏅

@kacperkapusciak
kacperkapusciak added this pull request to the merge queue Nov 18, 2026
Merged via the queue into e2e-inc:main with commit 6bbeab3 Nov 18, 2026
29 checks passed
@samanyudas
samanyudas deleted the docs/ja-quickstart-wording branch November 18, 2026 08:00
kblok added a commit to hardkoded/e2e-dotnet that referenced this pull request Nov 19, 2026
…tions (#1821)

* Docs: say E2E_NO_CACHE calls the model instead of replaying cached actions (e2e-inc/e2e#1913)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls2e22oTDZ44K81VX7oEBC

* Docs: reword E2E_NO_CACHE in the caching guide

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls2e22oTDZ44K81VX7oEBC

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:S Up to 29 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants