-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(tegg): fix runtime issues found by cnpmcore e2e tests #5809
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a525c52
fix(redis): use default import for ioredis to fix CJS-ESM interop
killagu-claw fc6c10b
fix(ci): add clean and test steps to cnpmcore e2e workflow
killagu-claw 7e40141
fix(ci): prepare both cnpmcore_unittest and cnpmcore databases
killagu-claw 7e3e3a6
fix(ci): create cnpmcore_unittest database before running migrations
killagu-claw c2a0c76
fix(tegg): use getOwnMetaData in QualifierUtil.getQualifierValue
killagu-claw 9fcb309
fix(tegg): strip $N suffix from class names added by oxc decorator tr…
killagu-claw 8356ee3
fix(mock): create tegg module scope per test in vitest setup
killagu-claw f85f3bc
docs: add E2E debugging guide to CLAUDE.md
killagu-claw 5eb45a3
fix(ci): fix CI failures in setup_vitest scope creation and e2e workflow
killagu e6fa220
fix(ci): remove cnpmcore deployment test from e2e workflow
killagu fad41fe
fix(ci): fix formatting issue in scripts/publish.js
killagu 41987fe
fix(ci): restore e2e-test.yml cnpmcore test and deployment steps
killagu e11eb27
feat(egg-bin): auto-activate @eggjs/tegg-vitest runner for tegg conte…
killagu 539391e
fix(ci): correct FILE_PATH after async import and support disabling v…
killagu e6b691a
fix(tegg): normalize schedule key with importResolve to match runSche…
killagu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,15 @@ | ||
| export class NameUtil { | ||
| /** | ||
| * Strip $N suffix added by compiler decorator transforms (e.g., oxc/tsdown). | ||
| * During decorator downlevel, compilers may rename class expressions to avoid | ||
| * name conflicts (e.g., BackgroundTaskHelper -> BackgroundTaskHelper$1). | ||
| */ | ||
| static cleanName(name: string): string { | ||
| return name.replace(/\$\d+$/, ''); | ||
| } | ||
|
|
||
| static getClassName(constructor: Function): string { | ||
| return constructor.name[0].toLowerCase() + constructor.name.substring(1); | ||
| const name = NameUtil.cleanName(constructor.name); | ||
| return name[0].toLowerCase() + name.substring(1); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.