Skip to content

clear tenant cache routes - #396

Merged
VISHNUDAS-tunerlabs merged 3 commits into
ELEVATE-Project:masterfrom
praveenKDass:add/elevate-surveynewRoutes
Apr 21, 2026
Merged

clear tenant cache routes#396
VISHNUDAS-tunerlabs merged 3 commits into
ELEVATE-Project:masterfrom
praveenKDass:add/elevate-surveynewRoutes

Conversation

@praveenKDass

@praveenKDass praveenKDass commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Added cache-clearing endpoints for the survey service, supporting both tenant-specific and global cache operations.
  • Chores

    • Bumped package version to 3.4.0.

@coderabbitai

coderabbitai Bot commented Apr 20, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@praveenKDass has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 17 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 55 minutes and 17 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 02af5793-2bc7-4ad7-898d-3f91cc5bf81b

📥 Commits

Reviewing files that changed from the base of the PR and between 9090482 and 74bd28d.

📒 Files selected for processing (1)
  • elevate-survey/package.json
📝 Walkthrough

Walkthrough

Adds two DELETE route mappings for clearing tenant cache (/survey/v1/admin/clearTenantCache/:id and /survey/v1/admin/clearTenantCache) to the survey service routing configuration and updates the elevate-survey package version to 3.4.0.

Changes

Cohort / File(s) Summary
Route Configuration
elevate-survey/constants/routes.js
Added two new DELETE routes: /survey/v1/admin/clearTenantCache/:id and /survey/v1/admin/clearTenantCache. Both entries set orchestrated: false and inSequence: false, mapping sourceRoute to equivalent targetRoute for service survey.
Version Update
elevate-survey/package.json
Bumped package version metadata from 1.0.22 to 3.4.0 (no other package metadata or dependencies changed).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • routes-for-library-flow #359: Adds new route entries to the same exported routes array in elevate-survey/constants/routes.js, closely related to these changes.

Suggested reviewers

  • VISHNUDAS-tunerlabs

Poem

🐰 I hopped through code with eager paws,
Two DELETE paths filed in my claws,
Tenant caches swept with a cheer,
Version now 3.4.0 — hop, we're clear!

🚥 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 'clear tenant cache routes' directly and accurately summarizes the main change: adding two new DELETE routes for clearing tenant cache in the survey service.
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 unit tests (beta)
  • Create PR with unit tests

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.

Comment thread elevate-survey/package.json Outdated
{
"name": "elevate-survey-observation",
"version": "1.0.22",
"version": "1.0.23",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@praveenKDass let's unify package version with release track. Try 3.4.1.1

@VISHNUDAS-tunerlabs
VISHNUDAS-tunerlabs merged commit 16cd16c into ELEVATE-Project:master Apr 21, 2026
1 check passed
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.

2 participants