Skip to content

Conversation

@Zetazzz
Copy link
Contributor

@Zetazzz Zetazzz commented Jan 19, 2026

No description provided.

process.env.PGDATABASE = 'jobs';
process.env.JOBS_SCHEMA = 'app_jobs';
process.env.INTERNAL_JOBS_CALLBACK_URL =
process.env.JOBS_CALLBACK_BASE_URL =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we changing the env variables?? this will start breaking what we have in the cloud.
If we change anything here, can we outline it properly in the PR so we can make related changes in the cloud PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sorry, I think this's confused by the JOBS_CALLBACK_BASE_URL usage in getCallbackBaseUrl like:
export const getCallbackBaseUrl = (): string => {
if (process.env.JOBS_CALLBACK_BASE_URL) {
return process.env.JOBS_CALLBACK_BASE_URL;
}
const host = process.env.JOBS_CALLBACK_HOST || 'jobs-callback';
const port = getJobsCallbackPort();
return http://${host}:${port}/callback;
};

I think I should change JOBS_CALLBACK_BASE_URL here to INTERNAL_JOBS_CALLBACK_URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants