Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ build --spawn_strategy=standalone

# Set action envs for Mayhem
build --action_env=MAYHEM_URL
build --action_env=XDG_CONFIG_HOME
build --action_env=XDG_CONFIG_HOME

# Disable Mayhem log file creation
build --repo_env=MAYHEM_LOG_NOFILE=1
27 changes: 14 additions & 13 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ common --enable_bzlmod
build --spawn_strategy=standalone
```

If you are seeing errors with Mayhem writing to log files, you should also add the following to your `.bazelrc`:

```
# Disable Mayhem log file creation
build --repo_env=MAYHEM_LOG_NOFILE=1
```

This is also recommended in general to prevent unintentional cache invalidation.

### Logging into Mayhem

To use Mayhem, you need to generate a token for your account. You can do this by logging into the Mayhem web interface and navigating to Account Settings -> API Tokens.
Expand Down
Loading