You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "chengxilo (via GitHub)" <gi...@apache.org> on 2026/08/20 18:15:03 UTC
[PR] fix(bdd): resolve server address and credentials only from env [iggy]
chengxilo opened a new pull request, #3935:
URL: https://github.com/apache/iggy/pull/3935
## Which issue does this PR address?
Closes #3883
## Rationale
A fallback turns a configuration bug into either a misleading connection error
or, worse, a green run against the wrong server. Tests should be loud when they
are broken.
## What changed?
Each suite now reads those values through a required-env helper that aborts when
a variable is unset or empty, and the image no longer carries defaults. The PHP
path moves onto the key names the other seven SDKs already use
(`IGGY_TCP_ADDRESS`, `IGGY_ROOT_USERNAME`, `IGGY_ROOT_PASSWORD`); the PHP SDK
suite keeps its own defaults, so only the names change there. Two CI steps run
`bdd/go` outside `run-bdd-tests.sh` and were relying on the removed defaults,
one of them with no environment block at all; both now pass the variables
explicitly.
## Local Execution
- Passed
- Pre-commit hooks ran
## AI Usage
1. Claude (Claude Code).
2. Implementation
3. I reviewed the code line by line. There was some changes to PHP unit test by AI but I reverted them. I am not planning to make the unit test be affected by this change since they don't have `./scripts/run-bdd-tests.sh` to handle the chores.
4. Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(bdd): resolve server address and credentials only from env [iggy]
Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio merged PR #3935:
URL: https://github.com/apache/iggy/pull/3935
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(bdd): resolve server address and credentials only from env [iggy]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3935:
URL: https://github.com/apache/iggy/pull/3935#issuecomment-5359915274
<!-- iggy-pr-triage-welcome -->
Thanks for the PR. It is labeled `S-waiting-on-review` and queued for review.
Slash commands (own line, regular comment) move it around the queue:
- `/ready` - back to `S-waiting-on-review` after addressing feedback
- `/author` - flip to `S-waiting-on-author` while you finish changes
- `/request-review @user-or-team` - request a reviewer
See [CONTRIBUTING.md](https://github.com/apache/iggy/blob/master/CONTRIBUTING.md#pr-triage-commands) for details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(bdd): resolve server address and credentials only from env [iggy]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #3935:
URL: https://github.com/apache/iggy/pull/3935#issuecomment-5360147363
## [Codecov](https://app.codecov.io/gh/apache/iggy/pull/3935?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 83.40%. Comparing base ([`c0c7493`](https://app.codecov.io/gh/apache/iggy/commit/c0c74931b1727169daea06dcd438478640ce09f3?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`2906e83`](https://app.codecov.io/gh/apache/iggy/commit/2906e833784010a112e11f2b0af9d3e79027761f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #3935 +/- ##
============================================
- Coverage 83.87% 83.40% -0.47%
Complexity 1358 1358
============================================
Files 1212 1210 -2
Lines 166843 166593 -250
Branches 134306 134263 -43
============================================
- Hits 139937 138953 -984
- Misses 23266 23998 +732
- Partials 3640 3642 +2
```
| [Components](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [Rust Core](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `84.65% <ø> (ø)` | |
| [Java SDK](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `66.67% <ø> (ø)` | |
| [C# SDK](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `76.54% <ø> (ø)` | |
| [Python SDK](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `90.13% <ø> (ø)` | |
| [PHP SDK](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `84.48% <ø> (ø)` | |
| [Node SDK](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `89.09% <ø> (-6.76%)` | :arrow_down: |
| [Go SDK](https://app.codecov.io/gh/apache/iggy/pull/3935/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `68.32% <ø> (ø)` | |
[see 54 files with indirect coverage changes](https://app.codecov.io/gh/apache/iggy/pull/3935/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(bdd): resolve server address and credentials only from env [iggy]
Posted by "slbotbm (via GitHub)" <gi...@apache.org>.
slbotbm commented on code in PR #3935:
URL: https://github.com/apache/iggy/pull/3935#discussion_r3839696918
##########
foreign/node/src/bdd/README.md:
##########
Review Comment:
`foreign/node/README.md:124-151` still tells users that `IGGY_TCP_ADDRESS` is the only BDD configuration variable and shows `npm run test:bdd` without any environment variables. Update this README to direct users to `scripts/run-bdd-tests.sh node`, matching `foreign/node/src/bdd/README.md`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(bdd): resolve server address and credentials only from env [iggy]
Posted by "chengxilo (via GitHub)" <gi...@apache.org>.
chengxilo commented on code in PR #3935:
URL: https://github.com/apache/iggy/pull/3935#discussion_r3840415265
##########
foreign/node/src/bdd/README.md:
##########
Review Comment:
tks! I updated the README.md, it should be ok now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org