#2 Lazy evalution of DATABASE_URL environment variable at runtime

Opened by lfancelli on Jul 7, 2025, 8:53 AM
// lfancelli on Jul 7, 2025, 8:53 AM

In api/src/config.rs, DATABASE_URL is always evaluated, even if it is not needed. This results in a panic if the variable is not set, even if the config file provides the postgres field.

// lfancelli on Jul 7, 2025, 8:55 AM

I am trying to attach a change to the discussion right now

// lfancelli on Jul 7, 2025, 10:19 AM

Giving up trying to push a change. Too many errors. All operations fail with ssh after connection timeout. With https, it says “nothing to push”. I reinstalled with version beta.10 from beta.9, and now I cannot even clone a remote, I get a “Channel not found”. Any help appreciated.