fix: id instead of path #883
Triggered via pull request
February 1, 2024 09:58
Status
Failure
Total duration
1h 23m 53s
Artifacts
11
bun-windows.yml
on: pull_request
Matrix: Codegen
Matrix: Dependencies
Matrix: Zig Build
Matrix: C++ Build
Matrix: Link
Matrix: Test
Annotations
10 errors and 10 warnings
error: expect(received).toMatchSnapshot(expected):
test\bundler\bun-build-api.test.ts#L76
Expected:
"var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: (newValue) => all[name] = () => newValue
});
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
// test/bundler/fixtures/trivial/fn.js
var exports_fn = {};
__export(exports_fn, {
fn: () => {
{
return fn;
}
}
});
function fn(a) {
return a + 42;
}
var init_fn = __esm(() => {
});
// test/bundler/fixtures/trivial/index.js
var NS = Promise.resolve().then(() => (init_fn(), exports_fn));
NS.then(({ fn: fn2 }) => {
console.log(fn2(42));
});
"
Received:
"var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: (newValue) => all[name] = () => newValue
});
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
// test\bundler\fixtures\trivial\fn.js
var exports_fn = {};
__export(exports_fn, {
fn: () => {
{
return fn;
}
}
});
function fn(a) {
return a + 42;
}
var init_fn = __esm(() => {
});
// test\bundler\fixtures\trivial\index.js
var NS = Promise.resolve().then(() => (init_fn(), exports_fn));
NS.then(({ fn: fn2 }) => {
console.log(fn2(42));
});
"
at D:\a\bun\bun\test\bundler\bun-build-api.test.ts:76:5
|
error: expect(received).toMatchSnapshot(expected):
test\bundler\bun-build-api.test.ts#L101
Expected:
"var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: (newValue) => all[name] = () => newValue
});
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
// test/bundler/fixtures/trivial/fn.js
var exports_fn = {};
__export(exports_fn, {
fn: () => {
{
return fn;
}
}
});
function fn(a) {
return a + 42;
}
var init_fn = __esm(() => {
});
// test/bundler/fixtures/trivial/index.js
var NS = Promise.resolve().then(() => (init_fn(), exports_fn));
NS.then(({ fn: fn2 }) => {
console.log(fn2(42));
});
"
Received:
"var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: (newValue) => all[name] = () => newValue
});
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
// test\bundler\fixtures\trivial\fn.js
var exports_fn = {};
__export(exports_fn, {
fn: () => {
{
return fn;
}
}
});
function fn(a) {
return a + 42;
}
var init_fn = __esm(() => {
});
// test\bundler\fixtures\trivial\index.js
var NS = Promise.resolve().then(() => (init_fn(), exports_fn));
NS.then(({ fn: fn2 }) => {
console.log(fn2(42));
});
"
at D:\a\bun\bun\test\bundler\bun-build-api.test.ts:101:5
|
error: expect(received).toMatchSnapshot(expected):
test\bundler\bun-build-api.test.ts#L116
Expected: "e4885a8bc2de343a"
Received: "e175f6424474d772"
at D:\a\bun\bun\test\bundler\bun-build-api.test.ts:116:5
|
error: expect(received).toMatchSnapshot(expected):
test\bundler\bun-build-api.test.ts#L137
Expected: "cb8abf3391c2971f"
Received: "0be8d21365e1ce7f"
at D:\a\bun\bun\test\bundler\bun-build-api.test.ts:137:5
|
error: expect(received).toMatchSnapshot(expected):
test\bundler\bun-build-api.test.ts#L155
Expected: "e4885a8bc2de343a"
Received: "e175f6424474d772"
at D:\a\bun\bun\test\bundler\bun-build-api.test.ts:155:5
|
error: expect(received).toMatchSnapshot(expected):
test\bundler\bun-build-api.test.ts#L208
Expected:
"var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: (newValue) => all[name] = () => newValue
});
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
// test/bundler/fixtures/trivial/fn.js
var exports_fn = {};
__export(exports_fn, {
fn: () => {
{
return fn;
}
}
});
function fn(a) {
return a + 42;
}
var init_fn = __esm(() => {
});
// test/bundler/fixtures/trivial/index.js
var NS = Promise.resolve().then(() => (init_fn(), exports_fn));
NS.then(({ fn: fn2 }) => {
console.log(fn2(42));
});
"
Received:
"var __defProp = Object.defineProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, {
get: all[name],
enumerable: true,
configurable: true,
set: (newValue) => all[name] = () => newValue
});
};
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
// test\bundler\fixtures\trivial\fn.js
var exports_fn = {};
__export(exports_fn, {
fn: () => {
{
return fn;
}
}
});
function fn(a) {
return a + 42;
}
var init_fn = __esm(() => {
});
// test\bundler\fixtures\trivial\index.js
var NS = Promise.resolve().then(() => (init_fn(), exports_fn));
NS.then(({ fn: fn2 }) => {
console.log(fn2(42));
});
"
at D:\a\bun\bun\test\bundler\bun-build-api.test.ts:208:5
|
error: Runtime failed:
test\bundler\expectBundled.ts#L1282
1 | // @Bun
2 | // entry.ts
3 | var {pathToFileURL, fileURLToPath } = globalThis.Bun;
4 | console.log(pathToFileURL(import.meta.path).href + " " + fileURLToPath(import.meta.url));
^
TypeError: File URL path must be absolute
at /$bunfs/root/out:4:58
at D:\a\bun\bun\test\bundler\expectBundled.ts:1282:17
at D:\a\bun\bun\test\bundler\expectBundled.ts:443:11
|
error: expect(received).toBe(expected):
test\bundler\cli.test.ts#L32
Expected: 0
Received: 1
at testCompile (D:\a\bun\bun\test\bundler\cli.test.ts:32:7)
at D:\a\bun\bun\test\bundler\cli.test.ts:43:7
|
error: expect(received).toBe(expected):
test\bundler\expectBundled.ts#L1295
Expected: "function undefined\nstring \"function\"\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nstring \"/node_modules/some-path/index.js\"\nstring \"/node_modules/second-path/index.js\"\nobject {\"default\":123}\nobject {\"default\":567}"
Received: "function undefined\nstring \"function\"\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nstring \"\\\\node_modules\\\\some-path\\\\index.js\"\nstring \"\\\\node_modules\\\\second-path\\\\index.js\"\nobject {\"default\":123}\nobject {\"default\":567}"
at D:\a\bun\bun\test\bundler\expectBundled.ts:1295:13
at D:\a\bun\bun\test\bundler\expectBundled.ts:443:11
|
error: expect(received).toBe(expected):
test\bundler\expectBundled.ts#L1295
Expected: "function undefined\nstring \"function\"\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nstring \"/node_modules/some-path/index.js\"\nstring \"/node_modules/second-path/index.js\"\nobject {\"default\":123}\nobject {\"default\":567}"
Received: "function undefined\nstring \"function\"\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nobject {\"works\":true}\nobject {\"works\":true}\nnumber 567\nstring \"\\\\node_modules\\\\some-path\\\\index.js\"\nstring \"\\\\node_modules\\\\second-path\\\\index.js\"\nobject {\"default\":123}\nobject {\"default\":567}"
at D:\a\bun\bun\test\bundler\expectBundled.ts:1295:13
at D:\a\bun\bun\test\bundler\expectBundled.ts:443:11
|
Codegen (x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Dependencies (haswell, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Dependencies (nehalem, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Zig Build (nehalem, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: docker/setup-buildx-action@v2, docker/login-action@v2, docker/build-push-action@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Zig Build (haswell, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: docker/setup-buildx-action@v2, docker/login-action@v2, docker/build-push-action@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
C++ Build (nehalem, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
C++ Build (haswell, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Link (nehalem, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Link (haswell, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test (haswell, x86_64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/download-artifact@v3, thollander/actions-comment-pull-request@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bun-windows-x64
Expired
|
30.9 MB |
|
bun-windows-x64-baseline
Expired
|
30.9 MB |
|
bun-windows-x64-baseline-profile
Expired
|
94.3 MB |
|
bun-windows-x64-codegen
Expired
|
9.72 MB |
|
bun-windows-x64-cpp
Expired
|
464 MB |
|
bun-windows-x64-cpp-baseline
Expired
|
464 MB |
|
bun-windows-x64-deps
Expired
|
27.6 MB |
|
bun-windows-x64-deps-baseline
Expired
|
27.6 MB |
|
bun-windows-x64-profile
Expired
|
94.3 MB |
|
bun-windows-x64-zig
Expired
|
81.7 MB |
|
bun-windows-x64-zig-baseline
Expired
|
81.5 MB |
|