Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adoption probes #435

Merged
merged 19 commits into from
Oct 6, 2023
Merged

feat: adoption probes #435

merged 19 commits into from
Oct 6, 2023

Conversation

alexey-yarmosh
Copy link
Member

Fixes #425
This functionality requires a connection to MariaDB with the 'adopted_probes' table configured.

docker-compose.yml Outdated Show resolved Hide resolved
src/adoption-code/schema.ts Outdated Show resolved Hide resolved
config/init.sql Outdated Show resolved Hide resolved
src/lib/adopted-probes.ts Outdated Show resolved Hide resolved
test/tests/unit/adopted-probes.test.ts Show resolved Hide resolved
@MartinKolarik
Copy link
Member

MartinKolarik commented Oct 6, 2023

Even though we don't directly test it, the process is trying to connect to the DB during tests. This previously didn't fail only because the timeout was 1 minute and the tests run faster than that:

image

Now, it fails after I reduced the connection timeout. We need to either prevent this or configure the DB on CI (https://github.com/jsdelivr/data.jsdelivr.com/blob/master/.github/workflows/nodejs.yml#L27-L32).

@MartinKolarik MartinKolarik force-pushed the adoption-probes branch 4 times, most recently from 4fd1f78 to 2e67778 Compare October 6, 2023 19:27
@MartinKolarik MartinKolarik merged commit d2ea86a into master Oct 6, 2023
4 checks passed
@MartinKolarik MartinKolarik deleted the adoption-probes branch October 6, 2023 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adopting probes
2 participants