You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(link-checker): resolve scan reset on tab switch and entry fetch limit [ES-524] (#11255)
* fix(security): send x-tenant-id header from MsTeamsBotService to bot service [AIS-004]
All four bot-service calls now include x-tenant-id matching the path
tenantId, satisfying the new per-tenant authorization check added to the
msteams-bot-service. Updates mockRequestHeaders to accept tenantId so
calledWith assertions remain accurate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(security): strip trailing slash from bot service URL in constructor [AIS-004]
Prevents double-slash paths when MSTEAMS_BOT_SERVICE_BASE_URL is
configured with a trailing slash (e.g. https://example.com/dev/).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(link-checker): guard visibility reload against missing installation match [ES-524]
When getForOrganization returns no match for the current space/environment,
match is undefined and deepEqual(undefined, params) always returns false,
causing a page reload every time the user switches back to the tab. This
wiped in-progress scan results, explaining both the "links disappear on
tab switch" and "page freezes/resets at ~14,670 links" symptoms. Only
reload when a match is found AND its parameters differ from the current
installation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(link-checker): switch entry pagination to cursor-based to bypass 10k CMA limit [ES-524]
The Contentful CMA enforces a hard cap of skip+limit<=10000. With
ENTRY_FETCH_LIMIT=100 this meant the fetching loop silently stopped after
100 pages (10000 entries), which for the customer space translated to
~14,670 links found. Replace skip-based pagination with sys.id[gt] cursor
pagination (ordered by sys.id) which has no upper bound.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* test(link-checker): add tests for no-match visibility reload guard and cursor pagination [ES-524]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments