5 months ago
Idk wtf is going on here.
Project ID: 4da9bec9-7877-4c7b-b514-35df9dce4ad8
Environment: debug
Each time I reload the page, and press the view icon on the variable value, it's different!!
28 Replies
5 months ago
the ui is straight up lying
5 months ago
You tried to set ${{secret()}} on a service, it can only be set within templates.
5 months ago
I feel like there should be a glaring warning that tells you that then
5 months ago
or it should just refuse to work
5 months ago
instead of behaving like this
5 months ago
Iirc secret() just resolves to a random value. Had this issue recently too
5 months ago
this feels like a massive footgun and i'm surprised it's not documented anywhere
5 months ago
That value is mismatched as it gens a new one when you view it. Ssh in to container and echo the var to see it
5 months ago
Or, see the one your process is using…
5 months ago
Inconvenient yeah
This is good feedback. I’ve run into this and found it confusing myself. “Is this value uhh stable between restarts?”
5 months ago
Yay!
5 months ago
Was also annoyed by this <:sadcat:1408269791965478932>
5 months ago
I think the best behavior would be it generating when you press submit and actually storing that static value
5 months ago
I think though what brody was saying is this value is meant for templates so the starting value isn’t consistent.
Its meant to be changed not used as keygen iirc
5 months ago
at least when you're not in a template
5 months ago
if the feature is only meant for templates it should not work outside templates
5 months ago
I'd consider that a bug
5 months ago
^
5 months ago
Hi, this should be fixed now!
5 months ago
oh that was nice and quick, thanks!
5 months ago
@Paulo what fix was applied? I just tried it and it seems to be the same 🤔
5 months ago
${{secret()}} should generate the value on save, what are you trying to do, could you record a video please?
5 months ago
sure one moment
5 months ago
whoa okay it just worked
5 months ago
must have been a tab from before the change was deployed
