Project

General

Profile

Actions

Bug #25532

open

An invalid technique yaml sometimes result in deletion of rudderc files

Added by Clark ANDRIANASOLO 3 days ago. Updated about 22 hours ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
74
Name check:
To do
Fix check:
To do
Regression:
No

Description

After saving a technique with a typo in the yml from the yaml editor :

params:
  comman: echo "test" 

, instead of command: echo "test", an error notification is returned with the message MethodNotFound: Parameter 'command' for method 'command_execution' not found when writing dsc Technique 'Test tec' methods calls.
The error message suggest that a dsc Technique is attempted to be written even when the method is not compatible with the DSC agent e.g. with "command_execution_once".

But there is no "Complation output" tab in the technique interface, and the error only has a trace in the logs. In the directory of the technique in the filesystem, the metadata.xml and technique.ps1 are even removed from the filesystem, and I would have expected a compilation-output.yml file to be created with the details of the error but is also not there.

This is the case even with rudder.technique.compiler.app=rudderc configured to avoid webapp technique compilation fallback

Actions

Also available in: Atom PDF