Open Bug 1446421 Opened 6 years ago Updated 2 years ago

On dev_mode enabled and first_run, Normandy is run twice

Categories

(Firefox :: Normandy Client, defect, P3)

defect

Tracking

()

Tracking Status
firefox60 --- affected
firefox61 --- affected

People

(Reporter: aflorinescu, Unassigned)

References

(Blocks 1 open bug)

Details

[Description:]
When using devmode true or new profile, the Normandy is run twice regardless of the recipe execution timer (app.normandy.run_interval_seconds). (usually within minutes)

[Steps:] -for first_run
1. Create an empty profile, access its location, add an empty prefs.js, in which you add: 
user_pref("app.normandy.logging.level", 0);
2. Open FF with the above profile. (first run)
3. Open browser console.

[Steps:] -for dev-mode on
1. Create an empty profile, access its location, add an empty prefs.js, in which you add: 
user_pref("app.normandy.logging.level", 0); 
user_pref("app.normandy.dev_mode", true);
2. Open FF with the above profile. (devmode on)
3. Open browser console.

[Actual Result:]
Normandy fetches and executes recipes two times within minutes.

[Expected Result:]
Normandy fetches and executes recipes immediately after first open, then the next fetch is after time equal to value of app.normandy.run_interval_seconds
Priority: -- → P3
Summary: [Normandy]On dev_mode enabled and first_run, Normandy is run twice → On dev_mode enabled and first_run, Normandy is run twice
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.