Skip to content

Conversation

@arnaudsjs
Copy link
Contributor

@arnaudsjs arnaudsjs commented Nov 25, 2025

Description

Added the server.internal-server-address config option.

Should I add a test case for this? I don't really see how to do that in a useful way.

closes #9761

Self Check:

  • Attached issue to pull request
  • Changelog entry
  • Type annotations are present
  • Code is clear and sufficiently documented
  • No (preventable) type errors (check using make mypy or make mypy-diff)
  • Sufficient test cases (reproduces the bug/tests the requested feature)
  • Correct, in line with design
  • End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
  • If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)


internal_server_address: Option[str] = Option(
"server",
"internal_server_address",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is "internal" an established term? It reads weird to me, and I would expect "local", but I don't really know anything about this domain, so this is far from a change request.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"internal" seems to be the more common term for this. "private_ip" seems to be used too, but I like that less because it can be interpreted as an IP address that belongs to a private address range.

@sanderr
Copy link
Contributor

sanderr commented Nov 25, 2025

I agree with your assessment on the test case.

@arnaudsjs arnaudsjs requested review from Hugo-Inmanta and removed request for jptrindade November 26, 2025 15:51
@Hugo-Inmanta Hugo-Inmanta added the merge-tool-ready This ticket is ready to be merged in label Nov 26, 2025
@inmantaci
Copy link
Contributor

Processing this pull request

inmantaci pushed a commit that referenced this pull request Nov 26, 2025
… PR #9774)

# Description

Added the `server.internal-server-address` config option.

Should I add a test case for this? I don't really see how to do that in a useful way.

closes #9761

# Self Check:

- [x] Attached issue to pull request
- [x] Changelog entry
- [x] Type annotations are present
- [x] Code is clear and sufficiently documented
- [x] No (preventable) type errors (check using make mypy or make mypy-diff)
- [ ] Sufficient test cases (reproduces the bug/tests the requested feature)
- [x] Correct, in line with design
- [x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
- [ ] ~~If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see [test-fixes](https://internal.inmanta.com/development/core/tasks/build-master.html#test-fixes) for more info)~~
inmantaci pushed a commit that referenced this pull request Nov 26, 2025
… PR #9774)

# Description

Added the `server.internal-server-address` config option.

Should I add a test case for this? I don't really see how to do that in a useful way.

closes #9761

# Self Check:

- [x] Attached issue to pull request
- [x] Changelog entry
- [x] Type annotations are present
- [x] Code is clear and sufficiently documented
- [x] No (preventable) type errors (check using make mypy or make mypy-diff)
- [ ] Sufficient test cases (reproduces the bug/tests the requested feature)
- [x] Correct, in line with design
- [x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
- [ ] ~~If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see [test-fixes](https://internal.inmanta.com/development/core/tasks/build-master.html#test-fixes) for more info)~~
@inmantaci
Copy link
Contributor

Merged into branches master in a3eeb14

@inmantaci inmantaci closed this Nov 26, 2025
@inmantaci inmantaci deleted the issue/add-internal-server-address branch November 26, 2025 16:57
@inmantaci
Copy link
Contributor

Processing #9789.

inmantaci pushed a commit that referenced this pull request Nov 26, 2025
… PR #9774)

Pull request opened by the merge tool on behalf of #9774
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-tool-ready This ticket is ready to be merged in

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add config option for the hostname of the server for internal components

5 participants