Skip to content

Conversation

@Almaju
Copy link
Contributor

@Almaju Almaju commented Feb 2, 2026

This disables cache invalidation in record_click() and record_impression() methods as requested by the mobile team. The functionality will be re-enabled later behind a Nimbus experiment.

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.

@Almaju Almaju marked this pull request as ready for review February 2, 2026 17:29
Copy link
Contributor

@luc-lisi luc-lisi left a comment

Choose a reason for hiding this comment

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

Oh we need to update tests it looks like

@Almaju Almaju force-pushed the disable-cache-invalidation branch 2 times, most recently from 9a0e9eb to 31a1b3f Compare February 2, 2026 17:37
… impression

This disables cache invalidation in record_click() and record_impression()
methods as requested by the mobile team. The functionality will be
re-enabled later behind a Nimbus experiment.

- Comment out cache invalidation code in record_click() and record_impression()
- Remove unused import of pop_request_hash_from_url from client.rs
- Mark pop_request_hash_from_url function with #[allow(dead_code)]
- Mark invalidate_cache_by_hash method with #[allow(dead_code)]
- Ignore test_record_click_invalidates_cache test until cache invalidation is re-enabled
- Add TODO comments to remove allow(dead_code) when feature is restored
- Update CHANGELOG.md with entry about this change
@Almaju Almaju force-pushed the disable-cache-invalidation branch from 31a1b3f to 73b3763 Compare February 2, 2026 17:39
@Almaju Almaju enabled auto-merge February 2, 2026 18:01
@Almaju Almaju added this pull request to the merge queue Feb 2, 2026
Merged via the queue into mozilla:main with commit 6db278d Feb 2, 2026
13 checks passed
@Almaju Almaju deleted the disable-cache-invalidation branch February 2, 2026 18:58
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