* Delete create-codespaces-prebuild.yml
* Remove reference to the prebuild action and link to the codespaces doc instead.
Co-authored-by: Eric Erhardt <[email protected]>
They are not used by the rest of the runtime and we only need a bare minimum of w32process and w32file in eventpipe (e.g. no file share/access logic).
Fix ep-test build and warnings, it was missing linking against libz and monoapi.
Fix host vs. target confusion in ep-rt-mono.c
Move initialization of num_main_args after setting main_args in object.c so we can use it as a cheap guard value (not totally thread-safe but good enough for our purposes).
Co-authored-by: Johan Lorensson <[email protected]>
* Update fabricbot config for Libraries area pods. Scripts moved to
dotnet/fabricbot-config repo.
* Apply the taskSource property to the generated tasks
Automatically remove the `untriaged` label when a triage action is performed. When an issue/PR is moved to another area, consider it done on the original board instead of removing it.
* Update area-owners to use area team names for the libraries area pods
* Update fabricbot for libraries pod changes; remove configs for old project boards
* Remove intra-team consultants from libraries areas
* [monoapi] Split type and function headers, add MONO_API_FUNCTION macro
The idea is that the function header can be included multiple times with different definitions of MONO_API_FUNCTION in order to make it easier to re-used the definitions for embedding the runtime in late-binding scenarios
* rename public mono/mini subdirectory to mono/jit
To match how embedders see the tree.
Update the runtime to include <mono/jit/jit.h> instead of <mono/mini/jit.h>.
No change in public API
* Add needed includes to mobile testing host templates
* add unstable API comment to the details headers, too
* use install(FILES) to copy the headers
not other stray files to the include dir
* update CODEOWNERS
* Remove duplicate definitions of mono_event_get_remove_method
This was already duplicated before the header reorganization, e.g. here https://github.com/dotnet/runtime/blob/b9a55b4f52243325359ced26e3d4b31ccacdc381/src/native/public/mono/metadata/class.h#L279-L282
Before the bot reacted to the /backport command anywhere in the comment, now it needs to be at the start of the line.
Additionally, if the check for repo collaborator fails print a link to the Microsoft team on GitHub to change visibility (most common failure case).
* Move FabricBot rules to Configuration-As-Code
* Update docs/infra/automation.md
Co-authored-by: Dan Moseley <[email protected]>
* update FabricBot dump to most recent version
Co-authored-by: Dan Moseley <[email protected]>
The codespaces prebuild action can only run in the dotnet/runtime repo and not forks. The feature needs to be enabled for each repo and will fail if it isn't enabled. In order to minimize failure notifications, add a check to the action so it only runs against dotnet/runtime.
Currently, Actions in the dotnet/runtime repository have read/write
access by default, unless their permissions have been explicitly declared.
The markdownlint workflow can be restricted from all access except the
repository contents. This limits what the 3rd party `markdownlint-cli`
npm package can do which is installed as part of the workflow.
- mark onCreateCommand.sh as executable
- add more regions so users outside of West US can take advantage of prebuilt codespaces
- use v1-stable version, as recommended by docs
- use faster machines for dev productivity
GitHub Actions started doing shallow checkouts so we often ran into the case where applying the patch would fail with an error due to the commit blobs not being available:
```
error: sha1 information is lacking or useless (eng/pipelines/common/xplat-setup.yml).
error: could not build fake ancestor
```
Fix this by always checking out the whole history. Since this makes checkout quite slow (~2mins), refactor the action so we post the "Started backporting" comment before doing the checkout so the user isn't confused why nothing happens.