-
Notifications
You must be signed in to change notification settings - Fork 7
chore: update seeder for testing #1123
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
Conversation
Seeder CI is now (correctly) failing when generating an error (this is due to needing LLM cache) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mrge found 8 issues across 16 files. View them in mrge.io
* Add a flag for skipping verification for smoke tests (`--no-verify`) * Lazily load `openai` dependency as to not require credentials * Only use browser during verification * Add a flag for skipping report generation (`--no-report`) * Return an error exit code if any verification fails (unless `--no-verify`) * Connect a single charm gen to a parallel integration test to ensure seeder runs properly. No verification is done. * Align shared usage of utils between seeder/jumble-integration
import { createSession, Identity } from "@commontools/identity"; | ||
import { CharmManager } from "@commontools/charm"; | ||
import { sleep } from "@commontools/utils/sleep"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is funny since it is almost as long as the code required to define sleep 🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
await waitForSelectorClick( | ||
page, | ||
"button[aria-label='register-with-passphrase']", | ||
// Check if we need to select a method first (in case of multiple auth methods available) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love that these are sharing a codepath now!
@@ -19,50 +19,6 @@ export const ensureReportDir = async (name: string) => { | |||
} | |||
}; | |||
|
|||
// Helper function to group results by scenario | |||
function groupResultsByScenario( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx for deleting ... left over from the vibecoded reports
@@ -13,5 +13,6 @@ deno check \ | |||
jumble \ | |||
memory \ | |||
runner \ | |||
seeder \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
--no-verify
)openai
dependency as to not require credentials--no-report
)--no-verify
)