profile
viewpoint
Casper Beyer caspervonb Sponsor me via GitHub Sponsors Covid Lockdown https://medium.com/commitlog Currently contributing to Deno and WebAssembly System Interface things.

amokjs/amok 1174

Development on hold, playing around with different approaches at the moment

caspervonb/deno-wasi 131

A (WIP) WebAssembly System Interface implementation for Deno

caspervonb/8192px 57

A collaborative pixel art experiment

caspervonb/bitty 5

Use amok instead

caspervonb/dotfiles 2

My personal configuration for unix environments.

caspervonb/6to5-mocha 1

6to5 mocha guide

caspervonb/deno-web 1

Cobwebs everywhere

delete branch khronosproject/web-wasi

delete branch : implement-fd-write-for-stdout

delete time in 9 hours

push eventkhronosproject/web-wasi

Casper Beyer

commit sha b2fffefe7d0c0193f4f8d967285a0c407117bb1e

Implement fd_write for stdout This adds support for stdout in fd_write and implements stdout as a writer that can be given as an option to a Context.

view details

push time in 9 hours

PR merged khronosproject/web-wasi

Implement fd_write for stdout

This adds support for stdout in fd_write and implements stdout as a writer that can be given as an option to a Context.

+34 -1

0 comment

2 changed files

caspervonb

pr closed time in 9 hours

PR opened khronosproject/web-wasi

Implement fd_write for stdout

This adds support for stdout in fd_write and implements stdout as a writer that can be given as an option to a Context.

+34 -1

0 comment

2 changed files

pr created time in 9 hours

create barnchkhronosproject/web-wasi

branch : implement-fd-write-for-stdout

created branch time in 10 hours

delete branch khronosproject/web-wasi

delete branch : implement-fd-write-for-stderr

delete time in 10 hours

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 1fe7b1a3ee88b9af8e39a1bf3bcb42a7d2cee568

Implement fd_write for stderr This implements fd_write but only for stderr on this first pass as its indirectly required for getting error information out other tests.

view details

push time in 10 hours

PR merged khronosproject/web-wasi

Implement fd_write for stderr

This implements fd_write but only for stderr on this first pass as it's indirectly required for getting error information out other tests.

+47 -1

0 comment

2 changed files

caspervonb

pr closed time in 10 hours

PR opened khronosproject/web-wasi

Implement fd_write for stderr

This implements fd_write but only for stderr on this first pass as it's indirectly required for getting error information out other tests.

+47 -1

0 comment

2 changed files

pr created time in 10 hours

create barnchkhronosproject/web-wasi

branch : implement-fd-write-for-stderr

created branch time in 11 hours

push eventkhronosproject/wasi-test

Casper Beyer

commit sha 1956b0da1c624e6060bb605a7a3440411a5ad45d

Remove stray symlink fixture A stray symlink fixture made its way into the root directory by accident. This removes the offending symlink.

view details

push time in 18 hours

delete branch khronosproject/wasi-test

delete branch : remove-stray-symlink-fixture

delete time in 18 hours

PR merged khronosproject/wasi-test

Remove stray symlink fixture

A stray symlink fixture made its way into the root directory by accident.

This removes the offending symlink.

+0 -1

0 comment

1 changed file

caspervonb

pr closed time in 18 hours

PR opened khronosproject/wasi-test

Remove stray symlink fixture

A stray symlink fixture made its way into the root directory by accident.

This removes the offending symlink.

+0 -1

0 comment

1 changed file

pr created time in 18 hours

push eventkhronosproject/wasi-test

Casper Beyer

commit sha 8554f77e48846c9f7346a81e7855c9eebe85d445

Annotate wasi::proc_exit unreachable This adds a minor annotation to the unreachable after wasi::proc_exit to be be able to distinguish it from unreachable errors that may happen during pre-open handling.

view details

Casper Beyer

commit sha f0b352405e7eb27cef07106cb1bb22272a278109

Remove stray symlink fixture A stray symlink fixture made its way into the root directory by accident. This removes the offending symlink.

view details

push time in 18 hours

create barnchkhronosproject/wasi-test

branch : remove-stray-symlink-fixture

created branch time in 18 hours

delete branch khronosproject/web-wasi

delete branch : implement-proc-exit

delete time in 18 hours

push eventkhronosproject/web-wasi

Casper Beyer

commit sha fd5166b5f4db4d6fab83903d7f47e72753b2416b

Implement proc_exit This implements proc_exit by throwing an 'ExitStatus' object into the runtime to halt and unwind the stack at the call site.

view details

push time in 18 hours

PR merged khronosproject/web-wasi

Implement proc_exit

This implements proc_exit by throwing an 'ExitStatus' object into the runtime to halt and unwind the stack at the call site.

+30 -5

0 comment

3 changed files

caspervonb

pr closed time in 18 hours

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 5998babf3fc9488d472d804e0cf806095d21ac1b

Implement proc_exit This implements proc_exit by throwing an 'ExitStatus' object into the runtime to halt and unwind the stack at the call site.

view details

push time in 18 hours

PR opened khronosproject/web-wasi

Implement proc_exit

This implements proc_exit by throwing an 'ExitStatus' object into the runtime to halt and unwind the stack at the call site.

+29 -5

0 comment

3 changed files

pr created time in 18 hours

create barnchkhronosproject/web-wasi

branch : implement-proc-exit

created branch time in 18 hours

push eventkhronosproject/wasi-test-suite

Casper Beyer

commit sha 4c7517f6cc5aa3bd7cf405be7dfb8ec1cac6d2de

Annotate wasi::proc_exit unreachable This adds a minor annotation to the unreachable after wasi::proc_exit to be be able to distinguish it from unreachable errors that may happen during pre-open handling.

view details

push time in 18 hours

push eventkhronosproject/wasi-test

Casper Beyer

commit sha 8554f77e48846c9f7346a81e7855c9eebe85d445

Annotate wasi::proc_exit unreachable This adds a minor annotation to the unreachable after wasi::proc_exit to be be able to distinguish it from unreachable errors that may happen during pre-open handling.

view details

push time in 18 hours

delete branch khronosproject/wasi-test

delete branch : annotate-wasi-proc-exit-unreachable

delete time in 18 hours

PR merged khronosproject/wasi-test

Annotate wasi::proc_exit unreachable

This adds a minor annotation to the unreachable after wasi::proc_exit to be be able to distinguish it from unreachable errors that may happen during pre-open handling.

+1 -1

0 comment

1 changed file

caspervonb

pr closed time in 18 hours

PR opened khronosproject/wasi-test

Annotate wasi::proc_exit unreachable

This adds a minor annotation to the unreachable after wasi::proc_exit to be be able to distinguish it from unreachable errors that may happen during pre-open handling.

+1 -1

0 comment

1 changed file

pr created time in 18 hours

create barnchkhronosproject/wasi-test

branch : annotate-wasi-proc-exit-unreachable

created branch time in 18 hours

issue commentdenoland/deno

Proposal: Deno.richCustomInspect

Pretty much!

Side note tho, customInspect signature should probably be given depth:number and options: InspectOptions so the formatter used can respects those settings.

kitsonk

comment created time in 18 hours

issue commentdenoland/deno

Unhandled promise rejections are confusing

REPL behavior remains the same here, so probably best to leave this open

kitsonk

comment created time in 20 hours

push eventcaspervonb/deno

Casper Beyer

commit sha b112981b15d26ddbf9151ca9f8eb1836baef1bfc

Lint

view details

push time in 21 hours

issue commentdenoland/deno

Q4 2020 roadmap

My big items:

  • Revamp the REPL, turn it into a general purpose debugger.
  • New parallel capable test runner in Rust with multiple reporters (pretty, json, custom).
  • Best in class test coverage cli with multiple reporters (pretty, json, custom).
bartlomieju

comment created time in 21 hours

push eventcaspervonb/deno

Casper Beyer

commit sha 44a840a65563eb5ad53a4cf88f137b7740a00500

Format

view details

push time in 21 hours

pull request commentdenoland/deno

feat(cli/repl): use completion candidate as hint

Example

Screenshot 2020-10-26 at 10 12 30 AM

caspervonb

comment created time in 21 hours

PR opened denoland/deno

feat(cli/repl): use completion candidate as hint

This shows the first completion candidate as a hint, which is rendered as gray text to the right of the cursor.

+23 -3

0 comment

1 changed file

pr created time in 21 hours

create barnchcaspervonb/deno

branch : feat-repl-add-completion-hints

created branch time in 21 hours

Pull request review commentdenoland/deno

refactor(watch): create single watcher for whole process

 async fn error_handler(watch_future: WatchFuture) { }  pub async fn watch_func<F>(-  watch_paths: &[PathBuf],+  paths: &[PathBuf],   closure: F, ) -> Result<(), AnyError> where   F: Fn() -> WatchFuture, {+  let (_watcher, receiver) = new_watcher(paths)?;+  let mut debounce = Debounce::new(receiver, DEBOUNCE_TIMEOUT_MS);   loop {     let func = error_handler(closure());     let mut is_file_changed = false;     select! {-      _ = file_watcher(watch_paths) => {-          is_file_changed = true;-          info!(-            "{} File change detected! Restarting!",-            colors::intense_blue("Watcher")-          );-        },-      _ = func => { },-    };+      _ = debounce.next() => {+        is_file_changed = true;+        info!(+          "{} File change detected! Restarting!",+          colors::intense_blue("Watcher"),+        );+      },+      _ = func => {},+    }

I thought what you suggested was to add delay_for() to a branch of select!

If none of the futures complete, delay for at-least 0ms.

As is this still runs hot.

Screenshot 2020-10-26 at 9 12 19 AM

magurotuna

comment created time in a day

PullRequestReviewEvent

issue commentdenoland/deno

Proposal: Deno.richCustomInspect

Instead of adding more symbols, would be simpler if the results of calling custom inspect were just formatted with the object format specifier instead (raw strings are left alone with that).

kitsonk

comment created time in a day

issue closedkhronosproject/wasi-test

Relax the wasi::clock_time_get tests a bit

The time tests are a bit too strict and should be relaxed to allow for millisecond precision or lower timers.

closed time in 2 days

caspervonb

issue commentkhronosproject/wasi-test

Relax the wasi::clock_time_get tests a bit

Done in https://github.com/khronosproject/wasi-test/commit/8661a620caec10bc97ef9c6587e4b5d95361b50c

caspervonb

comment created time in 2 days

issue closedkhronosproject/wasi-test

build.rs error on "trailing characters"

When building in the root with cargo build --target wasm32-wasi I get the following:

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("trailing characters", line: 9, column: 1)', build.rs:16:75
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I was building on Windows and git is set up in its default setting with CRLF so perhaps mismatch in the spec parsing wrt to LF vs CRLF?

This does look suspicious:

let prelude = source.split("\n\n").next().unwrap().replace("//", "");

closed time in 2 days

repi

issue commentkhronosproject/wasi-test

build.rs error on "trailing characters"

Should be fine with #51

repi

comment created time in 2 days

Pull request review commentdenoland/deno

refactor(watch): create single watcher for whole process

 async fn error_handler(watch_future: WatchFuture) { }  pub async fn watch_func<F>(-  watch_paths: &[PathBuf],+  paths: &[PathBuf],   closure: F, ) -> Result<(), AnyError> where   F: Fn() -> WatchFuture, {+  let (_watcher, receiver) = new_watcher(paths)?;+  let mut debounce = Debounce::new(receiver, DEBOUNCE_TIMEOUT_MS);   loop {     let func = error_handler(closure());     let mut is_file_changed = false;     select! {-      _ = file_watcher(watch_paths) => {-          is_file_changed = true;-          info!(-            "{} File change detected! Restarting!",-            colors::intense_blue("Watcher")-          );-        },-      _ = func => { },-    };+      _ = debounce.next() => {+        is_file_changed = true;+        info!(+          "{} File change detected! Restarting!",+          colors::intense_blue("Watcher"),+        );+      },+      _ = func => {},+    }

It wouldn't prevent any execution, just delay it. Delay can be tweaked, delay_for(0) is good enough to yield 0-10% CPU usage.

Still better to do it explicitly in the hot loop rather than hiding an actual thread sleep somewhere else IMO.

magurotuna

comment created time in 2 days

PullRequestReviewEvent

push eventcaspervonb/deno

nerix

commit sha 0a2f0fe7f23a1b3ffa8dedf18694f2e5924a9880

fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty (#7936)

view details

Max Drosdo.www

commit sha 17eaede6438ee62416468815621f19cc0567989c

docs: fix command examples use outdated default file_server port (#8062)

view details

Divy Srivastava

commit sha d592c128cf42852d2ccffc45574761fd78de8fa7

chores(cli/fmt): make --ignore stable (#7922) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>

view details

Bartek Iwańczuk

commit sha 9b20cfbee8d932c2f232f6bad911fe65c8257adc

upgrade: deno_doc, deno_lint, dprint, swc (#8077) - deno_doc 0.1.13 - deno_lint 0.2.5 - dprint-plugin-typescript 0.32.6 - swc_bundler 0.12.0 - swc_ecmascript 0.11.1

view details

Bartek Iwańczuk

commit sha c5c48f845a4d25f064c4388fcdd4295317edf155

feat(lint): stabilize "deno lint" subcommand (#8075) This commit stabilizes "deno lint" by removing the need to pass --unstable flag. --unstable is still required when using --json flag.

view details

Eugen Cazacu

commit sha 9fa59f0ca8164f5e02ba2a2fa90b6fdbce5c1afb

test(std/datetime): test datetime constants (#8068) Fixes: #8067

view details

Kitson Kelly

commit sha 7e2c7fb6c5454e30158d74e1a5786183ea391f07

refactor(cli): migrate run and cache to new infrastructure (#7996) Co-authored-by: Ryan Dahl <ry@tinyclouds.org>

view details

btoo

commit sha 1d9c7a0a2219893203ae6631889aeb8d344c79ac

docs(std/path): fix typo in globToRegExp docs (#8081)

view details

Nikolai Vavilov

commit sha f56c7868ab3f862fc66c8605ed34c315040cb3a2

docs(cli): update link to dprint-plugin-typescript (#8052)

view details

Nayeem Rahman

commit sha a3024a6dc5c27317049a39ad8cb3e54368429dbf

BREAKING(cli/tsc): Enable isolatedModules by default (#8050)

view details

Kitson Kelly

commit sha ab898556a490d78d93e806ea3ee31147117102e3

refactor(cli): move bundle check to new infrastructure (#8071)

view details

Toan Nguyen

commit sha 29e05bb014015085615f648a31f180ed9dd49e5a

fix: typos in cli and core (#8082)

view details

Nayeem Rahman

commit sha be15cf285dbf3a7b3025d34cb80e87e54a55dd93

feat(cli): Add deno cache --test and --worker (#7920)

view details

Bartek Iwańczuk

commit sha 9d363312782f00a871c13cd3b0c23617f5e1929d

Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089) This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93.

view details

Bartek Iwańczuk

commit sha 8d95bd15e14a576c45ceadd030d70de43d758379

refactor(core): remove Deno.core.formatError() (#8091) With recent improvements to REPL implementation, Deno.core.formatError() API is no longer needed.

view details

Bartek Iwańczuk

commit sha 35f184cdcca806bda72f65b73c774c53db132a3b

refactor: use of lock file in ModuleGraph2 (#8087)

view details

Casper Beyer

commit sha 2a83b223857722ffe63aeaa35b44aec8659a910d

fix(std/wasi): disallow path_open outside of pre-opened dirfd (#8078)

view details

Casper Beyer

commit sha 9adbca6d195b8ea9ad1474ebbb6f906069d6b130

docs(std/wasi): mark sched_yield as implemented (#8055) This marks sched_yield as implemented, it is a no-op but will probably always be and we have passing tests for it.

view details

Kitson Kelly

commit sha 117fcf61f0feb8d50b3b55f7698929b633980643

test(cli): dynamic imports not evaluated until runtime (#8102) Closes #7997

view details

Kitson Kelly

commit sha dd952818bc6b888b8fd1cff6a3d1e6b15993bafb

test(cli): ensure modules can export typed JS files (#8101) Closes #5935

view details

push time in 2 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 880e5d124cda5d8c27c802fbccda6f10509d7a29

Implement clock_time_get This implements clock_time_get with millisecond precision for the realtime clock and microsecond precision for the other clocks.

view details

push time in 3 days

delete branch khronosproject/web-wasi

delete branch : implement-clock-time-get

delete time in 3 days

PR merged khronosproject/web-wasi

Implement clock_time_get

This implements clock_time_get with millisecond precision for the realtime clock and microsecond precision for the other clocks.

+29 -2

0 comment

3 changed files

caspervonb

pr closed time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 4db32cf2985a595f06854509213ba007fad05d71

Implement clock_time_get This implements clock_time_get with millisecond precision for the realtime clock and microsecond precision for the other clocks.

view details

push time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 336367ed971e573a5e6d006e9d847654f4182288

Implement clock_time_get This implements clock_time_get with millisecond precision for the realtime clock and microsecond precision for the other clocks.

view details

push time in 3 days

PR opened khronosproject/web-wasi

Implement clock_time_get

This implements clock_time_get with millisecond precision for the realtime clock and microsecond precision for the other clocks.

+27 -2

0 comment

3 changed files

pr created time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 719ed29e11f5019d7057e511bb135ed2a9bdb147

Implement clock_res_get This implements clock_res_get yielding millisecond precision for realtime clocks and microsecond precision for the other clocks.

view details

Casper Beyer

commit sha 0863471dc4ff4a986b82996a07d315b51eaa9f2b

Implement clock_time_get This implements clock_time_get with millisecond precision for the realtime clock and microsecond precision for the other clocks.

view details

push time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 719ed29e11f5019d7057e511bb135ed2a9bdb147

Implement clock_res_get This implements clock_res_get yielding millisecond precision for realtime clocks and microsecond precision for the other clocks.

view details

push time in 3 days

delete branch khronosproject/web-wasi

delete branch : implement-clock-res-get

delete time in 3 days

PR merged khronosproject/web-wasi

Implement clock_res_get

This implements clock_res_get yielding millisecond precision for realtime clocks and microsecond precision.

+29 -2

0 comment

3 changed files

caspervonb

pr closed time in 3 days

PR opened khronosproject/web-wasi

Implement clock_res_get

This implements clock_res_get yielding millisecond precision for realtime clocks and microsecond precision.

+29 -2

0 comment

3 changed files

pr created time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha f1883065ffb5caa3afb1e072fa12e1fdc994c999

Implement clock_res_get This implements clock_res_get yielding millisecond precision for realtime clocks and microsecond precision for the other clocks.

view details

push time in 3 days

create barnchkhronosproject/web-wasi

branch : implement-clock-res-get

created branch time in 3 days

create barnchkhronosproject/web-wasi

branch : implement-clock-time-get

created branch time in 3 days

delete branch khronosproject/web-wasi

delete branch : update-tests-to-8f49014513d9508f0495977be44ec60c6f4c8e06

delete time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha c04a1ce07d6deceefcd3977ffdd2016228f411e4

Update tests to 8f49014513d9508f0495977be44ec60c6f4c8e06

view details

push time in 3 days

delete branch khronosproject/web-wasi

delete branch : explicitly-list-tests

delete time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 5d90e4414be7750df3f96637913cfbd887c494b9

Explicitly list tests This explicitly lists all tests to include so that the tests submodule may be fast-forwarded without having to add unknown tests to the ignore list.

view details

push time in 3 days

PR merged khronosproject/web-wasi

Explicitly list tests

This explicitly lists all tests to include so that the tests submodule may be fast-forwarded without having to add unknown tests to the ignore list.

+15 -64

0 comment

1 changed file

caspervonb

pr closed time in 3 days

push eventkhronosproject/web-wasi

Casper Beyer

commit sha 30e06c1a90b4502f6aee97ebad76e9fc3c494eba

Explicitly list tests This explicitly lists all tests to include so that the tests submodule may be fast-forwarded without having to add unknown tests to the ignore list.

view details

push time in 3 days

PR opened khronosproject/web-wasi

Explicitly list tests

This explicitly lists all tests to include so that the tests submodule may be fast-forwarded without having to add unknown tests to the ignore list.

+16 -65

0 comment

1 changed file

pr created time in 3 days

create barnchkhronosproject/web-wasi

branch : explicitly-list-tests

created branch time in 3 days

pull request commentdenoland/deno

test(std/wasi): re-enable clock_time_get tests

Blocking on https://github.com/denoland/deno/pull/8078 as this is based on an upstream commit after that so just to keep things nice and tidy, merge 8078 first.

caspervonb

comment created time in 3 days

PR opened denoland/deno

test(std/wasi): re-enable clock_time_get tests

This brings in revised tests for clock_time_get from upstream and re-enables them.

This revision of these tests allow for lower precision clocks (we only provide millisecond precision, and that is conformant but my previous tests for this in the upstream test suite were a bit more aggressive).

+2 -4

0 comment

2 changed files

pr created time in 3 days

create barnchcaspervonb/deno

branch : test-std-wasi-re-enable-clock-time-get-tests

created branch time in 3 days

push eventkhronosproject/wasi-test-suite

Casper Beyer

commit sha 8f49014513d9508f0495977be44ec60c6f4c8e06

Allow slower clocks in wasi::clock_time_get tests This relaxes the wasi::clock_time_get tests a bit by spinning until some time has passed up to a limit.

view details

push time in 3 days

Pull request review commentdenoland/deno

refactor(watch): create single watcher for whole process

 async fn error_handler(watch_future: WatchFuture) { }  pub async fn watch_func<F>(-  watch_paths: &[PathBuf],+  paths: &[PathBuf],   closure: F, ) -> Result<(), AnyError> where   F: Fn() -> WatchFuture, {+  let (_watcher, receiver) = new_watcher(paths)?;+  let mut debounce = Debounce::new(receiver, DEBOUNCE_TIMEOUT_MS);   loop {     let func = error_handler(closure());     let mut is_file_changed = false;     select! {-      _ = file_watcher(watch_paths) => {-          is_file_changed = true;-          info!(-            "{} File change detected! Restarting!",-            colors::intense_blue("Watcher")-          );-        },-      _ = func => { },-    };+      _ = debounce.next() => {+        is_file_changed = true;+        info!(+          "{} File change detected! Restarting!",+          colors::intense_blue("Watcher"),+        );+      },+      _ = func => {},+    }

An else sleep_for(DEBOUNCE_TIMEOUT_MS).await here should be enough to calm down the hot loop

magurotuna

comment created time in 3 days

PullRequestReviewEvent

issue closedWebAssembly/WASI

Is there a minimum required resolution for clocks?

Clocks can have up to nanosecond precision but is there a minimum required precision for a conforming implementation?

closed time in 3 days

caspervonb

issue commentWebAssembly/WASI

Is there a minimum required resolution for clocks?

the monotonic just guarantees it'll never go backwards. not going forwards is a valid implementation IIRC.

Alright, thanks for the insight!

caspervonb

comment created time in 3 days

pull request commentdenoland/deno

fix(std/wasi): disallow path_open outside of pre-opened dirfd

I'm appending this new test to the growing list of ignored windows tests for the time being until I get around to provisioning a Windows based server to fix them all.

Windows behaviour isn't any worse than it was before this commit, the new tests just more obvious that anything symlink related is probably broken.

caspervonb

comment created time in 3 days

push eventcaspervonb/deno

Casper Beyer

commit sha aa252d6d123ce8b06f54504e5cb31dfd816f3929

Comment on workdir

view details

push time in 3 days

push eventcaspervonb/deno

Casper Beyer

commit sha 61eb386af67b9bc6b0674800eca2818cca6ce06a

Comment on why its ignored

view details

Casper Beyer

commit sha 8e34a49f513846d95ef53cca70e8efa58dfa2e40

Revert debug logging

view details

push time in 3 days

push eventcaspervonb/deno

Casper Beyer

commit sha 7c434f84931cbea3dcd42d475dffd63fa8639818

Ignore wasi_path_open on windows

view details

push time in 3 days

pull request commentdenoland/deno

fix(std/wasi): disallow path_open outside of pre-opened dirfd

Think I might have stumbled upon a bug with symlinks and/or std/fs/copy. Unix works fine, but on Windows symlink_to_parent_directory (a relative symlink with ..) doesn't appear to be a symlink at all.

Don't have a windows machine to work on this with so this is very difficult to debug.

caspervonb

comment created time in 3 days

push eventcaspervonb/deno

Casper Beyer

commit sha 7bd8b78fa9d7ffd4a8808b530fbe1ea8bf19366e

Log the final path

view details

push time in 3 days

push eventcaspervonb/deno

Casper Beyer

commit sha 757814ec4f6fbcd621f6cb1cbc0688839a18e4fa

Format

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha 9248350d508e68b092462b44739b853946a354c2

Even more logging

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha e45d0c28e06d7c63fce12c51b471f2b884cc6438

Try to use a tempdir on the same drive

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha 53b38c6b760e655a3d6227a8eb2fd0083b27f923

More logging

view details

push time in 4 days

issue commentWebAssembly/WASI

Is there a minimum required resolution for clocks?

No, even a "broken clock" implementation which always returns the same time would be conforming

Hm, even for the monotonic clock? 🤔

If you need these kinds of guarantees

Primarily just a thought for wasi-test, had to relax resolution a bit to make Deno and Node pass reliably and that got me wondering if we're just doing bare minimum what POSIX does or being more specific about it.

caspervonb

comment created time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha a1d7fc68dfa545c3801876867c6a67d07592a86a

Debug prints to locate windows failure

view details

push time in 4 days

push eventkhronosproject/wasi-test

Casper Beyer

commit sha 8661a620caec10bc97ef9c6587e4b5d95361b50c

Allow slower clocks in wasi::clock_time_get tests This relaxes the wasi::clock_time_get tests a bit by spinning until some time has passed up to a limit.

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha e5529b10fc752532d7916a1e04b288fd9f44a6a5

Lint

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha b8298539b373f1b3a0c6a366f7f2875c534522e1

Bump CI

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha cec9beb937e840f4747333a630ecec07178d5e08

Remove debug log and use realPath

view details

push time in 4 days

startedsyrusakbary/wasi-logo

started time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha 1c69cfb64f93ed907b55ec82424bab6d2d9cfec5

Make it work

view details

push time in 4 days

push eventkhronosproject/wasi-test-suite

Casper Beyer

commit sha d046c81e8752cdddb9206615ba5403ce0204bf35

Follow symlink for open symlink to parent directory test This fixes up the follow symlink to parent directory test to actually follow the symlink.

view details

Casper Beyer

commit sha 324366afb925a3974c6135390c280aff9c4e0e99

Fix std::fs::read_dir test expectations The std::fs::read_dir test has the wrong expectations after a new fixture was added to the fixtures directory. This corrects that.

view details

push time in 4 days

push eventkhronosproject/wasi-test

Casper Beyer

commit sha aba7e661b4ae66564156a707098368f284c3d688

Fix std::fs::read_dir test expectations The std::fs::read_dir test has the wrong expectations after a new fixture was added to the fixtures directory. This corrects that.

view details

push time in 4 days

push eventcaspervonb/deno

Casper Beyer

commit sha 357cd6330bb15099e5337a8c493e15e3fa6bcdc3

Format

view details

push time in 4 days

more