Skip to content

feat: add checks to support deno and bun#10652

Merged
jasonsaayman merged 14 commits intov1.xfrom
feat/add-checks-to-support-deno-and-bun
Apr 5, 2026
Merged

feat: add checks to support deno and bun#10652
jasonsaayman merged 14 commits intov1.xfrom
feat/add-checks-to-support-deno-and-bun

Conversation

@jasonsaayman
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman commented Apr 5, 2026

Summary by cubic

Add CI smoke tests for bun and deno to verify axios works in both runtimes and block release bumps if they fail. Includes new smoke suites and scripts; no API changes.

New Features

  • Added bun-smoke-tests and deno-smoke-tests to .github/workflows/run-ci.yml and release-branch.yml; the release bump job now depends on them.
  • bun: installs the packed tarball via bun add file:.../axios.tgz and runs bun test.
  • deno: extracts dist from the tarball, runs deno install, then deno task test.
  • Added smoke suites under tests/smoke/bun and tests/smoke/deno; added test:smoke:bun and test:smoke:deno scripts; updated .gitignore.

Testing

  • bun smoke coverage: fetch and http adapters, headers, native FormData and form-data, interceptors, progress, timeout, cancellation, imports, default adapter.
  • deno smoke coverage: fetch adapter, headers (defaults/custom), cancellation, errors (404/500), methods, JSON body, imports via deno.json.
  • Run locally: npm run test:smoke:bun and npm run test:smoke:deno.

Written for commit 43c1e32. Summary will update on new commits.

@jasonsaayman jasonsaayman self-assigned this Apr 5, 2026
@jasonsaayman jasonsaayman added priority::medium A medium priority commit::feat The PR is related to a feature labels Apr 5, 2026
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 5, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​types/​bun@​1.3.111001004993100

View full report

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 issues found across 23 files

Confidence score: 2/5

  • High-confidence workflow path regressions in .github/workflows/release-branch.yml and .github/workflows/run-ci.yml copy artifacts into dist/dist, which makes ../../../dist/esm/axios.js unavailable during Deno imports.
  • This creates a concrete CI/regression risk (severity 8/10 in both findings): validation and release-related jobs are likely to fail until the dist copy/extraction paths are corrected.
  • Pay close attention to .github/workflows/release-branch.yml, .github/workflows/run-ci.yml - both workflows appear to nest dist incorrectly, breaking expected Deno import resolution.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/release-branch.yml">

<violation number="1" location=".github/workflows/release-branch.yml:235">
P1: The Deno artifact copy command nests `dist` (`dist/dist/...`), so the test import path `../../../dist/esm/axios.js` will not exist.</violation>
</file>

<file name=".github/workflows/run-ci.yml">

<violation number="1" location=".github/workflows/run-ci.yml:229">
P1: The dist extraction step copies into `dist/dist` instead of `dist`, so Deno imports from `../../../dist/esm/axios.js` won’t resolve correctly.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread .github/workflows/release-branch.yml Outdated
Comment thread .github/workflows/run-ci.yml Outdated
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file (changes from recent commits).

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/run-ci.yml">

<violation number="1" location=".github/workflows/run-ci.yml:230">
P2: The workflow calls `deno task ... install`, but `tests/smoke/deno/deno.json` has no `install` task. This will fail the Deno CI job.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread .github/workflows/run-ci.yml Outdated
@jasonsaayman jasonsaayman merged commit 2f52f6b into v1.x Apr 5, 2026
26 checks passed
@jasonsaayman jasonsaayman deleted the feat/add-checks-to-support-deno-and-bun branch April 5, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit::feat The PR is related to a feature priority::medium A medium priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant