Граф коммитов

631 Коммитов

Автор SHA1 Сообщение Дата
wangbill 5820f5a17f
Merge branch 'dev' into gaaguiar/fix_docker_tests 2024-04-05 12:46:27 -07:00
wangbill 0913d9c3d4
(ci): Create pr_title_enforcer.yml (#1464) 2024-04-05 12:34:31 -07:00
Gavin Aguiar 04b0484741 Updated FPWC test 2024-04-04 11:02:30 -05:00
Gavin Aguiar 9a5cf7bf44 Fixed wpc test 2024-04-03 15:17:24 -05:00
Gavin Aguiar 0f877e0b73 Added pycryptodome to consumption tests 2024-04-03 14:27:17 -05:00
Gavin Aguiar 76f6484491 Installing requests 2024-04-03 14:19:52 -05:00
Gavin Aguiar dc565f7159 Installing xdist 2024-04-03 12:01:19 -05:00
Gavin Aguiar 5f890358a2 Installing pytest 2024-04-03 11:56:45 -05:00
Gavin Aguiar 1a7bd25b3d Downgrading pip 2024-04-03 11:49:58 -05:00
Gavin Aguiar 66b9086f21 Install wheel 2024-04-03 11:34:57 -05:00
Gavin Aguiar 64d5b21c73 Docker tests fixes to install dependencies 2024-04-03 11:10:42 -05:00
gavin-aguiar 30789ed5ca
Docker tests updates (#1457)
* Docker tests updates

* Fixed consumption custom image if empty

* Updated extension csproj to use .net8

* Update extensions to include System.Drawing.Common

* Update extensions to include System.Text.Json

* Added table extension

* table & eh, unit, lint

* eh test

* lint

---------

Co-authored-by: hallvictoria <victoriahall@microsoft.com>
2024-04-02 15:26:16 -05:00
Lucy Zhang 4c8fb7bab9
Add sql trigger e2e test (#1375)
* add sql trigger e2e test

* fix pylint

* update sql extension version

* add return

---------

Co-authored-by: peterstone2017 <12449837+YunchuWang@users.noreply.github.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-03-28 10:27:18 -05:00
gavin-aguiar 8ebd94ea87
Moving function indexing to init request (#1446)
* Moved indexing to init

* Updated handle init request

* Added e2e tests

* Added unit tests

* Added more unit tests

* Linter fixes

* Added consumption tests

* Minor Refactoring

* Fixed comments

* Throwing ex in load response

* Updated app setting name

* Addressed comments

* Addressed comments

* Addressed comments
2024-03-25 11:45:21 -05:00
peterstone2017 c68f88bc42
Restore latest dev (#1445)
* Moved dateutil to install_requires (#1443)

* Moved dateutil to install_requires

* Flake8 fixes

* Update Python Worker Version to 4.26.0

---------

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-03-11 12:25:42 -07:00
hallvictoria b7fbdcab3b
Update Python SDK Version to 1.19.0b3 (#1441)
* Update Python SDK Version to 1.19.0b3

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-03-06 16:39:29 -06:00
hallvictoria c7ab3e94ed
Enabled implicit output for generic bindings (#1391)
* enabled implicit output for generic bindings

* should only fail durable tests?

* special case for table

* extra test for table

* special case for logic apps

* special case for durable

* fixing failing eventhub batch test

* added output binding

* flake

* eventhub output binding

* flake

* changed param name

* add_function prio explicit return type

* added tests

* added V2 test

* remove if cond for durable client

* lint

* Revert "remove if cond for durable client"

---------

Co-authored-by: peterstone2017 <12449837+YunchuWang@users.noreply.github.com>
2024-03-06 16:01:24 -06:00
hallvictoria 2e91fa19f7
Fixed unit and docker tests (#1438)
* fixed invalid stein tests

* removed retries

* @pytest.mark.asyncio

* pytest-asyncio in setup.py

* class scope

* event loop policy

* def event_loop

* check status

* fixing filename docker tests

* fixing dispatcher tests
2024-03-05 13:52:26 -06:00
hallvictoria 7de7724abc
Refactoring typing_inspect.py (#1435)
* refactor typing_inspect

* deleted import

* updated test

* lint

---------

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-03-01 16:49:46 -06:00
hallvictoria 8f1c7b196c
Testing new SB properties (#1425)
* added extra sb properties to test

* json format datetime

* json decode all datetime props

* testing for missed properties

* fixing eg and eh tests

* fixing eg tests

* parsing datetime

* missing comma

* lint

* isoformat

* moved isoformat

* revert eg changes

* comma

* just sb

* flake

* checking properties

---------

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-02-29 21:45:12 -06:00
gavin-aguiar b97a4ad394
Test Fixes for 503 error (#1433)
* 503 tests fixes

* Flake8 fixes

* Disabling extensions for http

* Fixed docker tests

* Updated e2e test for file_name

* Changing scope for running unit tests

* Updated invalid stein testscases

* Reverting to pytest loadfile

* Updating extensions

* Closing host before cleanup

* Calling teardownclass directly from except block

* Fixed flake8 validation

* Reverting disabling extensions

* Changing the order of install extensions

* Removing the EnableWorkerIndexing flag

* Changed target framework

* Raising error if webhost fails to start

* Added Azure messaging eh and eg to extension.csproj

* Removing dockerfile

* Moving extensions template to constants.py

* Minor fixes

* Skipping installing extensions for unit tests

* Updating target framework

* Addressed comments
2024-02-29 17:21:09 -06:00
hallvictoria 3dd54afa14
Python 3.6 baggage code removal (#1419)
* removing refs to 3.6

* flake

* feedback

* removed aio_compat

* setup cfg

* venv311
2024-02-13 13:08:40 -06:00
gavin-aguiar 5f352af77f
Update Python SDK Version to 1.19.0b2 (#1430)
* Update Python SDK Version to 1.19.0b2

* Update setup.py

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-02-13 12:17:55 -06:00
Varad Meru c0a2c3c1cd
Configure Precommit hooks with black and isort (#1416)
* Precommit configured
* Updating flake8 limits and add isort to precommit
* Adding flake8 and configuration for isort
2024-01-31 16:16:14 -06:00
gavin-aguiar 535b3d9d72
Update Python SDK Version to 1.19.0b1 (#1417)
* Update Python SDK Version to 1.19.0b1

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-01-31 15:39:46 -06:00
peterstone2017 c68159158e
Enhance test Webhost logs and fix 503s (#1411)
* add sanity check for testwebhost and refactor webhost log after test

* reduce ut pipeline passing log

* format

* format

* update github action versions

* codecov

* fix ut ppl

* fix deprecated output flag

* Revert "fix deprecated output flag"

This reverts commit af046611f1.

* fix output 2

* Revert "fix output 2"

This reverts commit 5b03b6f142.

* len check

* enable host console log for ut pipeline

* suppress passed ut log

* reduce log

* reduce log for e2e ppl

* upload webhost log to artifact

* fix

* archive logs for e2e ppl

* revert format

* add lang version to log filename

* fix

* always publish archive

* revert

* upgrade eg ext version

* revert gitignore

* only publish log if failure

* feedback

* feedback

* fix

* fback

* flake
2024-01-31 16:14:32 -05:00
hallvictoria eef7628944
Flaky durable tests (#1385)
* timeout in durable tests

* lint

* close request object

* increased timeout, retries

* removed setup for durable, no constant for debug

* global var

* added method to testutils

* refactoring

* fixes for durable only

* flake issues

* http setting issue

* formatting

* reformatting

* merge miss

* removed patch env, removing env var after test

* only remove from cls dict

* super setupclass

* actually setting env var

---------

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-01-26 17:11:26 -06:00
peterstone2017 6ee4a7764e
Fix pipelines transient errors (#1409)
* Update ci_e2e_workflow.yml

* install dotnet 8 in ut ppl

* revert formatting

* add dotnet 8 to ut ppl

* fix codeql permission

* fail fast testwebhost

* format

* format

* format

* addr feedback
2024-01-26 16:25:56 -05:00
peterstone2017 41005e6557
Support Speedscope format to profiling pipeline (#1405)
* Update ci_consumption_workflow.yml

* add read_all to all pipelines

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml
2024-01-22 22:51:28 -05:00
peterstone2017 c1143e9312
Add performance profiling pipeline to perf tests (#1392)
* create py spy pipeline

* fix

* setup profiling pipeline

* update pipeline name

* fix

* fix

* Update profiling.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf_tests.Dockerfile

* Update perf_tests.Dockerfile

* Update perf_tests.Dockerfile

* Update perf_tests.Dockerfile

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf_tests.Dockerfile

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* logging

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf_tests.Dockerfile

* Update perf_tests.Dockerfile

* Update perf-testing-setup.yml

* Update SyncHttpTriggerHelloWorld.js

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* fix

* rename

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* clean up

* fix feedback

* add newline

* fix feedback

* fix feedback

* fix

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update .github/workflows/perf-testing-setup.yml

Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>

* include br name

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf_tests.Dockerfile

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

* Update perf-testing-setup.yml

---------

Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2024-01-18 09:54:36 -05:00
AzureFunctionsPython 69f7363405 Update Python Worker Version to 4.24.0 2024-01-12 19:42:20 +00:00
gavin-aguiar 98c82b92f5
Added console logging to show errors during function load & indexing (#1396)
* Added error logger

* Removed log

* fixed unit test

---------

Co-authored-by: gavin-aguiar <root@GavinPC>
Co-authored-by: hallvictoria <victoriahall@microsoft.com>
2024-01-12 13:30:11 -06:00
hallvictoria 0b21dc02b5
Configurable file name (#1323)
* configurable file name

* lint & error fix

* test fix

* fix merge lint errors

* e2e and loader test

* test linting errors

* test linting errors

* e2e file name test

* test lint checks

* testing fixes

* moved tests to new file

* fixed last test

* file name, conciseness

* additional tests

* slight test changes

* updated tests

* fixing tests

* refactored tests

* lint

* moved invalid stein tests to broken tests file

* fixed test check

* sep broken stein tests

* renamed, removed prints

* edited logs to now also show script file name

* formatting

* increase timeout

* env vars method

* printing env variables for failing tests

* cls stop env

* class methods

* setting file name explicitly

* reset script file name after test ends

* lint + misc fixes

* refactor tests

* added extra tests

* debugging logs

* global var

* added method to testutils

* validate file name + tests

* fixed tests

* copyright

---------

Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-01-11 12:58:46 -06:00
gavin-aguiar 16c109a74f
Update Python SDK Version to 1.18.0 (#1394)
* Update Python SDK Version to 1.18.0

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-01-11 11:45:38 -06:00
hallvictoria 9ae1d6261c
App Settings Logs formatting fixes (#1387)
* added space and delimiter for parsing

* updated test

* flake issues
2024-01-11 10:36:11 -06:00
hallvictoria 0337cb7ba9
Add timestamp in the received invocation logs (#1378)
* adding timestamp to invocation req logs

* fixing / adding tests

* fixing tests for 3.7

* consolidate tests
2023-12-11 17:01:34 -06:00
gavin-aguiar f269c09764
Revert "Enabling implicit output for generic bindings (#1348)" (#1376)
This reverts commit a981fcf788.

Co-authored-by: root <root@GavinPC>
2023-12-01 18:04:21 -06:00
Shreya Batra a6f40f10e6
Update survey.yml (#1371) 2023-11-22 11:32:49 -06:00
Shreya Batra efbd92c512
Fixed additional syntax for GitHub Discussions survey (#1370) 2023-11-22 11:23:24 -06:00
Shreya Batra 9df8932343
Add descriptors to survey in GitHub Discussions (#1369)
* Revert "syntax changes (#1368)"

This reverts commit c5b6ef035e.

* added description
2023-11-22 11:07:39 -06:00
Shreya Batra c5b6ef035e
syntax changes (#1368) 2023-11-22 10:53:45 -06:00
Shreya Batra efb54dc28c
syntax changes (#1367) 2023-11-22 10:51:02 -06:00
Shreya Batra f7dd9ca7ee
survey edit per GH issue determining different syntax (#1366) 2023-11-22 10:41:55 -06:00
Shreya Batra 1a886707d1
yaml instead of markdown (#1363) 2023-11-22 09:48:35 -06:00
Shreya Batra c741ed6cd2
Added survey markdown file to repo (#1362)
* survey

* fix

* typo
2023-11-21 13:36:12 -06:00
AzureFunctionsPython 31c6115c2d Update Python Worker Version to 4.22.0 2023-11-14 21:39:38 +00:00
Varad Meru a981fcf788
Enabling implicit output for generic bindings (#1348)
* Enabling implicit output for generic bindings

* Fixing comments

---------

Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2023-11-14 15:34:53 -06:00
hallvictoria 56f5caf097
python specific app setting logs added (#1353)
* python specific app setting logs added

* lint

* refactor

* codeowner

* manual convert dict to string

* moved to utils, more efficient

* added to old tests, created new

* addressing comments

* fixing tests, efficiency

* python worker ext

* removed comma

* FLAKE

---------

Co-authored-by: Varad Meru <vrdmr@users.noreply.github.com>
2023-11-14 15:32:30 -06:00
gavin-aguiar d4200f8669
Update Python SDK Version to 1.18.0b4 (#1356)
* Update Python SDK Version to 1.18.0b4

* Update setup.py

---------

Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2023-11-14 13:11:48 -06:00
Varad Meru 7a4635cf9b
Adding missing inits to correct binding load (#1354) 2023-11-14 00:26:17 -06:00