Skip to content

Publishes on npm only when there is a push - #101

Open
joaobispo wants to merge 10 commits into
multi-weaverfrom
fix/workflow_push
Open

joaobispo wants to merge 10 commits into
multi-weaverfrom
fix/workflow_push

Conversation

@joaobispo

Copy link
Copy Markdown
Member

Changes workflow so that it only publishes on npm when there is a push. Scheduled runs do not publish to npm.

lm-sousa and others added 9 commits January 18, 2026 23:13
Root Cause: The test was calling WeaverGenerator.main(args) which internally calls System.exit(), terminating the JVM before the golden file comparison could execute. This is why the changes to WeaverGenerator weren't being detected - the comparison code was never reached.

Fix Applied: Changed both calls from WeaverGenerator.main(args) to WeaverGenerator.run(args) with proper exit code assertions.

Result: The tests now run to completion and properly compare generated files against golden files.
…the past commits.

- Removed the version option from CLIOption and related parsing logic.
- Updated OptionsParser to remove references to the version option.
- Adjusted help printing methods to exclude version information.
- Modified tests to reflect the removal of the version option, ensuring no references remain in CLIOptionTest and OptionsBuilderUtilsTest.
- Updated various tests to use the new TestJoinPoint constructor that requires a WeaverEngine instance.
- Cleaned up WeaverEngine and JoinPoint tests to remove unnecessary thread-local weaver management.
- Ensured all tests are consistent with the new structure and functionality.
@joaobispo
joaobispo changed the base branch from master to staging February 5, 2026 12:11
@joaobispo
joaobispo changed the base branch from staging to multi-weaver February 5, 2026 12:12
@lm-sousa
lm-sousa force-pushed the multi-weaver branch 3 times, most recently from 526e42f to c22ec3a Compare September 3, 2026 03:29
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.

2 participants