microsoft / microsoft/demikernel

[simulator] Handle error codes on different platforms

Open
#1,477 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Rust
Stars
1.2k
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Context

The simulator currently takes error codes only as numeric values, so this breaks when we run the simulator across platforms (e.g., Windows and Linux) with different numeric values for different error codes.

Proposed Solution

We should use string values for errors and then parse and translate them for the appropriate platform.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file, test, or entry point. Start by locating the simulator's error-code handling and the platform-specific translation boundary, then trace how numeric codes are passed across platforms. Done means simulator errors use platform-independent string values and are translated correctly on Windows and Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.