Actions
Bug #25611
openWe see rudderc error 4 times in logs
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
When a technique is in error, we have the compilation error 4 times in webapp logs:
RROR rudderc: | version: '1.0' | category: ncf_techniques | items: 6 | - id: a298244a-fb49-4aad-a8f0-1653aba196ee | ^ items: unknown variant `worst-case-percent`, expected one of `worst-case-weighted-sum`, `worst-case-weighted-one`, `focus`, `weighted`, `disabled` at line 6 column 3 | name: test block | reporting: | mode: worst-case-percent 2024-10-04 16:55:59+0200 WARN techniques.writer.rudderc - -> stdout : Read 183 methods ERROR rudderc: | version: '1.0' | category: ncf_techniques | items: 6 | - id: a298244a-fb49-4aad-a8f0-1653aba196ee | ^ items: unknown variant `worst-case-percent`, expected one of `worst-case-weighted-sum`, `worst-case-weighted-one`, `focus`, `weighted`, `disabled` at line 6 column 3 | name: test block | reporting: | mode: worst-case-percent 2024-10-04 16:55:59+0200 WARN techniques.writer.rudderc - Read 183 methods ERROR rudderc: | version: '1.0' | category: ncf_techniques | items: 6 | - id: a298244a-fb49-4aad-a8f0-1653aba196ee | ^ items: unknown variant `worst-case-percent`, expected one of `worst-case-weighted-sum`, `worst-case-weighted-one`, `focus`, `weighted`, `disabled` at line 6 column 3 | name: test block | reporting: | mode: worst-case-percent 2024-10-04 16:55:59+0200 WARN techniques.writer.rudderc - -> stdout : Read 183 methods ERROR rudderc: | version: '1.0' | category: ncf_techniques | items: 6 | - id: a298244a-fb49-4aad-a8f0-1653aba196ee | ^ items: unknown variant `worst-case-percent`, expected one of `worst-case-weighted-sum`, `worst-case-weighted-one`, `focus`, `weighted`, `disabled` at line 6 column 3 | name: test block | reporting: | mode: worst-case-percent 2024-10-04 16:55:59+0200 INFO api-processing.response-error - error when committing Technique 'test_block_in_technique/1.0'; cause was: Unexpected: Error when trying to compile technique '/var/rudder/configuration-repository-8.2/techniques/ncf_techniques/test_block_in_technique/1.0'. Error details are available in `compilation-output.yml` file in the same directory. Error message: 'Exit code=1 for technique: '/var/rudder/configuration-repository-8.2/techniques/ncf_techniques/test_block_in_technique/1.0'.'
Perhaps it means we are actually calling the compiler 4 times, which is not a very reasonnable usage of resources.
Updated by Vincent MEMBRÉ 2 months ago
- Target version changed from 8.2.0~rc1 to 8.2.0
Updated by Vincent MEMBRÉ about 2 months ago
- Target version changed from 8.2.0 to 8.2.1
Updated by Vincent MEMBRÉ about 1 month ago
- Target version changed from 8.2.1 to 8.2.2
Updated by Vincent MEMBRÉ 25 days ago
- Target version changed from 8.2.2 to 8.2.3
Updated by Vincent MEMBRÉ 20 days ago
- Target version changed from 8.2.3 to 8.2.4
Actions