Skip to content

Commit

Permalink
Merge branch 'main' into feature/enhance-vfolder-mount-command
Browse files Browse the repository at this point in the history
  • Loading branch information
rapsealk authored Mar 7, 2024
2 parents 48d8361 + bc7bafb commit 94a5e18
Show file tree
Hide file tree
Showing 126 changed files with 2,280 additions and 1,490 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alembic-head-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
check-multiple-heads:
if: ${{ contains(github.event.pull_request.labels.*.name, 'require:db-migration') }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'require:db-migration') && github.event.pull_request.merged == false }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request_target:
types: [labeled, unlabeled, opened, synchronize, reopened]

permissions:
issues: write
pull-requests: write

jobs:
auto-label:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.coverage.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.
20 changes: 10 additions & 10 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ concurrency:

jobs:
lint:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}
runs-on: arc-runner-set
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') && github.event.pull_request.merged == false }}
runs-on: ubuntu-latest
steps:
- name: Calculate the fetch depth
run: |
Expand Down Expand Up @@ -76,13 +76,13 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.lint.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.


typecheck:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}
runs-on: arc-runner-set
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') && github.event.pull_request.merged == false }}
runs-on: ubuntu-latest
steps:
- name: Calculate the fetch depth
run: |
Expand Down Expand Up @@ -139,12 +139,12 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.check.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.


test:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:ci') && github.event.pull_request.merged == false }}
runs-on: [ubuntu-latest-8-cores]
steps:
- name: Calculate the fetch depth
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.test.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.


Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.deploy.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.


Expand Down Expand Up @@ -398,7 +398,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.deploy.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.

build-sbom:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
docs-preview-links-:
if: ${{ contains(github.event.pull_request.labels.*.name, 'area:docs') }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'area:docs') && github.event.pull_request.merged == false }}
runs-on: ubuntu-latest
steps:
- name: Make a link to the doc preview build (en)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: pants.test.log
path: .pants.d/pants.log
path: .pants.d/workdir/pants.log
if: always() # We want the log even on failures.
2 changes: 1 addition & 1 deletion .github/workflows/timeline-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
pr-number-assign:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:changelog') && github.event.pull_request.number != null }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip:changelog') && github.event.pull_request.number != null && github.event.pull_request.merged == false }}
uses: ./.github/workflows/pr-number-assign.yml
secrets:
WORKFLOW_PAT: ${{ secrets.WORKFLOW_PAT }}
Expand Down
1 change: 1 addition & 0 deletions changes/1226.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a policy to predicate to limit the number and resources of concurrent pending sessions.
1 change: 1 addition & 0 deletions changes/1754.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Implement `/services/_/try` API
1 change: 1 addition & 0 deletions changes/1803.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for multi directory mkdir by fixing cli to accept multiple arguments and by adding list type annotation to accept multiple directories
1 change: 1 addition & 0 deletions changes/1890.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix malfunctioning CLI command `session create-from-template` by reorganizing `click.option` decorators
1 change: 1 addition & 0 deletions changes/1896.deprecation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove the image importer API no longer used and unused since the release of Forklift
1 change: 1 addition & 0 deletions changes/1927.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow passing HTTP status codes via the pydantic-based API response model objects
1 change: 1 addition & 0 deletions changes/1930.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix inability to download beyond 500 MB via SFTP by preventing dropbear from decreasing the trasnfer window size indefinitely, which happens with non-retrying psftp-based SFTP client implementations
1 change: 1 addition & 0 deletions changes/1932.deps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace `passlib[bcrypt]` to `bcrypt` which is better maintained
1 change: 1 addition & 0 deletions changes/1934.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix CLI `agent info` related issues by replacing `HardwareMetadata` to `dict` when class check and adding parameter to default metric value formatter.
1 change: 1 addition & 0 deletions changes/1935.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change `endpoints.model` and `endpoint_tokens.endpoint` to nullable and set `ondelete="SET NULL"`.
1 change: 1 addition & 0 deletions changes/1938.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump the manager API version to v8.20240315 with some big changes memo'ed in manager/server.py
1 change: 1 addition & 0 deletions changes/1939.deps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade pyzmq and callosum version to improve malformed packet handling in manager-to-agent RPC channels
1 change: 1 addition & 0 deletions changes/1948.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add new `user_resource_policies.max_session_count_per_model_session` column to limit number of maximum available sessions per each model service created by user
1 change: 1 addition & 0 deletions changes/1950.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use `buildDate` instead of `build` to retrieve web static version to follow lablup/backend.ai-webui#2072
1 change: 1 addition & 0 deletions changes/1952.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix `endpoint.routings` GQL field showing routing ID instead of status enum
3 changes: 2 additions & 1 deletion fixtures/manager/example-users.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
{
"name": "default",
"max_vfolder_count": 0,
"max_quota_scope_size": -1
"max_quota_scope_size": -1,
"max_session_count_per_model_session": 10
}
],
"project_resource_policies": [
Expand Down
Loading

0 comments on commit 94a5e18

Please sign in to comment.