GoogleCloudPlatform / GoogleCloudPlatform/pgadapter

Flaky Test: knex-sample

Open
#4,863 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
91
Forks
33
Avg merge
3d 57m
Merged PRs (30d)
58

Description

The automated dependency reviewer bot detected a flaky test failure in PR #4855.

**Failed Test:** `knex-sample`
**Failure Summary:** Connection error: UNAVAILABLE: No running Spanner emulator found at localhost:9010
**Workflow Run:** https://github.com/GoogleCloudPlatform/pgadapter/actions/runs/34140718130

**Log Excerpt:**
```text
t config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3564974Z Removing includeIf entries pointing to credentials config files
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3570189Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3599620Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3795889Z [command]/usr/bin/git config --file /home/runner/work/_temp/git-credentials-f36bae9d-b864-4351-aae6-2a7c635c0cc3.config http.https://github.com/.extraheader AUTHORIZATION: basic ***
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3830272Z [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/pgadapter/pgadapter/.git.path /home/runner/work/_temp/git-credentials-f36bae9d-b864-4351-aae6-2a7c635c0cc3.config
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3860957Z [command]/usr/bin/git config --local includeIf.gitdir:/home/runner/work/pgadapter/pgadapter/.git/worktrees/*.path /home/runner/work/_temp/git-credentials-f36bae9d-b864-4351-aae6-2a7c635c0cc3.config
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3888815Z [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-f36bae9d-b864-4351-aae6-2a7c635c0cc3.config
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3915282Z [command]/usr/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-f36bae9d-b864-4351-aae6-2a7c635c0cc3.config
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3942290Z ##[endgroup]
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3943289Z ##[group]Fetching the repository
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:14.3948504Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +0655610da729627ed1fb4f0c7b78ba960f1cded2:refs/remotes/pull/4855/merge
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0128756Z From https://github.com/GoogleCloudPlatform/pgadapter
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0130813Z * [new ref] 0655610da729627ed1fb4f0c7b78ba960f1cded2 -> pull/4855/merge
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0134621Z ##[endgroup]
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0136112Z ##[group]Determining the checkout info
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0137306Z ##[endgroup]
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0138704Z [command]/usr/bin/git sparse-checkout disable
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0175089Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0210892Z ##[group]Checking out the ref
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.0212878Z [command]/usr/bin/git checkout --progress --force refs/remotes/pull/4855/merge
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1235682Z Note: switching to 'refs/remotes/pull/4855/merge'.
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1236863Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1237616Z You are in 'detached HEAD' state. You can look around, make experimental
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1239569Z changes and commit them, and you can discard any commits you make in this
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1241324Z state without impacting any branches by switching back to a branch.
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1242319Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1243182Z If you want to create a new branch to retain commits you create, you may
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1245025Z do so (now or later) by using -c with the switch command. Example:
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1245949Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1246354Z git switch -c
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1247097Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1247515Z Or undo this operation with:
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1248135Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1248496Z git switch -
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1249045Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1249970Z Turn off this advice by setting config variable advice.detachedHead to false
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1251003Z
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1252174Z HEAD is now at 0655610 Merge 3d0e4b8905becb3f763a414c9149f675bfa518a6 into 448b3ad76e508ee74ae72313824832832053f9f6
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1256420Z ##[endgroup]
nodejs-samples UNKNOWN STEP 2026-09-07T15:55:15.1280414Z [command]/usr/bin/git lo
```

This issue was automatically created by the dependency reviewer bot.

Contributor guide

Open the contributing guide

Research direction

Start by locating the `knex-sample` test and the workflow run linked in the issue, then inspect how the Spanner emulator is expected to be started. Reproduce the failure and trace why no emulator is available at localhost:9010; done means the test runs reliably with the emulator available in CI.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
ci-cd, cloud, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.