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

Collapse worker into server and various refactor #153

Merged
merged 41 commits into from
Apr 9, 2024

Fix test

7b02f75
Select commit
Loading
Failed to load commit list.
Merged

Collapse worker into server and various refactor #153

Fix test
7b02f75
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Apr 9, 2024 in 0s

81.05% of diff hit (target 81.58%)

View this Pull Request on Codecov

81.05% of diff hit (target 81.58%)

Annotations

Check warning on line 1 in apps/server/src/__mocks__/jobs/client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/__mocks__/jobs/client.ts#L1

Added line #L1 was not covered by tests

Check warning on line 1 in apps/server/src/jobs/generateBottleDetails.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/generateBottleDetails.ts#L1

Added line #L1 was not covered by tests

Check warning on line 12 in apps/server/src/jobs/generateBottleDetails.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/generateBottleDetails.ts#L12

Added line #L12 was not covered by tests

Check warning on line 1 in apps/server/src/jobs/generateEntityDetails.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/generateEntityDetails.ts#L1

Added line #L1 was not covered by tests

Check warning on line 7 in apps/server/src/jobs/generateEntityDetails.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/generateEntityDetails.ts#L7

Added line #L7 was not covered by tests

Check warning on line 1 in apps/server/src/jobs/notifyDiscordOnTasting.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/notifyDiscordOnTasting.ts#L1

Added line #L1 was not covered by tests

Check warning on line 3 in apps/server/src/jobs/scheduleScrapers.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scheduleScrapers.ts#L3

Added line #L3 was not covered by tests

Check warning on line 58 in apps/server/src/jobs/scrapeAstorWines.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeAstorWines.ts#L58

Added line #L58 was not covered by tests

Check warning on line 105 in apps/server/src/jobs/scrapeAstorWines.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeAstorWines.ts#L101-L105

Added lines #L101 - L105 were not covered by tests

Check warning on line 70 in apps/server/src/jobs/scrapeHealthySpirits.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeHealthySpirits.ts#L70

Added line #L70 was not covered by tests

Check warning on line 102 in apps/server/src/jobs/scrapeHealthySpirits.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeHealthySpirits.ts#L98-L102

Added lines #L98 - L102 were not covered by tests

Check warning on line 8 in apps/server/src/jobs/scrapeSMWS.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeSMWS.ts#L7-L8

Added lines #L7 - L8 were not covered by tests

Check warning on line 58 in apps/server/src/jobs/scrapeTotalWine.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeTotalWine.ts#L58

Added line #L58 was not covered by tests

Check warning on line 84 in apps/server/src/jobs/scrapeTotalWine.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeTotalWine.ts#L80-L84

Added lines #L80 - L84 were not covered by tests

Check warning on line 14 in apps/server/src/jobs/scrapeWhiskyAdvocate.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeWhiskyAdvocate.ts#L14

Added line #L14 was not covered by tests

Check warning on line 98 in apps/server/src/jobs/scrapeWoodenCork.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeWoodenCork.ts#L98

Added line #L98 was not covered by tests

Check warning on line 131 in apps/server/src/jobs/scrapeWoodenCork.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/jobs/scrapeWoodenCork.ts#L127-L131

Added lines #L127 - L131 were not covered by tests

Check warning on line 1 in apps/server/src/lib/cron.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/cron.ts#L1

Added line #L1 was not covered by tests

Check warning on line 1 in apps/server/src/lib/openai.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/openai.ts#L1

Added line #L1 was not covered by tests

Check warning on line 81 in apps/server/src/lib/scraper.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/scraper.ts#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 98 in apps/server/src/lib/scraper.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/scraper.ts#L96-L98

Added lines #L96 - L98 were not covered by tests

Check warning on line 111 in apps/server/src/lib/scraper.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/scraper.ts#L100-L111

Added lines #L100 - L111 were not covered by tests

Check warning on line 422 in apps/server/src/lib/test/fixtures.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/test/fixtures.ts#L421-L422

Added lines #L421 - L422 were not covered by tests

Check warning on line 487 in apps/server/src/lib/test/fixtures.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/test/fixtures.ts#L474-L487

Added lines #L474 - L487 were not covered by tests

Check warning on line 502 in apps/server/src/lib/test/fixtures.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/server/src/lib/test/fixtures.ts#L499-L502

Added lines #L499 - L502 were not covered by tests