Skip to content

fix(composio): update GitHub action slugs to current values#2835

Merged
senamakel merged 2 commits into
tinyhumansai:mainfrom
staimoorulhassan:fix/github-composio-actions
May 29, 2026
Merged

fix(composio): update GitHub action slugs to current values#2835
senamakel merged 2 commits into
tinyhumansai:mainfrom
staimoorulhassan:fix/github-composio-actions

Conversation

@staimoorulhassan
Copy link
Copy Markdown
Contributor

@staimoorulhassan staimoorulhassan commented May 28, 2026

Fixes #2768.

Summary

Three outdated Composio v1/v2 GitHub action slugs were still referenced in tests, causing sync failures when the backend rejected the obsolete names at runtime:

  • GITHUB_USERS_GET_AUTHENTICATEDGITHUB_GET_THE_AUTHENTICATED_USER (auth_retry_tests.rs)
  • GITHUB_LIST_REPOSGITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER (composio_tests.rs, two occurrences)
  • GITHUB_LIST_ISSUESGITHUB_LIST_REPOSITORY_ISSUES (payload_summarizer.rs)

Additionally adds slug-regression tests in memory_sync/composio/providers/github/tests.rs that:

  • Pin the ACTION_GET_AUTHENTICATED_USER and ACTION_SEARCH_ISSUES constants to their correct v3 values
  • Assert that all known retired slugs (GITHUB_USERS_GET_AUTHENTICATED, GITHUB_LIST_REPOS, GITHUB_LIST_ISSUES, GITHUB_COMMIT_MULTIPLE_FILES, GITHUB_CLOSE_AN_ISSUE, GITHUB_DELETE_A_BRANCH) are absent from GITHUB_CURATED
  • Verify the key current read and write slugs are present in the curated list

Test plan

  • pnpm debug rust passes — existing + new tests all green
  • pnpm debug rust github runs the new slug regression tests specifically
  • No GITHUB_USERS_GET_AUTHENTICATED, GITHUB_LIST_REPOS, or GITHUB_LIST_ISSUES remain in the source tree

Summary by CodeRabbit

  • Tests
    • Standardized full tool/action names across tests to ensure consistent behavior checks.
    • Added a slug-regression test suite for the GitHub provider to validate curated action slugs and required read/write-tier actions.
    • Improved test coverage for authentication-retry behavior, security-mode blocking, and rate-limit validation.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e6971964-5bb9-4094-9a8b-639b03d508a7

📥 Commits

Reviewing files that changed from the base of the PR and between 3ff0f6f and 22bfff4.

📒 Files selected for processing (1)
  • src/openhuman/memory_sync/composio/providers/github/tests.rs
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/openhuman/memory_sync/composio/providers/github/tests.rs

📝 Walkthrough

Walkthrough

Test references to GitHub Composio action slugs were updated to current v3 names and a slug-regression test suite was added to validate curated slug constants and lists.

Changes

GitHub Composio Action Slug Updates

Layer / File(s) Summary
GitHub provider slug regression tests
src/openhuman/memory_sync/composio/providers/github/tests.rs
New test suite validates current Composio GitHub action slug constants (ACTION_GET_AUTHENTICATED_USER, ACTION_SEARCH_ISSUES), asserts GITHUB_CURATED excludes retired slugs, and confirms required read/write slugs are present. Import grouping adjusted to include build_search_query with provider imports.
Tool reference updates across tests
src/openhuman/agent/harness/payload_summarizer.rs, src/openhuman/composio/auth_retry_tests.rs, src/openhuman/tools/impl/network/composio_tests.rs
Tests updated to use current/full GitHub Composio v3 action slug names: GITHUB_LIST_REPOSITORY_ISSUES in the harness summarizer test, GITHUB_GET_THE_AUTHENTICATED_USER in auth-retry test, and GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER in network security and rate-limit tests.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • M3gA-Mind
  • graycyrus
  • senamakel

Poem

🐰 A tiny hop through testland's glade,
Slugs refreshed, old ghosts now fade,
V3 names hum in tidy rows,
Tests keep watch where the backend goes,
🥕 Hooray — the rabbit's happy parade!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating outdated GitHub action slugs to current Composio v3 values across multiple test files.
Linked Issues check ✅ Passed All required slug updates from #2768 are implemented: old slugs replaced with v3 names, regression tests added to verify current slugs and absent retired ones.
Out of Scope Changes check ✅ Passed All changes are scoped to updating deprecated Composio action slugs and adding regression tests; no unrelated modifications detected.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

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


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.

Copy link
Copy Markdown
Contributor Author

@staimoorulhassan staimoorulhassan left a comment

Choose a reason for hiding this comment

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

all good here.

Fixes tinyhumansai#2768. Three outdated Composio v1/v2 GitHub action slugs were still
referenced in tests:

- GITHUB_USERS_GET_AUTHENTICATED → GITHUB_GET_THE_AUTHENTICATED_USER
  (auth_retry_tests.rs)
- GITHUB_LIST_REPOS → GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER
  (composio_tests.rs, two occurrences)
- GITHUB_LIST_ISSUES → GITHUB_LIST_REPOSITORY_ISSUES
  (payload_summarizer.rs)

Also adds slug-regression tests to
memory_sync/composio/providers/github/tests.rs that pin the correct v3
slug names and assert that every known retired slug is absent from the
GITHUB_CURATED whitelist, preventing silent regressions in future.
@staimoorulhassan staimoorulhassan force-pushed the fix/github-composio-actions branch from 48500bf to 3ff0f6f Compare May 29, 2026 01:35
@staimoorulhassan staimoorulhassan marked this pull request as ready for review May 29, 2026 01:35
@staimoorulhassan staimoorulhassan requested a review from a team May 29, 2026 01:35
@coderabbitai coderabbitai Bot added rust-core Core Rust runtime in src/: CLI, core_server, shared infrastructure. working A PR that is being worked on by the team. bug labels May 29, 2026
Copy link
Copy Markdown
Contributor

@graycyrus graycyrus left a comment

Choose a reason for hiding this comment

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

@staimoorulhassan hey! the code looks good to me — clean fix, well-structured regression tests, and I like that the curated list assertions cover both the retired slugs and the required current ones in a single pass. CI is still pending across most of the matrix though, so I'll hold off on approving until those are green. once they pass, I'll come back and approve this. let me know if anything's blocking you.

Copy link
Copy Markdown
Contributor

@graycyrus graycyrus left a comment

Choose a reason for hiding this comment

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

Test-only PR fixing four outdated Composio GitHub action slug strings (v1/v2 → v3) across auth_retry_tests.rs, composio_tests.rs, and payload_summarizer.rs. Also adds a new regression test suite in memory_sync/composio/providers/github/tests.rs that pins the correct slug values and asserts retired slugs are absent from GITHUB_CURATED.

Summary:

  • Breaking risk: Zero — all changes are confined to test files; no production code paths are touched.
  • Security risk: Zero — no auth, secrets, serialization, or network-facing code changed.

Code quality:
Code is solid — the retired-slug blocklist and required-slug assertions are a good long-term guard against re-introducing Composio v3 catalog changes that break the provider.

Status: Waiting on CI green before approving. Current status: 13 passed, 11 pending.

@senamakel senamakel merged commit e8075fd into tinyhumansai:main May 29, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug rust-core Core Rust runtime in src/: CLI, core_server, shared infrastructure. working A PR that is being worked on by the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Composio sync uses outdated action slugs

3 participants