Skip to content

Conversation

@jaredlockhart
Copy link
Collaborator

Becuase

  • Remote Settings Certs were rotated and collectsion are now only readable by clients >=105
  • We can bump the minimum supported version to 105
  • We can remove any logic which verified versions <=105

This commit

  • Bumps the minimum supported version to 105
  • Removes any review logic that checked for versions <=105
  • Updates tests

fixes #13267

Becuase

* Remote Settings Certs were rotated and collectsion are now only readable by clients >=105
* We can bump the minimum supported version to 105
* We can remove any logic which verified versions <=105

This commit

* Bumps the minimum supported version to 105
* Removes any review logic that checked for versions <=105
* Updates tests

fixes #13267
Comment on lines -1941 to -1969
def _validate_languages_versions(self, data):
application = data.get("application")
min_version = data.get("firefox_min_version", "")

if data.get("languages", []):
min_supported_version = (
NimbusConstants.LANGUAGES_APPLICATION_SUPPORTED_VERSION[application]
)
if NimbusExperiment.Version.parse(
min_version
) < NimbusExperiment.Version.parse(min_supported_version):
raise serializers.ValidationError(
{
"languages": f"Language targeting is not \
supported for this application below \
version {min_supported_version}"
}
)
return data

def _validate_countries_versions(self, data):
application = data.get("application")
min_version = data.get("firefox_min_version", "")

if data.get("countries", []):
min_supported_version = (
NimbusConstants.COUNTRIES_APPLICATION_SUPPORTED_VERSION[application]
)
if NimbusExperiment.Version.parse(
Copy link
Contributor

Choose a reason for hiding this comment

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

dont we want to keep this validation check @jaredlockhart 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No these checks all checked for things below version 105, which is now the minimum, so they're not necessary anymore.

Copy link
Contributor

@yashikakhurana yashikakhurana left a comment

Choose a reason for hiding this comment

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

I have question about the validation checks for languages locales and countries

Copy link
Contributor

@yashikakhurana yashikakhurana left a comment

Choose a reason for hiding this comment

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

perfect, thank you @jaredlockhart for explaining it that too

@jaredlockhart jaredlockhart added this pull request to the merge queue Jan 6, 2026
Merged via the queue into main with commit ce70d32 Jan 6, 2026
16 checks passed
@jaredlockhart jaredlockhart deleted the 13267 branch January 6, 2026 19:31
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.

Bump minimum version to 105

3 participants