Skip to content

Commit 4217743

Browse files
committed
Merge branch 'master' into pr/giancarloromeo/8141
2 parents fb73d03 + 95dde06 commit 4217743

File tree

469 files changed

+16116
-4934
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

469 files changed

+16116
-4934
lines changed

.env-devel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ DYNAMIC_SIDECAR_PROMETHEUS_MONITORING_NETWORKS=[]
129129
DYNAMIC_SIDECAR_PROMETHEUS_SERVICE_LABELS={}
130130
DYNAMIC_SIDECAR_API_SAVE_RESTORE_STATE_TIMEOUT=01:00:00
131131
DIRECTOR_V2_TRACING={}
132+
DIRECTOR_V2_DYNAMIC_SCHEDULER_ENABLED=1
132133

133134
# DYNAMIC_SCHEDULER ----
134135
DYNAMIC_SCHEDULER_LOGLEVEL=INFO
@@ -141,6 +142,7 @@ DYNAMIC_SCHEDULER_UI_STORAGE_SECRET=adminadmin
141142
FUNCTION_SERVICES_AUTHORS='{"UN": {"name": "Unknown", "email": "[email protected]", "affiliation": "unknown"}}'
142143

143144
WEBSERVER_LICENSES={}
145+
WEBSERVER_FOGBUGZ={}
144146
LICENSES_ITIS_VIP_SYNCER_ENABLED=false
145147
LICENSES_ITIS_VIP_SYNCER_PERIODICITY=1D00:00:00
146148
LICENSES_ITIS_VIP_API_URL=https://replace-with-itis-api/{category}

.github/prompts/update-user-messages.prompt.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
mode: 'edit'
33
description: 'Update user messages'
4+
model: Claude Sonnet 3.5
45
---
56

67
This prompt guide is for updating user-facing messages in ${file} or ${selection}
@@ -43,7 +44,17 @@ When modifying user messages, follow **as close as possible** these rules:
4344
user_message("Unable to load project.", _version=1)
4445
```
4546

46-
3. **Message Style**: Follow **strictly** the guidelines in `${workspaceFolder}/docs/user-messages-guidelines.md`
47+
3. **Message Style**: Follow **STRICTLY ALL 10 GUIDELINES** in `${workspaceFolder}/docs/user-messages-guidelines.md`:
48+
- Be Clear and Concise
49+
- Provide Specific and Actionable Information
50+
- Avoid Technical Jargon
51+
- Use a Polite and Non-Blaming Tone
52+
- Avoid Negative Words and Phrases
53+
- Place Messages Appropriately
54+
- Use Inline Validation When Possible
55+
- Avoid Using All-Caps and Excessive Punctuation
56+
- **Use Humor Sparingly** - Avoid casual phrases like "Oops!", "Whoops!", or overly informal language
57+
- Offer Alternative Solutions or Support
4758

4859
4. **Preserve Context**: Ensure the modified message conveys the same meaning and context as the original.
4960

@@ -56,8 +67,10 @@ When modifying user messages, follow **as close as possible** these rules:
5667
# After
5768
user_message("Your session has expired. Please log in again.", _version=3)
5869
```
70+
5971
6. **Replace 'Study' by 'Project'**: If the message contains the word 'Study', replace it with 'Project' to align with our terminology.
6072

73+
7. **Professional Tone**: Maintain a professional, helpful tone. Avoid humor, casual expressions, or overly informal language that might not be appropriate for all users or situations.
6174

6275
## Examples
6376

@@ -91,4 +104,14 @@ return HttpErrorInfo(status.HTTP_404_NOT_FOUND, user_message("User not found.",
91104
return HttpErrorInfo(status.HTTP_404_NOT_FOUND, user_message("The requested user could not be found.", _version=2))
92105
```
93106

94-
Remember: The goal is to improve clarity and helpfulness for end-users while maintaining accurate versioning for tracking changes.
107+
### Example 4: Removing Humor (Guideline 9)
108+
109+
```python
110+
# Before
111+
user_message("Oops! Something went wrong, but we've noted it down and we'll sort it out ASAP. Thanks for your patience!")
112+
113+
# After
114+
user_message("Something went wrong on our end. We've been notified and will resolve this issue as soon as possible. Thank you for your patience.", _version=1)
115+
```
116+
117+
Remember: The goal is to improve clarity and helpfulness for end-users while maintaining accurate versioning for tracking changes. **Always check that your updated messages comply with ALL 10 guidelines, especially avoiding humor and maintaining a professional tone.**

.github/workflows/ci-testing-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ jobs:
10571057
unit-test-dynamic-sidecar:
10581058
needs: changes
10591059
if: ${{ needs.changes.outputs.dynamic-sidecar == 'true' || github.event_name == 'push' || github.event.inputs.force_all_builds == 'true' }}
1060-
timeout-minutes: 18 # if this timeout gets too small, then split the tests
1060+
timeout-minutes: 19 # if this timeout gets too small, then split the tests
10611061
name: "[unit] dynamic-sidecar"
10621062
runs-on: ${{ matrix.os }}
10631063
strategy:

ci/helpers/requirements/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ charset-normalizer==3.4.1
2020
# via requests
2121
docker==7.1.0
2222
# via -r requirements/requirements.in
23-
fastapi==0.115.12
23+
fastapi==0.116.1
2424
# via -r requirements/requirements.in
2525
frozenlist==1.4.1
2626
# via
@@ -49,7 +49,7 @@ requests==2.32.4
4949
# via docker
5050
sniffio==1.3.1
5151
# via anyio
52-
starlette==0.46.2
52+
starlette==0.47.2
5353
# via
5454
# -c requirements/../../../requirements/constraints.txt
5555
# fastapi
@@ -58,6 +58,7 @@ typing-extensions==4.14.1
5858
# fastapi
5959
# pydantic
6060
# pydantic-core
61+
# starlette
6162
# typing-inspection
6263
typing-inspection==0.4.1
6364
# via pydantic

packages/aws-library/requirements/_base.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ certifi==2025.1.31
8383
# requests
8484
charset-normalizer==3.4.1
8585
# via requests
86-
click==8.1.8
86+
click==8.2.1
8787
# via typer
8888
dnspython==2.7.0
8989
# via email-validator
@@ -356,7 +356,7 @@ referencing==0.35.1
356356
# jsonschema-specifications
357357
requests==2.32.4
358358
# via opentelemetry-exporter-otlp-proto-http
359-
rich==13.9.4
359+
rich==14.1.0
360360
# via
361361
# -r requirements/../../../packages/service-library/requirements/../../../packages/settings-library/requirements/_base.in
362362
# -r requirements/../../../packages/settings-library/requirements/_base.in
@@ -383,7 +383,7 @@ toolz==1.0.0
383383
# via -r requirements/../../../packages/service-library/requirements/_base.in
384384
tqdm==4.67.1
385385
# via -r requirements/../../../packages/service-library/requirements/_base.in
386-
typer==0.15.2
386+
typer==0.16.1
387387
# via
388388
# -r requirements/../../../packages/service-library/requirements/../../../packages/settings-library/requirements/_base.in
389389
# -r requirements/../../../packages/settings-library/requirements/_base.in

packages/aws-library/requirements/_test.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ charset-normalizer==3.4.1
5353
# via
5454
# -c requirements/_base.txt
5555
# requests
56-
click==8.1.8
56+
click==8.2.1
5757
# via
5858
# -c requirements/_base.txt
5959
# flask
@@ -70,7 +70,7 @@ docker==7.1.0
7070
# via moto
7171
faker==36.1.1
7272
# via -r requirements/_test.in
73-
fastapi==0.115.12
73+
fastapi==0.116.1
7474
# via -r requirements/_test.in
7575
flask==3.1.0
7676
# via
@@ -276,7 +276,7 @@ sniffio==1.3.1
276276
# via
277277
# -c requirements/_base.txt
278278
# anyio
279-
starlette==0.46.0
279+
starlette==0.47.2
280280
# via
281281
# -c requirements/../../../requirements/constraints.txt
282282
# fastapi
@@ -312,6 +312,7 @@ typing-extensions==4.14.1
312312
# pint
313313
# pydantic
314314
# pydantic-core
315+
# starlette
315316
# types-aioboto3
316317
# types-aiobotocore
317318
# types-boto3

packages/aws-library/requirements/_tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bump2version==1.0.1
88
# via -r requirements/../../../requirements/devenv.txt
99
cfgv==3.4.0
1010
# via pre-commit
11-
click==8.1.8
11+
click==8.2.1
1212
# via
1313
# -c requirements/_base.txt
1414
# -c requirements/_test.txt

packages/aws-library/src/aws_library/ec2/__init__.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
from ._client import SimcoreEC2API
2-
from ._errors import EC2AccessError, EC2NotConnectedError, EC2RuntimeError
2+
from ._errors import (
3+
EC2AccessError,
4+
EC2InsufficientCapacityError,
5+
EC2NotConnectedError,
6+
EC2RuntimeError,
7+
)
38
from ._models import (
49
AWS_TAG_KEY_MAX_LENGTH,
510
AWS_TAG_KEY_MIN_LENGTH,
@@ -16,22 +21,22 @@
1621
)
1722

1823
__all__: tuple[str, ...] = (
19-
"AWSTagKey",
20-
"AWSTagValue",
21-
"AWS_TAG_KEY_MIN_LENGTH",
2224
"AWS_TAG_KEY_MAX_LENGTH",
23-
"AWS_TAG_VALUE_MIN_LENGTH",
25+
"AWS_TAG_KEY_MIN_LENGTH",
2426
"AWS_TAG_VALUE_MAX_LENGTH",
27+
"AWS_TAG_VALUE_MIN_LENGTH",
28+
"AWSTagKey",
29+
"AWSTagValue",
2530
"EC2AccessError",
2631
"EC2InstanceBootSpecific",
2732
"EC2InstanceConfig",
2833
"EC2InstanceData",
2934
"EC2InstanceType",
35+
"EC2InsufficientCapacityError",
3036
"EC2NotConnectedError",
3137
"EC2RuntimeError",
3238
"EC2Tags",
3339
"Resources",
3440
"SimcoreEC2API",
3541
)
36-
3742
# nopycln: file

0 commit comments

Comments
 (0)