FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: adding new Lambda features by leandrodamascena · Pull Request #7917 · aws-powertools/powertools-lambda-python · GitHub

docs: adding new Lambda features - #7917

Merged
leandrodamascena merged 8 commits into
developfrom
docs/add-lmi-and-durable
Apr 8, 2026
Merged

docs: adding new Lambda features#7917
leandrodamascena merged 8 commits into
developfrom
docs/add-lmi-and-durable

Conversation

Copy link
Copy Markdown
Contributor

Issue number: closes #7915

Summary

This PR adds documentation for two new Lambda features: Lambda Managed Instances and Durable Functions.

Changes

I created a new lambda-features section in the docs with two pages:

Lambda Managed Instances

  • Explains the multi-process concurrency model used by Python runtime
  • Shows how each Powertools utility works (Logger, Tracer, Metrics, Parameters, Idempotency, Batch)
  • FAQ addressing common questions about cache behavior, thread safety, etc.

Durable Functions

  • Documents the native integration between Powertools Logger and the Durable Execution SDK via context.set_logger()
  • Explains log deduplication during replays
  • Shows how to use Tracer, Metrics, Idempotency, Parser, and Parameters
  • Clarifies when to use Powertools Idempotency vs built-in step idempotency (ESM triggers, methods you don't want as steps)

The idea here is to create those pages as integration guides, not feature documentation. They follow a different structure than core utilities because:

1/ The focus is "how Powertools works with X" rather than "how to use Powertools feature Y"
2/ Current customers that users Powertools should find guidance on Powertools compatibility with those new features
3/ The content is more about considerations and gotchas than step-by-step tutorials

User experience

Please share what the user experience looks like before and after this change


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

leandrodamascena requested a review from a team as a code owner January 7, 2026 11:19
pull-request-size Bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jan 7, 2026
boring-cyborg Bot added the documentation Improvements or additions to documentation label Jan 7, 2026

sonarqubecloud Bot commented Jan 7, 2026

Copy link
Copy Markdown

Quality Gate failed

Failed conditions
2 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

codecov Bot commented Jan 7, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.68%. Comparing base (4cb9997) to head (463ec38).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7917   +/-   ##
========================================
  Coverage    96.68%   96.68%           
========================================
  Files          285      285           
  Lines        14187    14187           
  Branches      1175     1175           
========================================
  Hits         13717    13717           
  Misses         341      341           
  Partials       129      129           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

powertools-for-aws-oss-automation Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

@leandrodamascena Any updates on the above? Would be great to have documentation on durable function support

Hey @kishaningithub! We are working to merge this.

powertools-for-aws-oss-automation Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 8, 2026
leandrodamascena requested a review from phipag April 8, 2026 02:54
leandrodamascena self-assigned this Apr 8, 2026
powertools-for-aws-oss-automation Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 8, 2026
phipag previously approved these changes Apr 8, 2026

phipag 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

Copy link
Copy Markdown
Contributor Author

Hey @svozza can you pls approve this?

svozza commented Apr 8, 2026

Copy link
Copy Markdown

One tiny comment, all good otherwise.

powertools-for-aws-oss-automation Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 8, 2026
leandrodamascena requested a review from svozza April 8, 2026 15:24
powertools-for-aws-oss-automation Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 8, 2026

sonarqubecloud Bot commented Apr 8, 2026

Copy link
Copy Markdown

leandrodamascena merged commit d488548 into develop Apr 8, 2026
18 checks passed
leandrodamascena deleted the docs/add-lmi-and-durable branch April 8, 2026 15:42
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

Labels

documentation Improvements or additions to documentation size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Add documentation for Durable functions & Lambda Managed Instances

6 participants


Back | FazBrowse Home | New Git URL