Error in Sample/Cosmo Driver

Actual Behavior
I'm using the direct sample from here (https://github.com/dapr/python-sdk/blob/master/examples/state_store/state_store.py) for connecting the Python SDK to CosmosDB in Azure.
However, when I do so, I get this:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "ERR_STATE_SAVE: BadRequest, Message: {"Errors":["The request payload is invalid. Ensure to provide a valid request payload."]}
ActivityId: e1e37248-e1df-4e7a-90b8-5e582feb6ece, Request URI: /apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, RequestStats:
RequestStartTime: 2020-10-11T22:04:31.6118857Z, RequestEndTime: 2020-10-11T22:04:31.6118857Z,  Number of regions attempted:1
ResponseTime: 2020-10-11T22:04:31.6118857Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-eastus2-fd33.documents.azure.com:14107/apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, LSN: 13, GlobalCommittedLsn: 13, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 0, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 13, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Upsert
, SDK: Microsoft.Azure.Documents.Common/2.11.0"
        debug_error_string = "{"created":"@1602453871.615790094","description":"Error received from peer ipv6:[::1]:21000","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"ERR_STATE_SAVE: BadRequest, Message: {"Errors":["The request payload is invalid. Ensure to provide a valid request payload."]}\r\nActivityId: e1e37248-e1df-4e7a-90b8-5e582feb6ece, Request URI: /apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, RequestStats: \r\nRequestStartTime: 2020-10-11T22:04:31.6118857Z, RequestEndTime: 2020-10-11T22:04:31.6118857Z,  Number of regions attempted:1\r\nResponseTime: 2020-10-11T22:04:31.6118857Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-eastus2-fd33.documents.azure.com:14107/apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, LSN: 13, GlobalCommittedLsn: 13, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 0, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 13, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Upsert\r\n, SDK: Microsoft.Azure.Documents.Common/2.11.0","grpc_status":2}"
>

Expected Behavior
The code is very straightforward - and works correctly when accessing via CURL on http:
with DaprClient(address="localhost:21000") as d:
    storeName = 'cosmosStateStore'

    key = "key_1"
    value = "value_1"

    # Save single state.
    d.save_state(store_name=storeName, key=key, value=value)

Here's the CURL which works fine:
curl -X POST http://localhost:4500/v1.0/state/cosmosStateStore \  -H "Content-Type: application/json" \
  -d '[
        {
          "key": "nihilus",
          "value": "darth"
        }
      ]'

Just to be clear, was the error happening from the below code too?
with DaprClient(address="localhost:21000") as d:
    storeName = 'cosmosStateStore'

    key = "key_1"
    value = "value_1"

    # Save single state.
    d.save_state(store_name=storeName, key=key, value=value)

Yes - that's all that was necessary to repro

Doing some backlog pruning, it looks like this issue no longer exists in the latest python-sdk/dapr runtime:
 state_store % cat state_store.py

"""
dapr run python3 state_store.py
"""

import grpc

from dapr.clients import DaprClient

from dapr.clients.grpc._request import TransactionalStateOperation, TransactionOperationType
from dapr.clients.grpc._state import StateItem

with DaprClient() as d:
    storeName = 'statestore'

    key = "key_1"
    value = "value_1"

    # Save single state.
    d.save_state(store_name=storeName, key=key, value=value)

    print(d.get_state(store_name=storeName, key=key).data)

 state_store % mm.py README.md
Running shell 'bash -c' with command: `dapr run -- python3 state_store.py`
Step: Run state store example
        command: `dapr run -- python3 state_store.py`
        return_code: 0
        Expected stdout (output_match_mode: exact):
                == APP == State store has successfully saved value_1 with key_1 as key
                == APP == Cannot save due to bad etag. ErrorCode=StatusCode.ABORTED
                == APP == State store has successfully saved value_2 with key_2 as key
                == APP == State store has successfully saved value_3 with key_3 as key
                == APP == Cannot save bulk due to bad etags. ErrorCode=StatusCode.ABORTED
                == APP == Got value=b'value_1' eTag=1
                == APP == Got items with etags: [(b'value_1_updated', '2'), (b'value_2', '2')]
                == APP == Got value after delete: b''
        Actual stdout:
                ℹ  Starting Dapr with id Bearpepper-Lady. HTTP Port: 55863. gRPC Port: 55864
                ℹ  Checking if Dapr sidecar is listening on HTTP port 55863
                time="2021-05-27T08:25:55.743887-07:00" level=info msg="starting Dapr Runtime -- version 1.2.0 -- commit 8e960e2" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.743982-07:00" level=info msg="log level set to: info" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.744771-07:00" level=info msg="metrics server started on :55865/" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.metrics type=log ver=1.2.0
                time="2021-05-27T08:25:55.746494-07:00" level=info msg="standalone mode configured" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.746512-07:00" level=info msg="app id: Bearpepper-Lady" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.746719-07:00" level=info msg="mTLS is disabled. Skipping certificate request and tls validation" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.74727-07:00" level=info msg="local service entry announced: Bearpepper-Lady -> <IP_ADDRESS>:55869" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.contrib type=log ver=1.2.0
                time="2021-05-27T08:25:55.747326-07:00" level=info msg="Initialized name resolution to mdns" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.756193-07:00" level=info msg="component loaded. name: pubsub, type: pubsub.redis/v1" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:55.75626-07:00" level=info msg="waiting for all outstanding components to be processed" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.5117-07:00" level=info msg="component loaded. name: statestore, type: state.azure.cosmosdb/v1" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.511777-07:00" level=info msg="all outstanding components processed" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.512007-07:00" level=info msg="enabled gRPC tracing middleware" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.grpc.api type=log ver=1.2.0
                time="2021-05-27T08:25:56.512065-07:00" level=info msg="enabled gRPC metrics middleware" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.grpc.api type=log ver=1.2.0
                time="2021-05-27T08:25:56.512209-07:00" level=info msg="API gRPC server is running on port 55864" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.513404-07:00" level=info msg="enabled metrics http middleware" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.http type=log ver=1.2.0
                time="2021-05-27T08:25:56.513437-07:00" level=info msg="enabled tracing http middleware" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.http type=log ver=1.2.0
                time="2021-05-27T08:25:56.513463-07:00" level=info msg="http server is running on port 55863" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.513477-07:00" level=info msg="The request body size parameter is: 4" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.513572-07:00" level=info msg="enabled gRPC tracing middleware" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.grpc.internal type=log ver=1.2.0
                time="2021-05-27T08:25:56.513596-07:00" level=info msg="enabled gRPC metrics middleware" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.grpc.internal type=log ver=1.2.0
                time="2021-05-27T08:25:56.513633-07:00" level=info msg="internal gRPC server is running on port 55869" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.513848-07:00" level=info msg="actor runtime started. actor idle timeout: 1h0m0s. actor scan interval: 30s" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.actor type=log ver=1.2.0
                time="2021-05-27T08:25:56.514338-07:00" level=warning msg="failed to read from bindings: app channel not initialized " app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.514384-07:00" level=info msg="dapr initialized. Status: Running. Init Elapsed<PHONE_NUMBER>999999ms" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime type=log ver=1.2.0
                time="2021-05-27T08:25:56.655873-07:00" level=info msg="placement tables updated, version: 0" app_id=Bearpepper-Lady instance=DESKTOP-RC7MHU2.corp.microsoft.com scope=dapr.runtime.actor.internal.placement type=log ver=1.2.0
                ℹ  Checking if Dapr sidecar is listening on GRPC port 55864
                ℹ  Dapr sidecar is up and running.
                ℹ  Updating metadata for app command: python3 state_store.py
                ✅  You're up and running! Both Dapr and your app logs will appear here.

                == APP == b'value_1'
                ✅  Exited App successfully
                ℹ
                terminated signal received: shutting down
                ✅  Exited Dapr successfully


.NET SDK is not strong named.

We have a library of .NET Framework 4.7.2 assemblies that require referenced assemblies be strong named, thus including the NuGet package Keeper.SecretsManager Version 16.4.0 results in the following error:
System.IO.FileLoadException: 'Could not load file or assembly 'SecretsManager, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required.
Based on this Microsoft documentation from Sept 2021, it recommends You should strong name your open-source .NET libraries. Strong naming an assembly ensures the most people can use it, and strict assembly loading only affects .NET Framework..
https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming
Please consider strong naming your .NET SDK assemblies.

I have signed the file in my build process but also would like to get a strong named file from Nuget package without manual steps

@maksimu yes, due to third party dependencies, we will be on this .NET Framework 4.7.2 infrastructure for the foreseeable future, so the inclusion of this will make our interaction with the Keeper library a much easier experience. Also note, this is the only NuGet package we've encountered that isn't strongly named.

One library is enough - as it is possible to reference signed assemblies from unsigned projects - the change will not affect anyone who used it in that way. But for all who are working with signed libraries it will be more comfortable - I have to use ildasm and ilasm in my build process to sign the assembly before referencing. That step would not be needed after you sign the assembly in NuGet package - thanks


refactor: resolver module description fixes and added UDTs

Description
In this pull request the following changes can be found:

Updated descriptions to refer to the correct resource Private DNS Resolver to DNS Private Resolver
Added user-defined types for inbound and outbound endpoints

Updating an existing module

[ ] This is a bug fix:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] I have run brm validate locally to verify the module files.
[x] I have run deployment tests locally to ensure the module is deployable.
[x] I have read the Updating an existing module section in the contributing guide and updated the version.json file properly:

[ ] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json.
[x] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] The PR contains breaking changes, and I have bumped the MAJOR version in version.json.

[x] I have updated the examples in README with the latest module version number.

Green pipeline/action:

I will run the GitHub action to test the changes later!

Awesome, thanks @johnlokerse. @ChrisSidebotham, given that you're the owner, please also take a look ;)

ping @ChrisSidebotham

@ChrisSidebotham Let me know if you there is something I can do 😃


[Bug]: Unresponsive ReACT agent that can't resolve

Bug Description
This is the code am using,
class EnhancedChatEngine:
    """Enhanced chat agent with specialized query engines"""

    def __init__(
        self,
        vector_store_manager: "VectorStoreManager",
        org_id: UUID,
        session_id: str,
        llm: Optional[Any],
        memory_buffer: Optional[ChatMemoryBuffer] = None,
    ):
        """Initialize the props"""
        self.vector_store_manager = vector_store_manager
        self.token_counter = TokenCountingHandler(
            tokenizer=None  # Will use default GPT tokenizer
        )
        callback_manager = CallbackManager([self.token_counter])

        self.org_id = org_id
        self.llm = llm
        self.memory_buffer = memory_buffer
        self.query_engines: Dict[str, RetrieverQueryEngine] = {}
        self.context_index = None
        self.agent = None
        self.llm = llm or Groq(
            model="llama3-70b-8192",
            api_key=settings.GROQ_API_KEY,
            temperature=0.4,
            callback_manager=callback_manager,
        )
        self.openai = OpenAI(api_key=settings.OPENAI_API_KEY, model="gpt-3.5-turbo")

        Settings.callback_manager = callback_manager

        chat_store = UpstashChatStore(
            redis_url=settings.UPSTASH_URL,
            redis_token=settings.UPSTASH_TOKEN,
            ttl=300,  # Optional: Time to live in seconds
        )
        self.memory_buffer = memory_buffer or ChatMemoryBuffer.from_defaults(
            token_limit=4000,
            llm=self.llm,
            chat_store=chat_store,
            chat_store_key=session_id,
        )

    async def initialize(self):
        """Initialize the agent with specialized query engines and context"""
        try:
            Settings.llm = self.llm
            Settings.embed_model = OpenAIEmbedding(
                model="text-embedding-ada-002",
                api_key=settings.OPENAI_API_KEY,
                embed_batch_size=100,
            )
            # Get vector store and create base index
            vector_store = await self.vector_store_manager.get_org_vector_store(
                self.org_id
            )
            base_index = VectorStoreIndex.from_vector_store(vector_store=vector_store)

            # Create specialized query engines with different strategies
            self.query_engines = {
                # VARA Regulations Engine - use TREE_SUMMARIZE for complex regulatory info
                "vara_regulations": base_index.as_query_engine(
                    similarity_top_k=8,
                    # Good for hierarchical regulatory info
                    response_mode=ResponseMode.TREE_SUMMARIZE,
                    node_postprocessors=[
                        SimilarityPostprocessor(similarity_cutoff=0.4),
                        KeywordNodePostprocessor(
                            required_keywords=[
                                "VARA",
                                "regulation",
                                "license",
                                "compliance",
                                "requirement",
                            ],
                            exclude_keywords=["technical", "protocol"],
                            match_threshold=0.2,
                        ),
                        MetadataReplacementPostProcessor(
                            target_metadata_key="document_id"
                        ),
                    ],
                    streaming=True,
                ),
                # Blockchain Tech Engine - use COMPACT for technical details
                "blockchain_tech": base_index.as_query_engine(
                    similarity_top_k=5,
                    response_mode=ResponseMode.COMPACT,  # Efficient for technical info
                    node_postprocessors=[
                        SimilarityPostprocessor(similarity_cutoff=0.5),
                        KeywordNodePostprocessor(
                            required_keywords=[
                                "blockchain",
                                "technical",
                                "protocol",
                                "implementation",
                                "system",
                            ],
                            exclude_keywords=["VARA", "regulation"],
                            match_threshold=0.3,
                        ),
                    ],
                    streaming=True,
                ),
                # Compliance Engine - use COMPACT_ACCUMULATE for comprehensive compliance info
                "compliance": base_index.as_query_engine(
                    similarity_top_k=3,
                    # Better for detailed compliance info
                    response_mode=ResponseMode.COMPACT_ACCUMULATE,
                    node_postprocessors=[
                        SimilarityPostprocessor(similarity_cutoff=0.6),
                        KeywordNodePostprocessor(
                            required_keywords=[
                                "compliance",
                                "audit",
                                "report",
                                "requirement",
                                "guideline",
                            ],
                            match_threshold=0.4,
                        ),
                        MetadataReplacementPostProcessor(
                            target_metadata_key="document_id"
                        ),
                    ],
                    streaming=True,
                ),
                # General Knowledge Engine - use REFINE for broad queries
                "general": base_index.as_query_engine(
                    similarity_top_k=10,
                    response_mode=ResponseMode.REFINE,  # Better for general knowledge synthesis
                    node_postprocessors=[
                        SimilarityPostprocessor(similarity_cutoff=0.3),
                    ],
                    streaming=True,
                ),
            }

            # Create query engine tools with detailed descriptions
            query_engine_tools = [
                QueryEngineTool(
                    query_engine=self.query_engines["vara_regulations"],
                    metadata=ToolMetadata(
                        name="vara_regulations",
                        description=(
                            "Specialized tool for VARA regulatory information. Best for: "
                            "- Specific VARA rules and guidelines "
                            "- Licensing requirements "
                            "- Regulatory compliance questions "
                            "- Updates to VARA regulations"
                        ),
                    ),
                ),
                QueryEngineTool(
                    query_engine=self.query_engines["blockchain_tech"],
                    metadata=ToolMetadata(
                        name="blockchain_tech",
                        description=(
                            "Technical blockchain information tool. Best for: "
                            "- Technical implementation details "
                            "- Protocol specifications "
                            "- System architecture questions "
                            "- Technical compliance requirements"
                        ),
                    ),
                ),
                QueryEngineTool(
                    query_engine=self.query_engines["compliance"],
                    metadata=ToolMetadata(
                        name="compliance",
                        description=(
                            "Compliance requirements tool. Best for: "
                            "- Audit requirements "
                            "- Reporting guidelines "
                            "- Compliance deadlines "
                            "- Process requirements"
                        ),
                    ),
                ),
            ]

            general_tool = QueryEngineTool(
                query_engine=self.query_engines["general"],
                metadata=ToolMetadata(
                    name="general_knowledge",
                    description=(
                        "General knowledge base. Best for: "
                        "- Broad overview questions "
                        "- Multiple topic queries "
                        "- General information needs"
                    ),
                ),
            )

            # Add Tavily tool for external context
            tavily_tool = FunctionTool.from_defaults(
                fn=lambda query: TavilyToolSpec(
                    api_key=settings.TAVILY_SEARCH_API_KEY
                ).search(query),
                name="tavily_search",
                description=(
                    "Search tool for finding current and external information"
                    " about blockchain and crypto regulations. Expects a query string."
                ),
            )

            # Create query plan tool with response synthesizer
            response_synthesizer = get_response_synthesizer(
                response_mode="tree_summarize"
            )

            query_plan_tool = QueryPlanTool.from_defaults(
                query_engine_tools=query_engine_tools,
                response_synthesizer=response_synthesizer,
                name="query_plan",
                description_prefix=(
                    "ONLY use for complex blockchain/VARA regulation queries."
                    "DO NOT use for greetings or basic questions."
                ),
            )

            # Create ReAct agent with all tools
            agent = ReActAgent.from_tools(
                tools=[query_plan_tool, tavily_tool, general_tool],
                llm=self.llm,
                verbose=True,
                memory=self.memory_buffer,
                system_prompt=self._default_system_prompt,
                max_iterations=3,
            )
            self.agent = agent

        except Exception as e:
            logger.error(f"Failed to initialize agent: {str(e)}")
            raise

    async def chat(self, message: str) -> ChatResponse:
        """Process chat message using the agent"""
        try:
            # Check if agent is initialized
            if self.agent is None:
                await self.initialize()
                if self.agent is None:  # Double check after initialization
                    raise ValueError("Failed to initialize chat agent")

            # Reset token counter
            self.token_counter.reset_counts()
            source_nodes = []
            response_text = ""
            used_tool = ""

            # Get agent response
            response = self.agent.chat(message)
            response_text = str(response)

            # Extract sources from agent's response if available
            if hasattr(response, "source_nodes"):
                source_nodes.extend(
                    [
                        NodeInfo(
                            text=node.text,  # Access directly from node
                            score=node.score if hasattr(node, "score") else 1.0,
                            document_id=(
                                node.node.ref_doc_id
                                if hasattr(node.node, "ref_doc_id")
                                else "unknown"
                            ),
                            title="Agent",
                            chunk_id=(
                                node.node.id_
                                if hasattr(node.node, "id_")
                                else str(uuid4())
                            ),
                        )
                        for node in response.source_nodes
                    ]
                )
                used_tool = "agent"

            print(f"response is here {response_text}")

            # Handle empty or unclear responses
            if not response_text.strip():
                # Try with general knowledge engine as fallback
                general_response = await self.query_engines["general"].aquery(message)

                # Add sources from general engine
                if hasattr(general_response, "source_nodes"):
                    source_nodes = [
                        NodeInfo(
                            text=node.text,  # Access directly from node
                            score=node.score if hasattr(node, "score") else 1.0,
                            document_id=(
                                node.node.ref_doc_id
                                if hasattr(node.node, "ref_doc_id")
                                else "unknown"
                            ),
                            title="Agent",
                            chunk_id=(
                                node.node.id_
                                if hasattr(node.node, "id_")
                                else str(uuid4())
                            ),
                        )
                        for node in general_response.source_nodes
                    ]
                    used_tool = "general_engine"

                if not str(general_response).strip():
                    # If still empty, use Tavily search
                    tavily_response = await self.agent.tools[1].acall(message)

                    if tavily_response:
                        response_text = (
                            f"Based on current information: {tavily_response}"
                        )
                        # Add Tavily result as a source
                        source_nodes.append(
                            NodeInfo(
                                text=str(tavily_response),
                                score=1.0,
                                document_id="tavily_search",
                                title="Web Search Result",
                                chunk_id=f"tavily_{str(uuid4())[:8]}",
                            )
                        )
                        used_tool = "tavily"
                    else:
                        response_text = (
                            f"I understand you're asking about {message}. "
                            "To provide a more accurate response, could you please:\n"
                            "- Provide more specific details about your query\n"
                            "- Specify which aspect of blockchain or VARA regulations you're"
                            "  interested in\n"
                            "- Let me know if you're looking for technical or "
                            "compliance information"
                        )
                        used_tool = "clarification"

            # Create response object
            metadata = {
                "token_usage": {
                    "prompt_tokens": self.token_counter.prompt_llm_token_count,
                    "completion_tokens": self.token_counter.completion_llm_token_count,
                    "total_tokens": self.token_counter.total_llm_token_count,
                },
                "used_tool": used_tool,
                "source_count": len(source_nodes),
                "chat_history_length": (
                    len(self.memory_buffer.get_all()) if self.memory_buffer else 0
                ),
            }

            # Log retrieval metrics
            logger.info(
                "Chat completion metrics",
                extra={
                    "message": message,
                    "source_count": len(source_nodes),
                    "used_tool": used_tool,
                    "token_usage": metadata["token_usage"],
                    "has_response": bool(response_text.strip()),
                },
            )

            return ChatResponse(
                response=response_text,
                response_id=str(uuid4()),
                source_nodes=source_nodes,  # You might want to add source tracking
                metadata=metadata,
            )

        except Exception as e:
            import traceback

            stack_trace = traceback.format_exc()
            logger.error(
                f"Error in chat processing: {str(e)}\n" f"Stack trace:\n{stack_trace}"
            )
            raise RuntimeError(f"Error during chat: {str(e)}")

    def _default_system_prompt(self) -> str:
        return """
            You are an Bot with knowledge in blockchain

            IMPORTANT INSTRUCTIONS:
            1. For greetings (like "hi", "hello"):
            - Respond directly with a simple greeting
            - DO NOT use any tools
            - DO NOT try to proactively provide VARA information

            2. For basic questions:
            - Respond naturally and briefly
            - Only use tools if specifically asked about blockchain or VARA

            3. Only use tools when:
            - User explicitly asks about VARA regulations
            - User asks about blockchain compliance
            - User needs specific technical information

            Example responses:
            - "Hi" → "Hello! How can I help you?"
            - "Hello" → "Hi there! Feel free to ask me about blockchain or VARA regulations."
        """

I have been trying for days to get this fixed. But for some reason, it always ends up with an exceeded rate limit, even for simple greetings like Hi, it goes through an endless loop of Thought and Observation with no resolve
Any help is welcome
Version
0.12.0
Steps to Reproduce
Run the code, make a request using the terminal
Relevant Logs/Tracbacks
2024-12-20T12:47:24.856+03:00
File "/opt/venv/lib/python3.12/site-packages/openai/_base_client.py", line 1092, in _retry_request
Link

2024-12-20T12:47:24.856+03:00
return self._request(
Link

2024-12-20T12:47:24.856+03:00
^^^^^^^^^^^^^^
Link

2024-12-20T12:47:24.856+03:00
File "/opt/venv/lib/python3.12/site-packages/openai/_base_client.py", line 1043, in _request
Link

2024-12-20T12:47:24.856+03:00
return self._retry_request(
Link

2024-12-20T12:47:24.856+03:00
^^^^^^^^^^^^^^^^^^^^
Link

2024-12-20T12:47:24.856+03:00
File "/opt/venv/lib/python3.12/site-packages/openai/_base_client.py", line 1092, in _retry_request
Link

2024-12-20T12:47:24.856+03:00
return self._request(
Link

2024-12-20T12:47:24.856+03:00
^^^^^^^^^^^^^^
Link

2024-12-20T12:47:24.856+03:00
File "/opt/venv/lib/python3.12/site-packages/openai/_base_client.py", line 1058, in _request
Link

2024-12-20T12:47:24.856+03:00
raise self._make_status_error_from_response(err.response) from None
Link

2024-12-20T12:47:24.856+03:00
openai.RateLimitError: Error code: 429 - {'error': {'message': 'Rate limit reached for model `llama3-70b-8192` in organization `org_01j9rchczxfxmr4sr5ckc7s9qh` on tokens per minute (TPM): Limit 6000, Used 5420, Requested 1351. Please try again in 7.709s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}
Link

2024-12-20T12:47:24.856+03:00
2024-12-20 09:47:24,856 - src.api.routes.chat - ERROR - RuntimeError: Error during chat: Error code: 429 - {'error': {'message': 'Rate limit reached for model `llama3-70b-8192` in organization `org_01j9rchczxfxmr4sr5ckc7s9qh` on tokens per minute (TPM): Limit 6000, Used 5420, Requested 1351. Please try again in 7.709s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}
Link
2024-12-20 09:47:24,856 - src.api.routes.chat - ERROR - RuntimeError: Error during chat: Error code: 429 - {'error': {'message': 'Rate limit reached for model `llama3-70b-8192` in organization `org_01j9rchczxfxmr4sr5ckc7s9qh` on tokens per minute (TPM): Limit 6000, Used 5420, Requested 1351. Please try again in 7.709s. Visit https://console.groq.com/docs/rate-limits for more information.', 'type': 'tokens', 'code': 'rate_limit_exceeded'}}

2024-12-20T12:47:24.856+03:00
details {'development': {'host': 'localhost', 'port': 6333}, 'production': {'url': 'https://3fcc61a9-dfed-4ceb-832c-257a59ae4b8d.us-east4-0.gcp.cloud.qdrant.io:6333', 'api_key': 'nYGEi9udxDcO_0jjsnnlXXEGt-NHbQJwAoHXEVGxaddu0tYED9Zg-w'}} and production and {'url': 'https://3fcc61a9-dfed-4ceb-832c-257a59ae4b8d.us-east4-0.gcp.cloud.qdrant.io:6333', 'api_key': 'nYGEi9udxDcO_0jjsnnlXXEGt-NHbQJwAoHXEVGxaddu0tYED9Zg-w'}
Link

2024-12-20T12:47:24.856+03:00
> Running step 085986b1-f870-491a-b22d-06be71a2c1e3. Step input: Hi
Link

2024-12-20T12:47:24.856+03:00
Thought: The current language of the user is: English. I need to use a tool to help me answer the question.
Link

2024-12-20T12:47:24.856+03:00
Action: general_knowledge
Link

2024-12-20T12:47:24.856+03:00
Action Input: {'input': 'Hi'}
Link

2024-12-20T12:47:24.856+03:00
Observation: Hello!
Link

2024-12-20T12:47:24.856+03:00
> Running step 1719698a-8820-4618-84d9-d075695550ad. Step input: None
Link
> Running step 1719698a-8820-4618-84d9-d075695550ad. Step input: None

2024-12-20T12:47:24.856+03:00
Thought: The user seems to be initiating a conversation, but I'm not sure what they want to talk about. I need to ask for clarification.
Link
Thought: The user seems to be initiating a conversation, but I'm not sure what they want to talk about. I need to ask for clarification.

@dosu I applied all the recommendations but still got the error

I was actually able to resolve this by defining the prompt


Docs still reference “kubestellar-scheduler” instead of new name “where-resolve”

Describe the bug
QuickStart refers to KubeStellar-scheduler. Needs to be updated throughout all docs to reference “where-resolver”
Steps To Reproduce
Go to any document in our document site
Look for kubestellar-scheduler
Expected Behavior
Replace KubeStellar-scheduler with where-resolver
Additional Context
No response

Which documents?  I looked in the latest in main and do not see such a reference.  I also looked at https://docs.kubestellar.io/release-0.4/Getting-Started/quickstart/ and do not see such a reference.  I suspect that Stefan Gajic was looking at the release-0.3 version of the QuickStart but somehow running something more recent.

Stefan Gajic reports that he was looking at the release-0.2 version of the quickstart, and when he looks at the latest he does not have a problem.

Maybe we should change the overall arch diagram.

Or, we can change it together with our recent name changes to 'space's, etc.


Chart drilldown filter on associated record view does not persist

In the Unified Interface, in firefox, clicking on a chart area correctly filters the associated list but when you click on anything else the filter resets and the original view with all records is displayed.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ed812634-01a3-cecc-8acb-13748b2162cc
Version Independent ID: fcd1574a-7287-feee-1ca9-611a996338d7
Content: Dynamics 365 for Customer Engagement Readme (Known Issues)
Content Source: ce/admin/readme-9.md
Service: crm-online
GitHub Login: @ReneeW-CPub
Microsoft Alias: renwe

Thanks for the feedback. Please contact Microsoft Technical Support.


Refactor: complete solve all cdns bug

Related Issue

Mention issue for which this pull request is a part of (please mention issue number #657)

Proposed Changes

Change 1 : all cdns bug has been resolved
Chnage 2 : variable and image has been resolved

Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the documentation.
[ ] 🎀 I have updated the documentation accordingly.
[x] 🌟 ed the repo

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

link to the issue : https://github.com/agamjotsingh18/codesetgo/issues/657

Output Screenshots
| Screenshot #1|
| page index |

@agamjotsingh18 Please review my Pr I solved all CDNS bug


Differentiate interface to bind to and publicly accessible web address

This is useful, for example, with nginx proxy_pass.

Complete with 61691599fdc6ee5a0ff390671c766db84968d102. The host for the web is based on what the client sends as their "Host" header. You can specify a path to be appending with the --url / -w flag or the WBC_URL environment variable.


Add test to check max-keys not enforced for list-objects-v2

Fixes #280
This test will probably fail until https://github.com/minio/minio/pull/6162 is merged.

Merging this as minio/minio#6162 is already in


Invalid argument in main.py

Failure Information (for bugs)
Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.
Steps to Reproduce
Created a sample prompt:
We are creating an API that allows you to generate random ids of different types via GET request. It should support: uuid, objectid, numeric ids, random string ids, WEP keys. You sould be able to generate a signle id, or a batch of up to 1000 ids.

Proceeded with execution:
gpt-engineer test

Failure Logs
D:\anaconda3\lib\pathlib.py:1120 in _opener                                                      │
│                                                                                │
│   1117 │                                                                                │
│   1118 │   def _opener(self, name, flags, mode=0o666):                                           │
│   1119 │   │   # A stub for the opener argument to built-in open()                               │
│ ❱ 1120 │   │   return self._accessor.open(self, flags, mode)                                     │
│   1121 │                                                                                │
│   1122 │   def _raw_open(self, flags, mode=0o777):                                               │
│   1123 │   │   """                                                                               │
│                                                                                │
│ ╭──────────────────────── locals ────────────────────────╮                                       │
│ │ flags = 33665                                          │                                       │
│ │  mode = 438                                            │                                       │
│ │  name = 'D:\\AI\\test\\workspace\\`main.py`:'          │                                       │
│ │  self = WindowsPath('D:/AI/test/workspace/`main.py`:') │                                       │
│ ╰────────────────────────────────────────────────────────╯                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
OSError: [Errno 22] Invalid argument: 'D:\\AI\\test\\workspace\\`main.py`:'

(base) D:\AI>

I've been getting the same issue. I'll let you know if I find a way to fix it.

Hey @yanisywd . Thanks for your feedback. It looks like it doesn't like my Windows environment. Switched to WSL and it worked. BTW, no invalid paths that I can spot (i.e, no spaces in directories created, invalid chars...).  Anyway, works in Linux.

I've been getting the same issue. I'll let you know if I find a way to fix it.

Thanks @TheOnlyEmily . I switched to WSL and it worked. For some reason, complains a lot when in Windows.

hey @akamalov
I'm glad to hear that switching to WSL worked for you! It's not uncommon for some development environments to behave differently depending on the underlying OS, and WSL is a great solution to maintain Linux compatibility while working on Windows.
If you encounter any more issues, or have any other feedback or suggestions, please don't hesitate to let us know. We're always here to help!

Housekeeping: Closing stale issues.


[iOS] Error (Xcode): Cycle inside Runner; building could produce unreliable results.

I have followed instructions in the README to setup the config for this library in my flutter app. When I do flutter run or build in Xcode, I get the following error.
Could not build the precompiled application for the device.
Error (Xcode): Cycle inside Runner; building could produce unreliable results.
Cycle details:
→ Target 'Runner': ExtractAppIntentsMetadata
○ Target 'Runner' has copy command from '/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Share Extension.appex' to
'/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/PlugIns/Share Extension.appex'
○ That command depends on command in Target 'Runner': script phase “Thin Binary”
○ Target 'Runner' has process command with output '/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/Info.plist'
○ Target 'Runner' has copy command from '/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Share Extension.appex' to
'/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/PlugIns/Share Extension.appex'

Raw dependency cycle trace:

target:  ->

node: <all> ->

command: <all> ->

node:
/Users/john/Library/Developer/Xcode/DerivedData/Runner-bilvgzlcgxkohnfromquxqobzkhu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Objects-normal/arm64/Ex
tractedAppShortcutsMetadata.stringsdata ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ExtractAppIntentsMetadata ->

node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase7-copy-files> ->

command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase7-copy-files ->

node: <Copy /Users/nile/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/PlugIns/Share Extension.appex> ->

CYCLE POINT ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy
/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/PlugIns/Share Extension.appex /Users/nile/development/receiptcamp/build/ios/Debug-iphoneos/Share
Extension.appex ->

node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase6--cp--copy-pods-resources> ->

command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase6--cp--copy-pods-resources ->

node:
/Users/john/Library/Developer/Xcode/DerivedData/Runner-bilvgzlcgxkohnfromquxqobzkhu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/InputFileList-238B2E5E5
9C043048A663065-Pods-Runner-resources-Debug-input-files-294ce8e190336c90c3ff9df3086ebfec-resolved.xcfilelist ->

command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:WriteAuxiliaryFile
/Users/john/Library/Developer/Xcode/DerivedData/Runner-bilvgzlcgxkohnfromquxqobzkhu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/InputFileList-238B2E5E5
9C043048A663065-Pods-Runner-resources-Debug-input-files-294ce8e190336c90c3ff9df3086ebfec-resolved.xcfilelist ->

node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks> ->

command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase5--cp--embed-pods-frameworks ->

node:
/Users/john/Library/Developer/Xcode/DerivedData/Runner-bilvgzlcgxkohnfromquxqobzkhu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/InputFileList-AC4A52594
8CCCEF9E458DC89-Pods-Runner-frameworks-Debug-input-files-1ab491fe0012c6a0c465600eff1a8f55-resolved.xcfilelist ->

command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:WriteAuxiliaryFile
/Users/john/Library/Developer/Xcode/DerivedData/Runner-bilvgzlcgxkohnfromquxqobzkhu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/InputFileList-AC4A52594
8CCCEF9E458DC89-Pods-Runner-frameworks-Debug-input-files-1ab491fe0012c6a0c465600eff1a8f55-resolved.xcfilelist ->

node: <target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary> ->

command: P0:::Gate target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49--fused-phase4-thin-binary ->

node: <execute-shell-script-18c1723432283e0cc55f10a6dcfd9e02f1eee2015e8ff5ebcd27678f788c2826-target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-> ->

command: P2:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:PhaseScriptExecution Thin Binary
/Users/john/Library/Developer/Xcode/DerivedData/Runner-bilvgzlcgxkohnfromquxqobzkhu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-3B06AD1E1E4923F5
004D2608.sh ->

node: /Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/Info.plist/ ->

directoryTreeSignature: R ->

directoryContents: /Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/Info.plist ->

node: /Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/Info.plist ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:ProcessInfoPlistFile
/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/Info.plist /Users/john/development/receiptcamp/ios/Runner/Info.plist ->

node: /Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/PlugIns/Share Extension.appex ->

command: P0:target-Runner-18c1723432283e0cc55f10a6dcfd9e0288a783a885d8b0b3beb2e9f90bde3f49-:Debug:Copy
/Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Runner.app/PlugIns/Share Extension.appex /Users/john/development/receiptcamp/build/ios/Debug-iphoneos/Share
Extension.appex

Error launching application on John's iPhone.

This looks like an error I had when i followed some outdated errors from crashalytics.
Look inside the build phases - run scripts of your main package. Perhaps you have some entries there that you dont need and cause a loop with the pod file instructions.

This looks like an error I had when i followed some outdated errors from crashalytics. Look inside the build phases - run scripts of your main package. Perhaps you have some entries there that you dont need and cause a loop with the pod file instructions.

Thanks for the suggestion, I attempted this to no success. Still having the same error.
Here is mr Run Script in Xcode Build Phases for Runner target. I tried to flutter run without and without this run script to still get the same error I initially sent in this issue.

So I somehow randomly solved this issue by discarding all my changes made in
<projectname>/ios/Runner.xcodeproj/project.pbxproj
according to git, then undo this by CMD +Z on the file. When I did flutter run again it worked. Got no idea how or why unfortunately.

After undo <projectname>/ios/Runner.xcodeproj/project.pbxproj file its also remove extension from target 🤔

Not 100%, it's likely tho.

Solved this issue by changing order in Build Phases
https://github.com/flutter/flutter/issues/135739#issuecomment-1741814813

@hellpirat can you provide a screenshot of the steps?


fix(BUX-644): return stable pub key from PKI capability

Pull Request Checklist

[x] 📖 I created my PR using provided  : CODE_STANDARDS
[x] 📖 I have read the short Code of Conduct: CODE_OF_CONDUCT
[x] 🏠 I tested my changes locally.
[x] ✅ I have provided tests for my changes.
[x] 📝 I have used conventional commits.
[ ] 📗 I have updated any related documentation.
[x] 💾 PR was issued based on the Github or Jira issue.

Codecov Report
Attention: Patch coverage is 67.17557% with 43 lines in your changes are missing coverage. Please review.

Project coverage is 53.92%. Comparing base (e88eba0) to head (ac71ece).

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #499      +/-   ##
==========================================
+ Coverage   52.97%   53.92%   +0.94%
==========================================
  Files         164      164
  Lines        9027     9059      +32
==========================================
+ Hits         4782     4885     +103
+ Misses       3793     3695      -98
- Partials      452      479      +27

Flag
Coverage Δ

unittests
53.92% <67.17%> (+0.94%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

engine/locks.go
100.00% <100.00%> (ø)

engine/model_destinations.go
58.44% <ø> (ø)

engine/client_options.go
71.42% <50.00%> (ø)

engine/action_contact.go
0.00% <0.00%> (ø)

engine/action_paymails.go
49.03% <60.00%> (+0.03%)
:arrow_up:

engine/action_transaction.go
29.55% <0.00%> (ø)

engine/model_xpubs.go
73.05% <57.14%> (-1.63%)
:arrow_down:

engine/paymail_service_provider.go
27.44% <72.50%> (+27.44%)
:arrow_up:

engine/model_paymail_addresses.go
69.02% <67.24%> (-1.91%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e88eba0...ac71ece. Read the comment docs.


DockTabStore

Closed by #4653 which was merged successfully but due some glitch status didn't update.


Feature/7 implement pages page

Those styles are very basic, but that's the first version... styling of the pages is needed, but we have to make it all work for now. Merge asap.


Ember.Object destructuring

What is the best approach for destructuring Ember.Object? dosn't doing that cause conflict with javascript's Object?
As an expample, I want to define a model:
`
import Ember from 'ember';
export default Ember.Object.extend({
control: '',
message: ''
});
`
ember-suave warns about object destructuring, so I must do:
`
import Ember from 'ember';
const { Object} = Ember;
export default Object.extend({
control: '',
message: ''
});
`
But that collides with javascript's native Object and breaks everything. Any flag to ignore that specific case? (I still want ember-suave to require object destructuring).

I personally handle this by doing something like this, because you're right about the conflict with the native Object class.

import Ember from 'ember';

const { Object: EmberObject } = Ember;

EmberObject.create({
  ...
});

it's a little weird, but makes sure that there are no conflicts and still prevents you from having a bunch of Ember. throughout your code.

const { Object: EmberObject } = Ember;

is what I'd recommend as well.


Update layers/meta-balena digest to e7ea08b

This PR contains the following updates:

Package
Update
Change

layers/meta-balena
digest
bdfe242 -> e7ea08b

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Can one of the admins verify this patch?


Behavior beyond the model max distance

We should add the capability to correctly handle distances greater than the model maximum distance. Currently readExtinction.getDistanceAtMag() will just return the maximum distance for sight-lines in which the true maximum distance lies beyond the limit of the model.
I think this would work similarly to the following:

Select healpix for which the returned distance is > the maximum distance at those healpix. For those hpids:
Use the maximum E(B-V) in the sight-line (i.e. the [-1]'th E(B-V);
Compute the distance directly from the max E(B-V) and the delta-magnitude requested.

I think all the above can be vectorized.

I have implemented this in method readExtinctions.getDistanceAtMag(), which now also returns the boolean array indicating whether the sight-line lay beyond the maximum in the model. All calls to getDistanceAtMag() have been updated in readExtinctions.py - I am testing the example notebook on Datalab now.
It might be worth splitting off the relevant lines in getDistanceAtMag() into a new method, it depends on how wide use this capability is likely to see.

I am adding a new method called getMaxDistDeltaMag that basically wraps lines 315-324 of getDistanceAtMag.

Closing this issue


Added global virtualenv file system watcher

Added global virtualenv file system watcher + added system test
Correct type priorities. Environments created by virtualenvwrapper were being detected as venv as it contained the pyenv.cfg file.

Codecov Report

Merging #14557 into main will decrease coverage by 0.09%.
The diff coverage is 89.65%.

@@            Coverage Diff             @@
##             main   #14557      +/-   ##
==========================================
- Coverage   65.01%   64.91%   -0.10%
==========================================
  Files         539      541       +2
  Lines       25050    25113      +63
  Branches     3533     3541       +8
==========================================
+ Hits        16287    16303      +16
- Misses       8102     8143      +41
- Partials      661      667       +6

Impacted Files
Coverage Δ

src/client/pythonEnvironments/base/watcher.ts
100.00% <ø> (ø)

...ocators/services/globalVirtualEnvronmentLocator.ts
96.38% <86.36%> (-3.62%)
:arrow_down:

src/client/common/platform/fileSystemWatcher.ts
24.44% <100.00%> (ø)

...pythonEnvironments/common/environmentIdentifier.ts
96.77% <100.00%> (ø)

src/client/common/utils/platform.ts
60.00% <0.00%> (-12.00%)
:arrow_down:

.../locators/services/virtualEnvironmentIdentifier.ts
94.73% <0.00%> (-2.64%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

...pythonEnvironments/common/pythonBinariesWatcher.ts
60.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b30b044...0a2a10f. Read the comment docs.


[Issue] CVE-2023-23397.ps1 does not Cleanup [FIX AVAILABLE]

Describe the issue
In the code the Delimiter is not described within the code that may cause the script to fail when trying to execute the Cleanup Command.
Expected behavior
The code should run correctly and remove the property or item from the mailboxes.
Script Output
[03/16/2023 11:00:29] : No Id present for entry number: 1, Line number: 2
[03/16/2023 11:00:29] : No Id present for entry number: 2, Line number: 3
[03/16/2023 11:00:29] : Completed cleanup operation!
[03/16/2023 11:00:29] : Couldn't Cleanup the entries: 1, 2
Additional context
Replace:  $cleanupCSV = (Import-Csv $CleanupInfoFilePath) with $cleanupCSV = (Import-Csv $CleanupInfoFilePath -Delimiter ';') on Line 1665
I have created a pull request for the issue.
PS: If you have AzureADPreview installed. Simply replace the pre-checks AzureAD with AzureADPreview

We're still trying to understand the issue. Why was the csv file created with ; delimiter? As the default is , if not specified explicitly.

@lusassl-msft
Try to do the following in PowerShell
$P = Import-CSV {respectivepathincludingfile}
Please show me the output of your PowerShell when you execute $P

@lusassl-msft
Is this with the modified script or the original one. If original one it is weird. But I think it is better anyways to use a fixed delimiter since other people may have an issue as a standard delimiter is different than the script.
Thank you for sharing though.

This was generated by the original one. I agree that explicitly specifying a delimiter would be a good thing to avoid the issue that you see. We should use the default , as delimiter instead of ;..

How did the CSV file get exported out as ; instead of ,? Would this be a difference in the OS?

Should now be better handled with the latest version of the script (fix in PR #1612). Closing this issue for now.

Hi
I tried a new run and it downloaded new script but not help
:
PS C:\Users\khanh.MASTERPLANET\Downloads> .\CVE-2023-23397.ps1 -Environment "Online" -CleanupAction ClearProperty -CleanupInfoFilePath .\AuditResults_20230327_084018.csv
CVE-2023-23397 script version <IP_ADDRESS>6
Trying to find Microsoft.Exchange.WebServices.dll in the script folder
Microsoft.Exchange.WebServices.dll was found in the script folder
Prompting user for authentication, please minimize this window if you do not see an authorization prompt as it may be in the background
Waiting 60 seconds for app credentials to register..                                                                                Continuing...
Clear the PidLidReminderFileParameter property of mail items
The script will perform store operation on mailboxes using EWS
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y
Csv file is in the expected format and can be used for cleanup
Successfully removed 0 of
No entries were removed. Please update the Cleanup column for the items you wish to cleanup.
Do you have feedback regarding the script? Please email<EMAIL_ADDRESS>PS C:\Users\khanh.MASTERPLANET\Downloads> .\CVE-2023-23397.ps1 -Environment "Online" -CleanupAction Clearitem -CleanupInfoFilePath .\AuditResults_20230327_084018.csv
CVE-2023-23397 script version <IP_ADDRESS>6
Trying to find Microsoft.Exchange.WebServices.dll in the script folder
Microsoft.Exchange.WebServices.dll was found in the script folder
Prompting user for authentication, please minimize this window if you do not see an authorization prompt as it may be in the background
Waiting 60 seconds for app credentials to register..
Continuing...
Delete items
The script will perform store operation on mailboxes using EWS
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): a
Csv file is in the expected format and can be used for cleanup
Successfully removed 0 of
No entries were removed. Please update the Cleanup column for the items you wish to cleanup.
Do you have feedback regarding the script? Please email<EMAIL_ADDRESS>PS C:\Users\khanh.MASTERPLANET\Downloads>
Khanh Nguyen
GSM: +358 40 5618886
Masterplanet Oy
Tykistokatu 4 B, 4.krs
20520 Turku
FINLAND
From: Lukas Sassl @.>
Sent: sunnuntai 26. maaliskuuta 2023 13:38
To: microsoft/CSS-Exchange @.>
Cc: Khanh Nguyen @.>; Comment @.>
Subject: Re: [microsoft/CSS-Exchange] [Issue] CVE-2023-23397.ps1 does not Cleanup [FIX AVAILABLE] (Issue #1584)
Closed #1584https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FCSS-Exchange%2Fissues%2F1584&data=05|01|khanh.nguyen%40masterplanet.fi|38c59834eac94e9b062b08db2de63aa5|b89e3c024cce4d0e8e3a13a5783399ab|0|0|638154239075752584|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=78YbiONTk1VthyCscvVgq32V4FMYUqJ%2B8SXWM%2FsH7Gs%3D&reserved=0 as completed.

Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FCSS-Exchange%2Fissues%2F1584%23event-8846975826&data=05|01|khanh.nguyen%40masterplanet.fi|38c59834eac94e9b062b08db2de63aa5|b89e3c024cce4d0e8e3a13a5783399ab|0|0|638154239075752584|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vcsnuzLV7TXIc2weqpGoTuC5iFp6b2uSFtE9RiUy93c%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA6TPSVVORGL5QPGDY35O65TW6ATC7ANCNFSM6AAAAAAV5AOLWM&data=05|01|khanh.nguyen%40masterplanet.fi|38c59834eac94e9b062b08db2de63aa5|b89e3c024cce4d0e8e3a13a5783399ab|0|0|638154239075752584|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0AohzEpL8WEPIvzK0vTiP%2BYLeYuMADmrTniPtaOfG28%3D&reserved=0.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>

Downloaded new script and run not help.!
File signed by CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
AutoUpdate: Signature validated.
AutoUpdate: Succeeded.
Script was updated. Please rerun the command
PS C:\Users\khanh.MASTERPLANET\Downloads> Get-Mailbox -ResultSize Unlimited | .\CVE-2023-23397.ps1 -Environment "Online"
CVE-2023-23397 script version <IP_ADDRESS>6
Did you know?
We've introduced a new asynchronous search feature (preview) in this version to improve the performance of the search.
It's disabled by default and can be enabled by using the following parameters:
UseSearchFolders: Enable deep-traversal SearchFolders search to significantly improve performance
SearchFolderCleanup: Clean up any SearchFolders left behind by the -UseSearchFolders switch
More information: https://aka.ms/CVE-2023-23397ScriptDocFAQ
Trying to find Microsoft.Exchange.WebServices.dll in the script folder
Microsoft.Exchange.WebServices.dll was found in the script folder
Prompting user for authentication, please minimize this window if you do not see an authorization prompt as it may be in the background
Khanh Nguyen
GSM: +358 40 5618886
Masterplanet Oy
Tykistokatu 4 B, 4.krs
20520 Turku
FINLAND
From: Lukas Sassl @.>
Sent: sunnuntai 26. maaliskuuta 2023 13:38
To: microsoft/CSS-Exchange @.>
Cc: Khanh Nguyen @.>; Comment @.>
Subject: Re: [microsoft/CSS-Exchange] [Issue] CVE-2023-23397.ps1 does not Cleanup [FIX AVAILABLE] (Issue #1584)
Should now be better handled with the latest version of the script (fix in PR #1612https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FCSS-Exchange%2Fpull%2F1612&data=05|01|khanh.nguyen%40masterplanet.fi|30514236b82d422df1ee08db2de63abe|b89e3c024cce4d0e8e3a13a5783399ab|0|0|638154239075752584|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xUxeGvyTYHnyt6PetyTh9jc0sLrBC5jQrwQLG8aq5Pk%3D&reserved=0). Closing this issue for now.

Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FCSS-Exchange%2Fissues%2F1584%23issuecomment-1484056389&data=05|01|khanh.nguyen%40masterplanet.fi|30514236b82d422df1ee08db2de63abe|b89e3c024cce4d0e8e3a13a5783399ab|0|0|638154239075752584|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=M5s1skdVALqS3pJ%2FAzhc2ZlH8SrX3Wp%2Bx7pk%2FvbWtpM%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA6TPSVX5GTHVPE2HFRML4ZDW6ATDBANCNFSM6AAAAAAV5AOLWM&data=05|01|khanh.nguyen%40masterplanet.fi|30514236b82d422df1ee08db2de63abe|b89e3c024cce4d0e8e3a13a5783399ab|0|0|638154239075752584|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=sO%2F6KdKYhn9vsPI%2BFmnGZgDOXENwPug%2FGAVXQjSh6Ao%3D&reserved=0.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>


Sorting bags vs manually locked items

Addon Version
v0.1.5
World of Warcraft Version
Retail
Describe the bug
When sorting the backpack via right-click on the bag button, locked items are re-stacked with similar, but unlocked items and the lock is reapplied based on the status of the first item encountered resulting in a stack of locked items or a stack of unlocked items.
I would prefer locked item/stacks to never be stacked with unlocked items.
I would think that not moving locked items would be acceptable/preferable.
Steps to reproduce
Simplified example:

->

->

Oh this is a really good catch! I'll take a look at this -- this might get really complicated because of the way item locking works.


Change PW navigation label

Updated:

 Changing Contract Packaging to Contract Manufacturing and Packaging in the left rail under resources


Fix error in aesc_force_progress_tx:for_client/1

PT SC: fix broken encoding of payload in aesc_force_progress_tx:for_client:for_client/1

Not sure how to address this in release notes. cc @lucafavatella


Fixes #1464 - SimpleThreadPool for importtable

Improves performance as calls to fs.rename are now made in parallel
from multiple threads within a SimpleThreadPool. Thread pool size is
controlled by new property master.importtable.rename.threadpool.size

Thanks @milleruntime. In a single-node Uno test the duration of an importtable of 12,800 RFiles went from around 80 seconds to a few seconds (< 5 seconds for sure) with the default 20 threads. In my test, each RFile had just 1 entry but IMHO that should not affect the outcome.


Fix: PSL_Bug_7806

Motivation and Context:
Bug: Browse experience is aware of many docs but will only show a few"
Enhancement done on system message  side"You must not respond if asked to List all documents in your repository."
Now it will not such Messages "List all the documents and their values.

Description

Contribution Checklist

[ ] I have built and tested the code locally and in a deployed app
[ ] For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
[ ] This is a change for all users of this app. No code or asset is specific to my use case or my organization.
[ ] I didn't break any existing functionality :smile:

@Roopan-Microsoft Please review it.

@Roopan-Microsoft Please review it


python312Packages.univers: 30.12.0 -> 30.12.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.univers is: Library for parsing version ranges and expressions
meta.homepage for python312Packages.univers is: https://github.com/nexB/univers
meta.changelog for python312Packages.univers is: https://github.com/nexB/univers/blob/v30.12.1/CHANGELOG.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 30.12.1 with grep in /nix/store/4p1yas4h4bbvsd5iwrpcg2z0zxm1sdy2-python3.12-univers-30.12.1
found 30.12.1 in filename of file in /nix/store/4p1yas4h4bbvsd5iwrpcg2z0zxm1sdy2-python3.12-univers-30.12.1

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.univers
python312Packages.univers

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4p1yas4h4bbvsd5iwrpcg2z0zxm1sdy2-python3.12-univers-30.12.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.univers https://github.com/r-ryantm/nixpkgs/archive/ea13ffa819b733d6cadcd14ffdeb10883680c7b4.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ea13ffa819b733d6cadcd14ffdeb10883680c7b4#python312Packages.univers

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4p1yas4h4bbvsd5iwrpcg2z0zxm1sdy2-python3.12-univers-30.12.1
ls -la /nix/store/4p1yas4h4bbvsd5iwrpcg2z0zxm1sdy2-python3.12-univers-30.12.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python311Packages.univers
python311Packages.univers.dist
python312Packages.univers
python312Packages.univers.dist

Maintainer pings
cc @armijnhemel @sbruder for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 337628 at 4f758949 run on aarch64-darwin 1

2 packages built successfully:

python311Packages.univers
python312Packages.univers


Restyle privacy page

What kind of a pull request is this?
A small restyling of the privacy page to make it a bit less intimidating.
Description of changes
Just simple style and template changes
Screenshot(s) if appropriate
Before:

After:

Made a few changes of my own because the green and orange boxes have been bugging me since their inception. It's just a needlessly confusing experience. The checkboxes aren't very pretty, but I'll live that to OWF :speak_no_evil:


Correct load paths for all components

Sorry about the delay, I've only just seen this!
In the meantime, it looks like we did the same thing and corrected the paths. So instead of merging (there were conflicts), I've cherrypicked the 2 commits (#8fac4ce, #f675b55 ) that are not related to path changes.
Hope that is ok.

All good!


Avoid uninformative warnings

Fixes #174.

To keep a record:

Message UserWarning: Converting mask without torch.bool dtype to bool; this will negatively affect performance. Prefer to use a boolean mask directly. (Triggered internally at ../aten/src/ATen/native/transformers/attention.cpp:150.) doesn't make sense, because even when provided with boolean masks, torch.nn.modules.activation.forward converts the masks to the same dtype as the query, which is float32.


Move linux unit test CI job tools to dedicated directory

@peterjc123  I need you to click "Submit Review" with Approve selected.

@mthrok Already done that. Is it because I don't have write access here?

@peterjc123
Oh I see. Sorry about that. Write access could be it but since I don't have admin access, I cannot add you as collaborator.
I guess you can cherry-pick my commits and add them to your original PR.

Well, I cherry-picked this PR in mine. So I guess this one is not needed anymore.

Closed by #604


polling for jobs removed from the queue does not properly mark them as completed

If a job is attached (or, depending on the polling interval, in normal usage scenarios), a tracked job may be gone from the queue when its status is polled. This is supposed to mark the job as COMPLETED, but there are reports that this is broken.

I can now confirm that this is indeed an issue.
On Perlmutter at NERSC, I ran the following code-block to submit a simple toy job.
from psij import Job, JobAttributes, JobExecutor, JobSpec, ResourceSpecV1
import time

job_executor = JobExecutor.get_instance("slurm")
job = Job(
    JobSpec(
        name="test",
        executable="/bin/date",
        resources=ResourceSpecV1(node_count = 1),
        attributes=JobAttributes(project_name = 'matgen', custom_attributes = {'slurm.constraint': 'cpu', 'slurm.qos': 'debug'}),
        launcher="single",
    )
)
job_executor.submit(job)
native_id = job.native_id
print(native_id)

I then manually monitored the queue (i.e. with squeue) until the job finished and was no longer visible in the squeue history.
Then I ran the following block:
from psij import JobExecutor, Job

job_executor = JobExecutor.get_instance("slurm")
job = Job()
job_executor.attach(job, "13203806") # native ID from above
print(job.status.state)

It returned NEW every time I printed the state. It also reported an error in logging like what follows, but this did not hinder the return of job.status.state as NEW.
Job 651f97ae-c467-4c4d-9edd-f16bf2371d89: failed clean submit script: [Errno 2] No such file or directory: '/global/homes/r/rosen/.psij/work/slurm/651f97ae-c467-4c4d-9edd-f16bf2371d89.job'

I am getting the error above, and that should be fixed, but if I add a wait() or sleep(3) after attach, the job shows as COMPLETED. So I think the main issue goes back to the fact that it takes a bit for the job status to be updated after attach().

PR #403 fixes the "failed to clean submit script" error.

@Andrew-S-Rosen, can I close this?

@hategan: Yes, thank you for asking. Go ahead and close the issue.

Thank you!
For reference, the "failed to clean submit script" error was fixed by #403 and the COMPLETED state should be reachable with the requisite wait() after attach().


Added Package Keepsolid.VPNUnlimited v8.5.7

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

closes: #65523
Microsoft Reviewers: Open in CodeFlow

This seems to be being blocked by windows defender at the end of the install

Blocked due to driver installation; Requires interactive only install;


[zipdeploy | .netcore webapi] ZipDeploy dotnet core project to App Service on Linux from script fails without any error

Repro steps.
from powershell command window:

Create a dotnet core web api project:

dotnet new webapi -n myapi
cd myapi
dotnet publish -c release -o publish
Compress-Archive -Path .\publish\* -DestinationPath .\publish.zip

Create resources in Azure:

$subscriptionId=<my subscription id>
$myLocation="West US"
$myResourceGroup="myResourceGroup"
$myAsp="myasp"
$appName="myApp123"

az login
az account set --subscription $subscriptionId
az group create --location $myLocation --name $ResourceGroupName
az appservice plan create --name $myAsp --resource-group $myResourceGroup --location $myLocation --is-linux --sku B1
az webapp create --name $appName --resource-group $myResourceGroup --plan $myAsp --% --runtime "DOTNETCORE|2.2"

Zip deploy web api to Azure:

az webapp deployment source config-zip -n $appName -g $myResourceGroup --src ./publish.zip --debug

Actual Results

Everything seems fine, but when going to the site https://<myApp123>.azurewebsites.net/api/values, it returns 404
By checking the scm site https://<myApp123>.scm.azurewebsites.net/wwwroot, I can find the publish files are already uploaded:

Name
Size
Last Modified

appsettings.Development.json
146
5/14/19 9:50:52 AM +00:00

appsettings.json
352
5/14/19 10:14:54 AM +00:00

web.config
550
5/22/19 2:19:32 AM +00:00

WebApi.deps.json
234668
5/22/19 10:16:22 AM +00:00

WebApi.dll
17408
5/22/19 10:16:22 AM +00:00

WebApi.pdb
2224
5/22/19 10:16:22 AM +00:00

WebApi.runtimeconfig.json
224
5/22/19 10:16:22 AM +00:00

Have no idea why the site is not running
Something interesting
I could make the exactly same deploy script worked if:

deploy the api from VisualStudio 2017 (check the site to make sure it is running correctly now)
modify the sample api controller (so you can be sure the next deployment works)
deploy from script (again):

az webapp deployment source config-zip -n $appName -g $myResourceGroup --src ./publish.zip

Check the new api, I can find the api gets updated, which means the script deployment succeeded
Environment
az --version

azure-cli                         2.0.60 *

systeminfo

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.17763 N/A Build 17763

dotnet --version

2.2.203

The log/error given by the failure.
part of az webapp deployment log:

{
"active": true,
"author": "N/A",
"author_email": "N/A",
"complete": true,
"deployer": "Push-Deployer",
"end_time": "2019-05-22T02:19:32.6034993Z",
"id": "f187553cf89449219b1f78f30411885e",
"is_readonly": true,
"is_temp": false,
"last_success_end_time": "2019-05-22T02:19:32.6034993Z",
"log_url": "https://<myApp123>.scm.azurewebsites.net/api/deployments/latest/log",
"message": "Created via a push deployment",
"progress": "",
"received_time": "2019-05-22T02:19:26.2940983Z",
"site_name": "<myApp123>",
"start_time": "2019-05-22T02:19:26.437735Z",
"status": 4,
"status_text": "",
"url": "https://<myApp123>.scm.azurewebsites.net/api/deployments/latest"
}

let me know if the actual app is needed for investigation

@rramachand21   could you help take a look?   This same step works just fine for Windows.


Posted Turtle Hack

This is a very nice turtlehack.  Your reflection is well done as well.  Kudos!


[Versions] Update versions in package.json and podspec to 0.7.1

When developing against master I want to rely on the version numbers being reasonably accurate.

@facebook-github-bot import


feat: vault signer

Adds support for using Vault's PKI secrets engine as a signer provider
Adds a generic registry concept used to expose configuration options for users of the library
Uses the registry for attestors and signers

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

173 of 367 (47.14%)  changed or added relevant lines in 6 files are covered.
12 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.3%) to 47.177%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

attestation/factory.go
5
10
50.0%

registry/registry.go
62
70
88.57%

registry/option.go
38
57
66.67%

signer/fulcio/fulcio.go
22
61
36.07%

signer/vault/request.go
0
41
0.0%

signer/vault/signerprovider.go
46
128
35.94%

Files with Coverage Reduction
New Missed Lines
%

attestation/factory.go
12
30.95%

Totals

Change from base Build<PHONE_NUMBER>:
-1.3%

Covered Lines:
1529

Relevant Lines:
3241

💛  - Coveralls


按层级 sum 功能结果集，不支持使用“别名”

对字段 sum 查询后，希望使用“别名” 展示结果集列；例如：
select  sum(errorQps) as errorQps ,sum(QPS) as QPS  from root.yuerj."30001"."client-521".*.*.* GROUP BY ([1970-01-01T08:00:00.100+08:00, 1970-01-01T08:00:00.900+08:00), 100ms) ,level=3

this function can be extended to "support AS alias for both columns (already supported) and functions (UDF included), "

this function can be extended to "support AS alias for both columns (already supported) and functions (UDF included), "


Hardcode sciety docmap api responses to include full data (review types/content)

@scottaubrey was this done?


(readme) breakdance.io -> breakdance.github.io

Updates the readme to direct developers to the github.io website.

thanks!


V1.3 branch e2e testing

Description of your changes:
Add e2e tests from #41 to v1.3-branch.
Changelist:

Changed pipeline used for test_run_pipeline in TestSanity. This is because the set of sample pipelines that are created by a Kubeflow installation are different between v1.3 and v1.4. As such, the pipeline used by TestSanity in v1.4 is not present in v1.3.

Testing
kf-e2e-test-env ❯ pytest -s -q --keepsuccess --region ap-south-1
...

Forwarding from <IP_ADDRESS>:8080 -> 8080
Forwarding from [::1]:8080 -> 8080
{'region': 'ap-south-1', 'cluster_name': 'e2e-test-cluster-hxb9uczev9', 'kustomize_path': '../../../../example'}
Created metadata file for TestSanity /Users/rkharse/kf-e2e-tests/distributions/aws/test/e2e/.metadata/metadata-1639505889828985000
Handling connection for 8080
Handling connection for 8080
.Handling connection for 8080
..
3 passed in 59.36s

can confirm the only change is in Change pipeline used in TestSanity https://github.com/awslabs/kubeflow-manifests/pull/47/commits/8e08b5d4d962b1ebbd03789627c2bd8d786153b6


It's appreciate if OpenXML SDK provides calculation mechanism

OpenXML SDK has no calculation mechanism, it makes simple task very complex. For example, a excel file has a formula cell A3=sum(A1:A2), if we need insert a row of data after row1, the formula should change to sum(A1:A3) .
This can be done automatically either in excel application or in office automation solution. But with OpenXML SDK, we need to do by programming, it's not a simple task because we need parse all the formula elements completely and compose it again.
This is just a simple example about the topic, actually there are many scenarios like this.  It's very appreciate if OpenXML SDK provides calculation mechanism to do this automatically, just like Excel application has done.

@bhguo Thanks for the suggestion. It sounds like this is something that would fit better with the Open-XML-PowerTools than the SDK. It involves a lot of application specific implementation.

@bhguo There are libraries that are wrappers around OpenXML that enable you to do this, e.g. ClosedXML and EPPlus. As far as I know, they both have formula parsing and evaluating.


Purpose of conda--get-path-prefix

Hi, recently I was digging into the code and found that conda--get-path-prefix seems to perform the exact same thing that
(concat (file-name-as-directory env-dir) conda-env-executables-dir)

would for the same valid env-dir.
Example:
(conda--get-path-prefix "/path/to/anywhere")
;; outputs the same as
(concat (file-name-as-directory "/path/to/anywhere") conda-env-executables-dir)
;; given that "/path/to/anywhere" is a path to a valid directory

Since conda--get-path-prefix already makes use of conda-env-executables-dir to find the proper path to the conda command, it doesn't seem to make sense such a more complicated check performed inside of the function.
Can someone explain this further?

It's mostly true that right now conda--get-path-prefix simply returns the executable directory within the env directory (I seem to recall it does something different on Windows, but I may be misremembering). The intent, however, is to be robust to any changes in how conda handles this; hence the call out to conda ..activate to return the information, if conda should change formats.
If we can be sure that the behavior will be consistent on Windows and other platforms I have no objections to changing how it's used or implemented.

Hopefully closed by #23


create_state and create_test_init_data update

This change is

Codecov Report

Merging #908 (52e3126) into dori/use-fee-type-as-input (e60c234) will not change coverage.
The diff coverage is n/a.

@@                     Coverage Diff                     @@
##           dori/use-fee-type-as-input     #908   +/-   ##
===========================================================
  Coverage                       69.74%   69.74%
===========================================================
  Files                              42       42
  Lines                            5744     5744
  Branches                         5744     5744
===========================================================
  Hits                             4006     4006
  Misses                           1366     1366
  Partials                          372      372

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ORA-00942:  the table or view does not exist

I'm working on some things in Oracle and now I have this message:
ORA-00942:  the table or view does not exist
I have the same problem with my Firebird provider, maybe @roji  has the same message.
This is because the escape of Entities1 was removed here:
https://github.com/aspnet/EntityFrameworkCore/blob/dev/src/EFCore.Relational.Specification.Tests/Query/NullSemanticsQueryTestBase.cs#L683-L685
Can I submit this simple fix as part of PR Oracle?
cc/ @AndriySvyryd @ajcvickers

The same here:
QueryNoClientEvalTestBase.cs#L121  And QueryNoClientEvalTestBase.cs#L134
cc/ @AndriySvyryd

@AndriySvyryd, let me know if I can do the PR, I have already uploaded the work to my repository.
The change was simple, you can review here

@ralmsdeveloper the change is a bit more complex because not all providers support the " as a delimeter


Custom wlr_client_buffer from wl_resource

This patch is a rewrite of the work done by ddevault in https://github.com/swaywm/wlroots/commit/c88abfbc23da485507add71534785b4d8141efdc
The patchset is currently used here in my own fork of wxrc.
I chose to not make the existing client buffer impl (shm, dma-buf and wl_drm) yet because of the pending status of wl_drm in wlroots.

I'd prefer the existing client buffer types (wl_shm, linux-dmabuf, wl_drm) to also use the wlr_client_buffer_impl infrastructure, instead of being special-cased. That would make it easier for compositors to override wlroots' implementations if need be.

Hm, it seems like the most recent changes in this PR have been lost in a rebase. This PR looks like it's been reverted to a previous iteration. Or am I missing something?

Ah. Wrong PR.
Let's close this one in favor of https://github.com/swaywm/wlroots/pull/3046.


code in markdown can't highlight

the code is :

int main() {
	printf("c test\n");

	return 0;
}

the display effect is:

I would like to know if it's normal? thanks.

I found https://github.com/susam/texme/issues/11, it seems texme don't support highlight.  have any method or any suggestion for me to  do it ?

now I find a way to highlight the code. it's import highlight.js library.
my test code is:
<!DOCTYPE html>

int main() {
	printf("c test\n");

	return 0;
}

## Markdown test

[link to localhost](http://<IP_ADDRESS>)

a **black** word

a *itialic* word

@useless
def foo():
    print("python code test")

foo()

word="a very long string. qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"

the display effect is:

It's not very standard, but it works. ^_^


Support for JavaFX FXML Applications

Hey there!
I have tried and tried to get this working in JavaFX, even using SwiftNodes and all I could get working was some white box that did nothing. Could you guys add some JavaFX UI Objects?

Hey,
I know that it would be amazing to embed it in JavaFX, but unfortunately it is not possible with actual jcef architecture:

https://github.com/dzikoysk/Pandomium/issues/8
https://stackoverflow.com/a/47371837/3426515

How does JXBrowser achieve this?

They've created better wrapper around cef project than jcef. I'm just wrapping jcef, so I can't improve it, as you see:

https://bitbucket.org/chromiumembedded/java-cef/issues/163/provide-javafx-node-for-jcef


90% GPU utilization for animated edges

Describe the Bug
My GPU and fans are going crazy when edges have animated: true.
I've set onlyRenderVisibleElements={true} and this helps a bit – if I scroll to a section of the canvas with no edges it idles around ~24%. But if I go to an area with even one animated node it's at like 95%.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
See gif below
Expected behavior
Expect lower utilization when there's only a few nodes and one edge in view
Screenshots or Videos

Platform

OS: MacOS
Browser: Arc
Version: 1.38.0

Additional context
No response

Do you have a 120hz screen by any chance? What kind of hardware are you running it on?
Can you check the performance tab in the browser, how long does it take for your GPU to render a frame?
Can you turn off all the shadows on your nodes and see how GPU utilization behaves? Maybe the layer of the shadow is being invalidated each frame and needs to be redrawn which can be quite expensive.
All that being said, might there be a comparison we could make of something similar being achieved with less utilization?

Animating complex svg paths is expensive. Probably the only solution for this would be a canvas renderer for edges (but we don't have that). I will leave it open for now as a reminder that there is room for optimization regarding edge animations.

I do have a 120hz screen on both my laptop and my monitor. The monitor is 4k 120hz.

We're in the progress of moving to the new version of ReactFlow so I'll try turning off shadows and just using the animated edges.
Not using opacity, fill opacity, or stroke opacity, they should all be at 100% / not modified.
(Heavy caveat: I don't have a great understanding of how RF does rendering) I do think it's strange that an animated line is causing 90% GPU utilization yet you can do crazy 3D stuff in Three / WebGL without breaking a sweat, and even more crazy things like ray-tracing in native apps which are orders of magnitude more complicated. Is the reason it's expensive because the SVG node is a part of the DOM?

This seems to come down to Chromiums slower SVG implementation. I can definitely replicate a moderate GPU utilization (which is a terribly imprecise metric btw) when an animated edge is on-screen but I get like 30% at 120Hz on a M3 Pro.
I had issues before in Arc with specific plugins before - @kevinschaich  can you replicate it on Chrome inside an incognito window with all plugins disabled?

Hey guys - I think we can close this out. We upgraded to v12 recently and also refactored a ton of our app – so either your rendering logic got way better, or maybe our state management logic got way better – either way, everything is smooth creamy 4k @ 120fps. Same laptop as earlier this year. Beaut.
Thanks for checking it out with me.
https://github.com/user-attachments/assets/fa730a38-b236-4090-a7ba-67d5521932c5

@kevinschaich That is wonderful to hear. v12 indeed had quite significant performance improvements.