Skip to content

Conversation

@yashikakhurana
Copy link
Contributor

@yashikakhurana yashikakhurana commented Jan 13, 2026

Added jexl command to nimbus-cli for evaluating JEXL targeting expressions against the app context. Useful for testing and debugging targeting expressions on iOS and Android.

  • Evaluate a simple expression
    nimbus-cli --app fenix --channel developer eval-jexl "locale == 'en-US'"

  • Test version comparison
    nimbus-cli --app firefox_ios --channel beta eval-jexl "app_version|versionCompare('120.0') >= 0"

  • Copy deeplink to clipboard for manual testing
    nimbus-cli --app fenix --channel developer eval-jexl "is_default_browser" --pbcopy

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

@yashikakhurana yashikakhurana changed the title Bug:2009481: CLI jexl evaluator command Bug:2009481: [ci full] CLI jexl evaluator command Jan 13, 2026
@yashikakhurana yashikakhurana marked this pull request as ready for review January 13, 2026 22:55
@yashikakhurana
Copy link
Contributor Author

@freshstrangemusic added retry logic and updated the use eval-jexl and also tested using simulator
Screenshot 2026-01-14 at 3 13 58 PM

@yashikakhurana
Copy link
Contributor Author

ios pr is also up here mozilla-mobile/firefox-ios#31654

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.

3 participants