Skip to content

docs: align Akka guidance with release notes#1

Open
ucalyptus wants to merge 1 commit into
mainfrom
docs/akka-release-notes-2026
Open

docs: align Akka guidance with release notes#1
ucalyptus wants to merge 1 commit into
mainfrom
docs/akka-release-notes-2026

Conversation

@ucalyptus

@ucalyptus ucalyptus commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add release-aware Akka guidance based on the latest official release notes
  • Document current SDK/CLI/Runtime implications for agents, workflows, views, consumers, entities, operations, and tests
  • Wire the new guidance into README, docs index, markdown checks, and generated site navigation

Test Plan

  • node scripts/check-markdown.mjs
  • node scripts/build-site.mjs

Summary by CodeRabbit

  • Documentation
    • Introduced new Akka Release Notes Guidance page documenting current SDK, CLI, and Runtime capabilities with clean-code implications
    • Updated component playbook with current API guidance and operational documentation requirements for workflows, views, consumers, and agents
    • Expanded review checklist and testing strategy to reflect latest best practices and lifecycle coverage
    • Updated documentation index and build configuration for new guidance materials

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 24, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

This PR introduces comprehensive release-notes-aligned clean-code guidance for Akka SDK development. A new release-notes-guidance.md document captures version references, recent capability changes, and clean-code implications, then cascades those updates through existing guidance documents and updates navigation, build integration, and testing strategy.

Changes

Release-Aligned Clean Code Guidance

Layer / File(s) Summary
Release notes guidance page and content
docs/release-notes-guidance.md
New authoritative guidance page pinning to checked Akka SDK/CLI/Runtime versions, enumerating recent capability changes (agent components, annotations, workflows, views/consumers, entity lifecycle, observability, testing) with clean-code implications for each area, providing a release-aware review checklist, and defining a maintenance workflow for future updates.
Navigation, discovery, and build integration
README.md, docs/README.md, scripts/build-site.mjs, scripts/check-markdown.mjs
Updates README and docs README with references and sequencing for the new guidance page, registers it in site builder and markdown validation, and extends docs/README optimization goals to include release-aware guidance.
API vocabulary and annotation alignment
docs/component-playbook.md, docs/review-checklist.md, docs/source-notes.md
Reflects current Akka API patterns: requires fluent/typesafe Workflow API over deprecated Step API, updates naming guidance to @Component(id=...) form, clarifies @AgentRole with @Component for agent identity, and extends adaptation policy to cover release-notes re-check before adding API examples.
Operational and testing guidance enhancements
docs/component-playbook.md, docs/review-checklist.md, docs/testing-strategy.md
Expands guidance and testing strategy with snapshot/timestamp/history start documentation requirements for views and consumers, workflow suspend/resume/termination/timeout modeling, agent guardrails/memory-filter documentation, and strengthened testing coverage for lifecycle, workflows, snapshot behavior, agent evaluation, and HTTP/gRPC dependency mocking.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A rabbit hops through docs with glee,
Release notes guide the way we see,
Workflows fluent, agents clear,
Tests and checklists now appear!
Clean code shines from tip to ear!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers the main objectives and test plan but omits all required sections from the template (Akka Boundary Check, Tests/Verification checklist, and Notes). Add the missing template sections: Akka Boundary Check (with required checkboxes), Tests/Verification checklist with checkbox status, and Notes section.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: aligning Akka guidance documentation with release notes across multiple documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/akka-release-notes-2026

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/release-notes-guidance.md`:
- Around line 9-11: Update the release-notes snippet so the Akka SDK line reads
"Akka SDK 3.5.18" instead of "Akka SDK 3.5.19"; leave "Akka CLI 3.0.62"
unchanged; for the "Akka Runtime 1.5.48-1.5.52" entry keep the range only if the
May 2026 release notes explicitly state that range, otherwise replace it with
the single confirmed latest runtime version (1.5.52) to avoid suggesting an
incorrect range.
- Around line 42-43: Update the release notes guidance to correct the annotation
name: replace the incorrect `@AgentDescriptor` mention with the intended
`@AgentDescription` (or clarify if the text meant something else), and ensure
the guidance still references `@AgentRole` as the current agent role annotation;
update any sentences that contrast `@AgentRole` and `@AgentDescription` so they
accurately reflect deprecation/usage.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2010dd22-c71c-4a72-a59a-0944138bfbe7

📥 Commits

Reviewing files that changed from the base of the PR and between 7056b89 and fee3009.

📒 Files selected for processing (9)
  • README.md
  • docs/README.md
  • docs/component-playbook.md
  • docs/release-notes-guidance.md
  • docs/review-checklist.md
  • docs/source-notes.md
  • docs/testing-strategy.md
  • scripts/build-site.mjs
  • scripts/check-markdown.mjs

Comment on lines +9 to +11
- Akka SDK 3.5.19
- Akka CLI 3.0.62
- Akka Runtime 1.5.48-1.5.52 in the May 2026 notes

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

What are the latest Akka SDK, Akka CLI, and Akka Runtime versions as of May 2026?

💡 Result:

As of May 24, 2026, the latest versions for the Akka platform components are as follows: Akka SDK: The latest version is v3.5.18, released on April 16, 2026 [1][2]. Akka CLI: The latest version is 3.0.62, as referenced in official installation documentation [3]. Akka Runtime: The latest version integrated into the Akka SDK is 1.5.52 [2][4]. Please note that Akka and Akka.NET are distinct projects. The versions above refer to the Akka platform (often associated with the Akka SDK and Kalix-based services) [1][2][5]. Akka.NET, the separate.NET implementation, maintains its own independent release cycle, with versions such as 1.5.68 available as of May 2026 [6].

Citations:


Fix Akka SDK version in release-notes guidance

  • The snippet’s “Akka SDK 3.5.19” conflicts with the latest official Akka SDK release version (v3.5.18); update it to v3.5.18.
  • “Akka CLI 3.0.62” matches the latest official CLI version, and Akka Runtime latest is 1.5.52—so keep the 1.5.48–1.5.52 range only if it’s explicitly stated in the May 2026 release notes.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/release-notes-guidance.md` around lines 9 - 11, Update the release-notes
snippet so the Akka SDK line reads "Akka SDK 3.5.18" instead of "Akka SDK
3.5.19"; leave "Akka CLI 3.0.62" unchanged; for the "Akka Runtime 1.5.48-1.5.52"
entry keep the range only if the May 2026 release notes explicitly state that
range, otherwise replace it with the single confirmed latest runtime version
(1.5.52) to avoid suggesting an incorrect range.

Comment on lines +42 to +43
- Use `@AgentRole` for the agent role annotation in current code; do not add new
`@AgentDescriptor` examples.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

Akka SDK agent annotation @AgentRolevs@AgentDescriptor``

💡 Result:

In Akka SDK (agent components), @AgentRole is the newer annotation for specifying an agent’s “role”, and @AgentDescriptor is legacy/old-style agent metadata that has been deprecated. 1) What @AgentRole is for - The Akka SDK migration guide states that Akka SDK 3.5.5 deprecates @AgentDescription in favor of using @Component (for agent metadata like name/description) and the new @AgentRole annotation for specifying agent roles. It also notes the framework gives more consistent API aligned with other component types. [1] 2) What @AgentDescriptor / @AgentDescription is for (and its status) - The same migration guide explicitly says “The @AgentDescription annotation is now deprecated.” [1] - It further says you can migrate any @AgentDescription.role field by adding @AgentRole instead. [1] 3) How metadata is expressed after migration (practical difference) - Old pattern (deprecated): you’d use @AgentDescription(name=..., description=..., role=...) on the agent class. [1] - New pattern: put name/description into @Component(name=..., description=...) and put role into @AgentRole("...") on the agent class. [1] 4) Guidance / rule of thumb - Use @Component for agent name and description, and use @AgentRole(...) for the role (e.g., “worker”, “planner”, etc.). [1] - Do not try to use both the old and new styles for the same fields (e.g., you can’t mix @AgentDescription.name with @Component.name); the migration guide warns this will cause validation errors. [1] If by “@AgentDescriptor” you meant a specific class/annotation name other than what Akka documents as “@AgentDescription”, tell me the exact fully-qualified annotation name (package + class) from your codebase and I’ll map it precisely to the current Akka annotations.

Citations:


Fix agent annotation name in release notes guidance (@AgentDescriptor@AgentDescription).

Akka’s migration guidance positions @AgentRole as the current agent role annotation and deprecates @AgentDescription (not @AgentDescriptor). Update the doc text to use @AgentDescription or clarify what @AgentDescriptor is intended to refer to.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/release-notes-guidance.md` around lines 42 - 43, Update the release
notes guidance to correct the annotation name: replace the incorrect
`@AgentDescriptor` mention with the intended `@AgentDescription` (or clarify if
the text meant something else), and ensure the guidance still references
`@AgentRole` as the current agent role annotation; update any sentences that
contrast `@AgentRole` and `@AgentDescription` so they accurately reflect
deprecation/usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant