Skip to content

fix(edge-deploy): queue routing-validation against all non-pattern suggestions - #3307

Open
jindaliiita wants to merge 1 commit into
mainfrom
feat/routing-validation-suggestion-fallback
Open

jindaliiita wants to merge 1 commit into
mainfrom
feat/routing-validation-suggestion-fallback

Conversation

@jindaliiita

Copy link
Copy Markdown
Contributor

Summary

  • The deploy-time routing-validation job pre-creation in deploySuggestionToEdge previously only ran for pattern deploys (scoped to metadata.highImpactSuggestionIds) and skipped plain deploys entirely.
  • Now queues against every non-pattern (concrete, fetchable-URL) suggestion actually deploying, for both pattern and plain deploys, falling back to highImpactSuggestionIds only when every deployed suggestion is pattern-based.
  • Same fallback rule llmo-experimentation-engine applies when it creates the job itself (adobe-rnd/llmo-experimentation-engine#90), so whichever side gets there first picks the same target set.

Test plan

  • eslint clean on changed files
  • mocha test/controllers/suggestions.test.js — 601 passing
  • New/updated coverage for the non-pattern-scoped job, the plain-deploy-now-gets-a-job case, and the pure-pattern fallback case

…ggestions

The deploy-time job pre-creation previously only ran for pattern deploys
(scoped to highImpactSuggestionIds) and skipped plain deploys entirely.
Now queues against every non-pattern (concrete, fetchable-URL) suggestion
actually deploying, for both pattern and plain deploys, falling back to
highImpactSuggestionIds only when every deployed suggestion is
pattern-based -- same fallback rule llmo-experimentation-engine applies
when it creates the job itself, so whichever side gets there first picks
the same target set.
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant