Repository navigation
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe runtime script preserves revision-scoped Slack credential aliases, validates matching environment keys, and applies revisions to messaging aliases. Tests cover these cases and update the test size budget. ChangesSlack placeholder revision support
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: 🟡 Moderate · up to The Slack credential-revision fix is localized and the reported checks pass, but an outstanding changes-requested gate still prevents merge until it is cleared or explicitly accepted; no additional code-level blocker is identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 4 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
cv
left a comment
There was a problem hiding this comment.
The Slack manifest accepts revisions with v[0-9]+_ at src/lib/messaging/channels/slack/manifest.ts:19,26. The new rewrite paths restrict revisions to 1–20 digits at scripts/nemoclaw-start.sh:1772,1780,2133. A valid longer revision can lose credential identity or leave the persisted alias stale. Use one revision grammar across manifest validation, runtime alias conversion, config refresh, and warnings. Add a revision longer than 20 digits to both runtime-alias and persisted-config tests.
|
Focused E2E still fails on exact head Run 32884662419 is bound by its dispatch receipt to this candidate, base
This is the current issue signature, not an unrelated runner failure. In addition to using the manifest's unbounded revision grammar, update the persisted-config path so the rebuilt config retains the actual revision-scoped Slack aliases. Add a deterministic rebuild assertion for both aliases, then rerun the same focused target. |
|
The long-revision and persisted-alias findings are addressed at current head
I am not redispatching |
|
Exact-head review for The prior unlimited-revision code blocker is fixed. All three Slack placeholder paths now use the manifest-compatible One candidate-owned test blocker remains. The new 21-digit case exercises only runtime alias creation in The security and documentation receipts in the PR body still bind No approval submitted. |
Signed-off-by: Rebecca Sliter <[email protected]>
|
Commit @Charjags, please add your own PR-body declaration for that contribution:
Repository policy does not permit another maintainer or agent to add this declaration on your behalf. Until you add it, #10280 cannot merge and its material commit cannot be transferred to another PR. #10275 will continue independently and must merge first. After that merge, this PR can update from |
Signed-off-by: Rebecca Sliter <[email protected]>
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
|
Focused E2E is waiting on #10275. Exact candidate After #10275 merges, this branch needs to update from |
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
|
Focused trusted
Slack evidence passed inside the single live contract:
This proves the Slack assertions that previously failed no longer fail with #10275 included. |
Signed-off-by: Rebecca Sliter <[email protected]>
Signed-off-by: Rebecca Sliter <[email protected]>
|
PR Review Advisor finished for commit |
|
Closing this because #10275 resolved the operational failure that motivated this PR. On This PR still changes an internal representation: it preserves the exact OpenShell revision in Bolt-compatible aliases. Current This PR is therefore no longer needed to fix the reported E2E failure. |
Summary
OpenClaw startup removed the OpenShell credential revision when it converted Slack placeholders to Bolt-compatible aliases. OpenShell could no longer resolve those aliases to the active credential revision in either the child environment or generated OpenClaw configuration.
This change preserves the exact OpenShell credential revision in both paths, including revisions longer than 20 digits, and retains the existing missing and wrong-key runtime diagnostics. E2E evidence redaction now preserves those credential-free managed references instead of treating long-revision aliases as token-shaped values.
Related Issue
Part of #10153.
E2E Root-Cause Claim
E2E root cause: OpenClaw startup removed the OpenShell credential revision when it converted Slack placeholders to Bolt-compatible aliases.
Source run: https://github.com/NVIDIA/NemoClaw/actions/runs/32841422570, attempt 2
Affected job:
messaging-providers, job 97810107452Scope: one root cause. PR #10275 separately owns the endpoint credential-binding failure from the same job.
Exact-candidate follow-up: run https://github.com/NVIDIA/NemoClaw/actions/runs/33018568261 stopped during onboarding because the Discord credential binding referenced an unattached provider owned by #10275. The Slack assertions did not run, so this PR does not claim passing exact-candidate E2E yet.
Changes
vN_credential identity when creating Bolt-compatible Slack bot and app environment aliases.v[0-9]+_grammar.test/agents/openclaw/runtime/nemoclaw-start.test.tsto its measured 4,618-line budget.Type of Change
Quality Gates
f76187157d5c78e2fcac8f90bb51107be43858e9across secrets, input validation, authorization, dependencies, error handling, cryptography, configuration, tests, and system interaction. Raw Slack credentials remain in OpenShell custody. Only validated placeholder identities are transformed, values are not logged, and credential scope is unchanged. The E2E redactor preserves credential-free managed references; malformed references, canonical token shapes, and registered explicit secret values remain redacted. No injection, authorization, credential-custody, network, filesystem, dependency, logging, or denial-of-service blocker was found.sandbox-create-plantest; its exact focused replay passed locally, and required CI remains unresolved.DGX Station Hardware Evidence
Verification
Signed-off-by:line for every contributor and every commit appears asVerifiedin GitHub. Every commit is verified; awaiting Charan Jagwani's DCO declaration.pre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailable.npm run validate:prpassed atf76187157d5c78e2fcac8f90bb51107be43858e9after the isolated clone built the CLI artifacts required by the type check.npm run docsbuilds without warnings (doc changes only)Documentation Writer Review
no-docs-neededf76187157d5c78e2fcac8f90bb51107be43858e9againstorigin/main. OpenClaw startup preserves numeric OpenShell credential revisions in Bolt-compatible Slack aliases and persisted configuration. The E2E redactor preserves grammar-valid managed references with revisions longer than 20 digits while malformed lookalikes, canonical token shapes, and registered explicit secret values remain redacted. Raw Slack credentials remain in OpenShell custody. No public command, configuration, default, diagnostic contract, or operator procedure changes, and existing docs do not describe alias encoding or revision width. Focused validation passed 40 E2E-support redaction tests, 32 growth-guardrail integration tests, 9 Slack runtime alias tests, and 1 persisted-configuration test with a numeric revision longer than 20 digits. The test-size budget matches the measured 4,618 lines.Signed-off-by: Rebecca Sliter [email protected]
Summary by CodeRabbit
Bug Fixes
Tests