Conversation
|
|
b1ef15c to
98cfc58
Compare
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The PR description says "The regression tests (see commit 3) cover a late post-restart runtime, a stale matching value from the old runtime, and a superseded configuration sequence" — but commit 142a361 deletes that exact test file ( |
|
|
❌ ErrorsYour PR has failed checks. Please review the issues below and take necessary action before merging. 🚦 70 Pipeline jobs failed ℹ️ InfoNo other issues found (see more)🧪 All tests passed Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 1978a4f | Docs | View more details | Give us feedback! |
Motivation
Read the illustrated problem and fix report (Datadog AppGate)
The Node.js stable configuration tests restarted the test app and then read any telemetry already held by the test agent. A pre-restart configuration could be checked before the new runtime sent its
app-startedpayload, making the assertion flaky.Changes
Capture the current Node.js runtime ID before restart and wait for a different
app-startedruntime afterward. Read configuration only from that runtime, then use the existing assertions and newest sequence for each setting.The runtime wait now uses the same four-second budget as the existing delayed
app-startedcoverage. The restored regression tests cover a late post-restart runtime, restart ordering, a stale matching value from the old runtime, and a superseded configuration sequence with a missingseq_id.Testing
./run.sh TEST_THE_TEST -q --disable-warnings --tb=no(630 passed, 2734 deselected, 1 xfailed)TEST_LIBRARY=nodejs ./run.sh PARAMETRIC tests/parametric/test_config_consistency.py::Test_Stable_Config_Default::test_extended_configs(4 passed)./format.shWorkflow
system-tests-reviewers: ask to one of youre co-worker familiar with the tested feature.system-tests-core(slack)🚀 Once your PR is reviewed and the CI green, you can merge it!
🛟 #apm-shared-testing 🛟