Skip to content

infra: enhance release process#1755

Merged
ulivz merged 2 commits into
mainfrom
feat/refine-pdk
Dec 3, 2025
Merged

infra: enhance release process#1755
ulivz merged 2 commits into
mainfrom
feat/refine-pdk

Conversation

@ulivz
Copy link
Copy Markdown
Member

@ulivz ulivz commented Dec 2, 2025

Summary

This PR brings the following optimizations to the release process-related scripts:

  1. Workspace dependency replacement optimization: Although logs show that the workspace:* dependencies was replaced to released version, the actual replacement did not succeed due to concurrency timing issues in some corner cases.
  2. Unified GitHub-style Changelog: The Changelog format has been standardized, aligning with GitHub Releases.
  3. New project structure: Migrated to a standalone pnpm-dev-kit package, suitable for releases in other sub projects.

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 2, 2025

Deploy Preview for tarko ready!

Name Link
🔨 Latest commit 631cc77
🔍 Latest deploy log https://app.netlify.com/projects/tarko/deploys/692f9794200e37000854e85a
😎 Deploy Preview https://deploy-preview-1755--tarko.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 2, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 631cc77
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/692f979432946800082b4cae
😎 Deploy Preview https://deploy-preview-1755--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread infra/pdk/src/commands/changelog.ts Fixed
Comment thread infra/pdk/src/commands/changelog.ts Fixed
Comment thread infra/pdk/src/utils/build.ts Fixed
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 14.27%. Comparing base (258374a) to head (631cc77).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1755   +/-   ##
=======================================
  Coverage   14.27%   14.27%           
=======================================
  Files         250      250           
  Lines        8565     8565           
  Branches     1674     1674           
=======================================
  Hits         1223     1223           
  Misses       7166     7166           
  Partials      176      176           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ulivz ulivz changed the title infra: refine release package infra: enhance release process Dec 2, 2025
existingContent === '# Changelog\n' ||
!existingContent.includes('# Changelog')
) {
writeFileSync(changelogPath, `# Changelog\n\n${changelogContent}`, 'utf-8');

Check failure

Code scanning / CodeQL

Potential file system race condition High

The file may have changed since it
was checked
.
`# Changelog\n\n${changelogContent}`,
);

writeFileSync(changelogPath, updatedContent, 'utf-8');

Check failure

Code scanning / CodeQL

Potential file system race condition High

The file may have changed since it
was checked
.

logger.info(`Running build script: ${buildScript}`);
const [command, ...args] = buildScript.split(' ');
await execa(command, args, {

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This shell argument which depends on
library input
is later used in a
shell command
.
@ulivz ulivz force-pushed the feat/refine-pdk branch 3 times, most recently from 0afba8b to 598a6df Compare December 2, 2025 17:21
@helio9cn helio9cn requested a review from cjraft December 3, 2025 01:57
@ulivz ulivz requested review from cjraft, helio9cn and ycjcl868 and removed request for cjraft December 3, 2025 01:58
@ulivz ulivz merged commit ef422b9 into main Dec 3, 2025
12 of 13 checks passed
@ulivz ulivz deleted the feat/refine-pdk branch December 3, 2025 06:01
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.

4 participants