Skip to content

Inaccurate log message in load_config_file when used in bootstrap scripts #1548

@coderabbitai

Description

@coderabbitai

Description

When load_config_file is called from bootstrap scripts (containerized CLI wrappers), the log messages print container paths instead of host paths, which can confuse users.

Context

The bootstrap scripts now resolve host paths before passing them to load_config_file, but the function logs one of the arguments directly. This creates misleading output for users when the scripts run inside containers.

The native scripts also use load_config_file, so a flag could be introduced to determine whether the method is called in a bootstrap script or a native script to control the logging behaviour.

References

Follow-up

This will be addressed in a future PR when cleaning up the bootstrap/native scripts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions