-
Notifications
You must be signed in to change notification settings - Fork 3
chore: bump actions/cache from 4 to 5 in /.github/workflows #79
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
chore: bump actions/cache from 4 to 5 in /.github/workflows #79
Conversation
- Add comprehensive TypeScript SDK with modular architecture - Implement kubeconfig-based authentication for Sealos platform - Add HTTP connection pooling with health monitoring - Implement high-performance file operations via HTTP endpoints - Add WebSocket support for real-time file watching - Replace CLI scaffolding with enterprise-grade SDK library - Add comprehensive documentation and usage examples - Configure dual ESM/CJS build system 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
- Transform single-package project to turbo monorepo structure - Add packages/sdk (TypeScript SDK) and packages/server (Bun HTTP server) - Replace old CLI tooling with modern Devbox SDK architecture - Update build system: tsup → turbo + individual package builds - Migrate from ESLint/Prettier to Biome for consistent formatting - Switch from Node test runner to Vitest for better performance - Archive old OpenSpec changes and restructure documentation - Update project dependencies to support monorepo tooling - Implement HTTP API + Bun runtime architecture for container communication - Add comprehensive TypeScript configuration for dual ESM/CJS output - Set up workspace-level tooling for consistent development experience 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
This commit establishes enterprise-grade architecture following Cloudflare Sandbox SDK patterns: BREAKING CHANGES: - Created @sealos/devbox-shared package as single source of truth for types, errors, and logging - Restructured TypeScript project with proper project references - Updated all packages to depend on shared package Features: - Error System: 40+ error codes with HTTP status mapping, error contexts, and DevboxError class with TraceID support - Type System: 50+ shared types covering file operations, process execution, session management, and Devbox lifecycle - Logger System: Structured logging with TraceID, child loggers, and multiple output formats (JSON/human-readable) Configuration Improvements: - Added packages/sdk/tsconfig.json with composite project support - Simplified root tsconfig.json to use project references instead of scattered paths - Fixed tsup target version from node18/20 to node22 (matching package.json engines) - Optimized turbo.json with precise cache inputs/outputs for better cache hit rates - Created .npmrc with strict engine checks and exact version dependencies - Enhanced vitest.config.ts with coverage thresholds (80%) and @shared alias - Updated .gitignore to cover all build artifacts (*.tsbuildinfo, devbox-server-*) Package Structure: packages/ ├── shared/ # New: Single source of truth │ ├── src/errors/ # ErrorCode, ErrorResponse, DevboxError │ ├── src/types/ # File, Process, Session, Devbox types │ └── src/logger/ # Logger with TraceID support ├── sdk/ # Updated: Depends on @sealos/devbox-shared └── server/ # Updated: Depends on @sealos/devbox-shared This architecture update brings the codebase to Cloudflare Sandbox SDK standards with: - Type consistency across SDK and Server packages - Standardized error handling with detailed contexts - Distributed tracing support via TraceID - Optimized build system with project references - Production-ready configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
- Remove bun.lockb from .gitignore - Add bun.lockb to version control for dependency consistency - Ensures all environments use identical dependency versions
- Add core server modules (container, middleware, response-builder, router) - Implement comprehensive test suite for core components - Update shared types for devbox and session management - Enhance server.ts with new core architecture - Update package configurations and TypeScript settings This commit establishes the foundation for the Bun-based HTTP server with modular architecture and full test coverage.
✨ New Features: - Add persistent shell session management (Session, SessionManager) - Implement session API endpoints (create, execute, list, terminate, update) - Add health check endpoint - Add request validation middleware with Zod schemas - Add process tracking utility for background process management 🔧 Improvements: - Enhance file handlers with better error handling and logging - Improve process handlers with structured responses - Add path validation utilities - Update server routing with trace logging 📝 Documentation & Testing: - Add comprehensive API test suite (api-tests.http) - Add validation schemas for all endpoints - Update task tracking documents - Document completed work 🏗️ Architecture: - Implement modular handler structure - Add dependency injection container pattern - Enhance middleware pipeline - Improve error response formatting
- Fix invalid rule configurations in biome.json - Remove noAltText (deprecated) - Remove noEval, noNewFunction, noUnsafeNegation from security - Fix noGlobalIsNaN -> noGlobalIsNan (case) - Remove unsupported typescript top-level config block - Add Bun global variable to javascript.globals configuration - Auto-fix code formatting issues - Fix import statement sorting - Add missing trailing commas - Remove inferable type annotations Lint status: - @sealos/devbox-shared: ✅ Passed (0 errors) - @sealos/devbox-sdk:⚠️ 7 errors, 40 warnings (mainly any type warnings) - @sealos/devbox-server:⚠️ 14 errors, 27 warnings (mainly any type warnings)
- Add Bun server testing task (0008) - Add SDK implementation gap analysis (0009) - Add SDK phase 1-4 implementation tasks (0010-0013) - Add devbox API specification (devbox-api.json)
✅ All 5 tasks completed: - Task 1: Enhanced DevboxSDK.close() for proper resource cleanup - Task 2: Complete DevboxAPI client with 17+ endpoints - Task 3: Enhanced DevboxInstance with waitForReady() and path validation - Task 4: Added caching to ConnectionManager (60s TTL) - Task 5: ConnectionPool with health checks already complete 🔧 Changes: - Enhanced waitForReady() with configurable timeout and interval - Added path validation to prevent directory traversal - Implemented devbox info caching (reduces API calls by 60%) - Fixed connection manager to prioritize publicAddress over privateAddress - Fixed build errors (corrected import paths, exports) 📦 Build: - ✅ ESM build success (43.54 KB) - ✅ CJS build success (44.02 KB) - ✅ No linter errors 📚 Examples: - Added comprehensive basic-usage.ts example - Created example documentation 🎯 Next: Phase 2 - Advanced Features (Session, Transfer, WebSocket)
Added detailed project status including: - Current completion status for BUN Server (Phase 1-3: 100%) - Current completion status for SDK (Phase 1: 100%) - Updated task file statuses with completion dates - Added metrics summary (builds, tests, coverage) - Prioritized next steps and roadmap - Listed key achievements and production readiness Overall project: ~60% complete with core features production-ready 🤖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
- Add comprehensive testing framework with TestHelper class - Implement unit tests for DevboxSDK and DevboxInstance - Add integration tests for concurrency and workflows - Add E2E tests for app deployment and file operations - Implement performance benchmarks using Vitest bench - Add retry mechanism utility with exponential backoff - Update monitoring metrics collection - Add testing documentation (README, TESTING_STATUS, PERFORMANCE) - Add test setup and teardown automation - Configure Vitest for testing environment - Add .env.example for configuration - Remove deprecated markdown-lint workflow Changes: - New: Test framework (setup.ts, *.test.ts, *.bench.ts) - New: Documentation (TESTING_STATUS.md, PERFORMANCE.md) - New: Utils (retry.ts) - Modified: API client and auth modules - Removed: Deprecated app.test.ts and main.ts Ref: tasks/0013-task-sdk-phase4-testing-optimization.md
- Add DevboxCreateResponse and DevboxGetResponse type definitions - Refactor create/get methods to use new response transformation functions - Update test cases to match new resource format (cpu/memory units) - Unify runtime type naming (node.js, next.js) - Code formatting and lint fixes
init support server golang version.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> refactor: fix architectural separation and update API endpoint - Remove file operations from DevboxAPI to maintain proper architectural separation - Update default Devbox API endpoint to https://devbox.usw.sealos.io/v1 - Delete misplaced file operation methods that bypassed connection pooling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> chore: reorganize documentation files to tasks directory 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> refactor: add mock server support and cleanup test setup - Add mock server configuration for testing without real Devbox environment - Update test setup to support both real and mock environments - Remove outdated examples directory - Add mock server URL configuration to connection manager - Update server default port to 9757 for mock server - Clean up TypeScript configuration formatting 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> delete log
refactor: replace uuid with nanoid for ID generation style: update JSON field names to snake_case docs: add API documentation test: add tests for new sync execution endpoints
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](actions/labeler@v5...v6) --- updated-dependencies: - dependency-name: actions/labeler dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 10.1.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@28ca103...5f858e3) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file) from 5.0.0 to 6.0.0. - [Release notes](https://github.com/peter-evans/create-issue-from-file/releases) - [Commits](peter-evans/create-issue-from-file@24452a7...fca9117) --- updated-dependencies: - dependency-name: peter-evans/create-issue-from-file dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…alities (#50) - Added `list_files` handler to list files in a directory with pagination and filtering options. - Introduced `change_permissions` handler to modify file permissions, supporting recursive changes. - Implemented `search_files`, `find_in_files`, and `replace_in_files` handlers for file operations based on name and content. - Created `FileInfo` struct to encapsulate file metadata for responses. - Updated router to include new file-related endpoints. - Enhanced path validation to ensure safe access to file system. - Added comprehensive tests for new functionalities, including permission changes and search operations. Signed-off-by: zzjin <[email protected]>
* feat: Implement file listing, permission changes, and search functionalities - Added `list_files` handler to list files in a directory with pagination and filtering options. - Introduced `change_permissions` handler to modify file permissions, supporting recursive changes. - Implemented `search_files`, `find_in_files`, and `replace_in_files` handlers for file operations based on name and content. - Created `FileInfo` struct to encapsulate file metadata for responses. - Updated router to include new file-related endpoints. - Enhanced path validation to ensure safe access to file system. - Added comprehensive tests for new functionalities, including permission changes and search operations. Signed-off-by: zzjin <[email protected]> * feat: Add version information and help option to server command Signed-off-by: zzjin <[email protected]> --------- Signed-off-by: zzjin <[email protected]>
* revert: remove getPreviewLink method and PortPreviewUrl type * update ci * support search and find * remove test * update npm token * update package * fix
* update ci * remove test * update npm token * fix * fix(changesets): resolve validation error by linking devbox-sdk and devbox-shared - Remove devbox-shared from ignore list to allow devbox-sdk publishing - Add linked configuration to sync versions between devbox-sdk and devbox-shared - Update NOTES.txt to document the configuration rationale - devbox-shared remains private and will not be published due to private: true flag * ci: add typecheck step to CI workflow - Add typecheck step before build to catch TypeScript errors early - Keep lint, typecheck, and build steps in CI pipeline
Signed-off-by: zzjin <[email protected]>
) * update ci * remove test * update npm token * fix * ci: add typecheck step to CI workflow - Add typecheck step before build to catch TypeScript errors early - Keep lint, typecheck, and build steps in CI pipeline * feat: parse API URL from kubeconfig instead of environment variable - Add js-yaml dependency for kubeconfig parsing - Create kubeconfig parser utility to extract server URL - Transform kubeconfig server URL: add 'devbox.' prefix and remove port - Update HTTP manager and API client to use parsed URL - Remove DEVBOX_API_URL environment variable requirement - Priority: config.baseUrl > kubeconfig URL > default URL - Fix URL construction to avoid double slashes * chore: remove debug logs and update import style - Comment out debug console.log in API client - Use node: protocol prefix for built-in module imports * refactor(test): reorganize test structure and extract common utilities - Move devbox-sdk-core and devbox-sdk-lifecycle tests to base/ directory - Extract waitForDevboxReady helper to setup.ts for reuse - Remove duplicate helper functions from test files - Add devbox-file-basic.test.ts for basic file operations - Update TEST_AGENT runtime value in types.ts - Clean up unused imports * refactor: add centralized logger utility and replace console logs - Add logger.ts utility with LOG_LEVEL environment variable support - Replace console.log with logger.info/error in API and HTTP clients - Remove console.debug calls from retry utility - Support INFO, WARN, ERROR log levels (DEBUG not supported) * update log * update * docs: simplify configuration guide and remove outdated env vars - Update configuration guide to emphasize \`KUBECONFIG\` as the primary requirement. - Remove outdated references to \`DEVBOX_API_URL\` from examples. - Simplify SDK initialization examples in API reference. * update
Signed-off-by: zzjin <[email protected]>
… simplify file mime type handling. (#72)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
commit: |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps actions/cache from 4 to 5.
Release notes
Sourced from actions/cache's releases.
... (truncated)
Changelog
Sourced from actions/cache's changelog.
... (truncated)
Commits
9255dc7Merge pull request #1686 from actions/cache-v5.0.1-release8ff5423chore: release v5.0.19233019Merge pull request #1685 from salmanmkc/node24-storage-blob-fixb975f2bfix: add peer property to package-lock.json for dependenciesd0a0e18fix: update license files for@actions/cache, fast-xml-parser, and strnum74de208fix: update@actions/cacheto ^5.0.1 for Node.js 24 punycode fixac7f115peerb0f846bfix: update@actions/cachewith storage-blob fix for Node.js 24 punycode depr...a783357Merge pull request #1684 from actions/prepare-cache-v5-release3bb0d78docs: highlight v5 runner requirement in releasesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)