Project

General

Profile

Actions

Bug #26023

closed

Technique compilation errors doesn't seems to be reloaded when the technique is deleted

Added by Elaad FURREEDAN about 2 months ago. Updated 9 days ago.

Status:
Released
Priority:
1 (highest)
Category:
Techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Effort required:
Priority:
160
Name check:
To do
Fix check:
Checked
Regression:
No

Description

I try to delete a technique that generate compilation error on status, I delete the directory of the technique, git add, git commit, rudder server reload-techniques but the error is still present.
Even if I try to delete it from Techniques tree page, the error is still here. The error disappear when restarting the webapp.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #26022: Status should not be on error when there is technique compilator error on disable techniquesReleasedFrançois ARMANDActions
Related to Rudder - Bug #25527: List techniques with compilation failure in bar for generation statusReleasedFrançois ARMANDActions
Actions #1

Updated by Elaad FURREEDAN about 2 months ago

  • Priority changed from N/A to To review
Actions #2

Updated by Elaad FURREEDAN about 2 months ago

  • Related to Bug #26022: Status should not be on error when there is technique compilator error on disable techniques added
Actions #3

Updated by Clark ANDRIANASOLO about 2 months ago

  • Related to Bug #25527: List techniques with compilation failure in bar for generation status added
Actions #4

Updated by Elaad FURREEDAN about 2 months ago

  • Subject changed from Technique compilation errors doesn't seems to be reload when the technique is delete from FS to Technique compilation errors doesn't seems to be reloaded when the technique is delete from FS
Actions #5

Updated by Elaad FURREEDAN about 2 months ago

  • Subject changed from Technique compilation errors doesn't seems to be reloaded when the technique is delete from FS to Technique compilation errors doesn't seems to be reloaded when the technique is deleted
Actions #6

Updated by Elaad FURREEDAN about 2 months ago

In fact, even if we delete a technique from the editor directly, the error doesn't go away unless we reboot the webapp

Actions #7

Updated by Clark ANDRIANASOLO about 2 months ago

The data model is a cache but the TechniqueCompilationErrorsActorSync#updateStatus logic does not reset the cache, it only traverse techniques and remove those in success from the cache and adds those in error to the cache. The deleted ones are left in the cache if they were deleted when being in error

Actions #8

Updated by François ARMAND about 2 months ago

  • Assignee set to Clark ANDRIANASOLO
Actions #9

Updated by François ARMAND about 2 months ago

  • Priority changed from To review to 1 (highest)
Actions #10

Updated by Clark ANDRIANASOLO about 2 months ago

  • Status changed from New to In progress
Actions #11

Updated by Clark ANDRIANASOLO about 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/6068
Actions #12

Updated by Clark ANDRIANASOLO about 1 month ago

  • Status changed from Pending technical review to Pending release
Actions #13

Updated by Elaad FURREEDAN 20 days ago

  • Fix check changed from To do to Checked
Actions #14

Updated by Vincent MEMBRÉ 9 days ago

  • Status changed from Pending release to Released
  • Priority changed from 161 to 160

This bug has been fixed in Rudder 8.2.4 which was released today.

Actions

Also available in: Atom PDF