Skip to content
Open
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
19 changes: 2 additions & 17 deletions .github/workflows/d2e-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,9 @@ on:
type: string
push:
branches: [develop]
paths:
- 'crates/**'
- 'ext/**'
- 'deno/**'
- 'vendor/**'
- 'Cargo.lock'
- 'Cargo.toml'
- '.github/workflows/d2e-integration.yml'
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
paths:
- 'crates/**'
- 'ext/**'
- 'deno/**'
- 'vendor/**'
- 'Cargo.lock'
- 'Cargo.toml'
- '.github/workflows/d2e-integration.yml'
merge_group:
Comment thread
p-hoffmann marked this conversation as resolved.

Comment thread
p-hoffmann marked this conversation as resolved.
env:
D2E_BRANCH: ${{ github.event.inputs.d2e_branch || 'develop' }}
Expand All @@ -42,7 +27,7 @@ env:
jobs:
build-extension:
runs-on: ubuntu-24.04
if: github.event.pull_request.draft == false
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plugin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
if: env.NPM_ARTIFACT_TYPE == 'OSS-develop'
with:
node-version: "18.x"
registry-url: "https://pkgs.dev.azure.com/data2evidence/d2e/_packaging/d2e/npm/registry/"
registry-url: "https://pkgs.dev.azure.com/data2evidence/d2e/_packaging/trex/npm/registry/"
scope: "@trex"
- name: Use Node.js - OSS Release
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@trex:registry=https://pkgs.dev.azure.com/data2evidence/d2e/_packaging/d2e/npm/registry/
@trex:registry=https://pkgs.dev.azure.com/data2evidence/d2e/_packaging/trex/npm/registry/
13 changes: 5 additions & 8 deletions crates/base/src/worker/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,13 @@ use crate::inspector_server::Inspector;
use crate::server::ServerFlags;
use crate::worker::WorkerSurfaceBuilder;

#[derive(Debug, Clone, Copy, EnumAsInner)]
#[derive(Debug, Default, Clone, Copy, EnumAsInner)]
pub enum SupervisorPolicy {
#[default]
PerWorker,
PerRequest { oneshot: bool },
}

impl Default for SupervisorPolicy {
fn default() -> Self {
Self::PerWorker
}
PerRequest {
oneshot: bool,
},
}

impl FromStr for SupervisorPolicy {
Expand Down
Loading