Skip to content

lambda runtime upgrade fixes#9

Open
higoyal01 wants to merge 4 commits into
mainfrom
feat/lambda-runtime-upgrade-fixes
Open

lambda runtime upgrade fixes#9
higoyal01 wants to merge 4 commits into
mainfrom
feat/lambda-runtime-upgrade-fixes

Conversation

@higoyal01

Copy link
Copy Markdown

Issue #, if available:

Description of changes: Adds 31 unit tests for the lambda-runtime MCP tool covering dispatcher routing, _classify_runtime logic, handler success/error paths, size caps, and multi-region failure handling. Updates README.md to reference the new agent in the hierarchy diagram, project structure, and doc-index. Adds a function_name_filter contains-match to list_functions_by_runtime for friendlier lookups, a refresh cadence comment on RUNTIME_SUPPORT_DATA, and a chart axis labeling rule in the agent prompt to prevent $ mislabeling on non-cost axes.

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

…rt generation

- New agent: lambda-runtime-upgrade-agent (worker under ops-excellence)
- 7 MCP tools: discover_lambda_regions, list_functions_by_runtime,
  get_function_configuration, get_function_code, get_runtime_support_status,
  get_deprecated_functions, get_deprecated_functions_multi_region
- Parallel multi-region scanning (ThreadPoolExecutor, 10 workers)
- Region discovery asks user which regions to include in report
- Report template with 2 self-contained sections (5-10 min target)
- Code compatibility analysis for top 5 CRITICAL/HIGH functions
- Runtime knowledge base: Python, Node.js, Java, .NET, Ruby, Custom
…-upgrade-fixes

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
…rovements

- Add tests/unit/test_lambda_runtime_tool.py (31 tests) covering:
  - Dispatcher routing (known/unknown tools)
  - _classify_runtime pure logic (deprecated, EOL, active, unknown)
  - Handler success + error paths (missing params, HTTP failures, size caps)
  - Multi-region scan with per-region failure graceful handling

- Update README.md in 3 spots:
  - Hierarchy diagram: add lambda-runtime-upgrade under ops-excellence
  - Project structure: add lambda-runtime-upgrade.md to docs listing
  - Doc-index: add link to docs/agents/lambda-runtime-upgrade.md

- Nice-to-fix (non-blocking):
  - Add refresh cadence comment on RUNTIME_SUPPORT_DATA
  - Add function_name_filter (contains match) to list_functions_by_runtime
  - Add chart axis label rule to agent prompt to prevent $ mislabeling
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