{"id":21846554,"url":"https://github.com/tidbcloud/serverless-test","last_synced_at":"2026-01-12T06:39:26.568Z","repository":{"id":258938063,"uuid":"874547683","full_name":"tidbcloud/serverless-test","owner":"tidbcloud","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-20T18:55:01.000Z","size":679,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-20T20:30:27.830Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tidbcloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-18T03:07:19.000Z","updated_at":"2025-09-20T18:30:47.000Z","dependencies_parsed_at":"2024-12-12T14:24:30.934Z","dependency_job_id":"fc01f30b-a05e-4530-a81c-1486341384e1","html_url":"https://github.com/tidbcloud/serverless-test","commit_stats":null,"previous_names":["shiyuhang0/serverless-scene-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tidbcloud/serverless-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fserverless-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fserverless-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fserverless-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fserverless-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidbcloud","download_url":"https://codeload.github.com/tidbcloud/serverless-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fserverless-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009402,"owners_count":26084580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T23:14:25.603Z","updated_at":"2026-01-12T06:39:26.561Z","avatar_url":"https://github.com/tidbcloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-test\n\nThe serverless-test is a collection of e2e tests based on the Open API for the TiDB Cloud serverless.\n\nThe goal of the serverless-test is:\n\n1. Ensure the correctness of any features in TiDB Cloud serverless.\n2. Provide examples for the usage of the TiDB Cloud Open API.\n\n## Tested Features\n\nThe following features are tested in the serverless-test:\n\n- Import\n- Export\n- Branch\n- Cluster\n- Changefeed\n- DatabaseAuditLog\n\n### Changefeed Scene Test\n\nThe cdc_sync_test.go tests if changefeeds can sync data from TiDB Cloud clusters to downstreams.\nThe upstream TiDB Cloud clusters and downstreams are created manually before running the tests.\n\n- MySQL\n  - upstream: 10735492773134730885(alicloud-ap-southeast-1)\n  - downstream: TiDB Starter 10978086209882933443(alicloud-ap-southeast-1)\n  - changefeed ID: cfd-lyzks35w7jf6db3vnt4p4is7du(filter test.*)\n- Kafka\n  - upstream: 10735492773134730885(alicloud-ap-southeast-1)\n  - downstream: MSK cluster in ap-southeast-1\n  - changefeed ID: cfd-lid7svbc3jeinjxpz3m7qwmhyu(filter kafka.*)\n\n### Database Audit Log Scene Test\n\nThe test check if the 1379661944646254647 cluster can generate audit log files in 20 minutes.\nThis cluster is a shadow cluster of serverless-svc rds, which has audit log enabled (rotation period is 10 minute).\n\n## How to Contribute\n\n- SDK: The SDK is imported from [tidbcloud-cli](https://github.com/tidbcloud/tidbcloud-cli/tree/main/pkg). Open a pull request to the tidbcloud-cli repository if you want to modify the SDK. \n- Common configurations: you can add common configurations in the `config` package.\n- Add tests: when you want to add tests for a new feature, create a new test file under sceneTest.\n- Add GitHub actions: after adding tests, you can add GitHub actions to run the tests automatically. e.g., [export-scene-test.yml](.github/workflows/export-scene-test.yml).\n\n## LICENSE\n\nApache 2.0 license. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbcloud%2Fserverless-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidbcloud%2Fserverless-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbcloud%2Fserverless-test/lists"}