adobe / adobe/spacecat-shared

Update Redirects should report the redirects that were marked as invalid

Open
#637 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
5
Forks
2
Avg merge
19h 55m
Merged PRs (30d)
33

Description

**Description**
The content client should report the failed redirects.

**To Reproduce**
Currently the content client return the response from the content sdk, but there are urls that are already filtered out because they are either duplicates or create cycles.

**Expected behavior**
contentClient.updateRedirects should inform how many urls were updated and how many failed

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Locate contentClient.updateRedirects and inspect how it currently returns the Content SDK response. Trace how duplicate and cyclic URLs are filtered, then add coverage showing that the method reports both updated and failed redirect counts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.