Skip to content

Update exml 4.0.0 - #4465

Merged
NelsonVides merged 8 commits into
masterfrom
update_exml_big_test
Jan 20, 2025
Merged

NelsonVides merged 8 commits into
masterfrom
update_exml_big_test

Conversation

@DenysGonchar

@DenysGonchar DenysGonchar commented Jan 17, 2025 •

Copy link
Copy Markdown
Contributor

This PR updates exml dependency

@mongoose-im

This comment was marked as resolved.

@codecov

This comment was marked as resolved.

@NelsonVides NelsonVides left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice removal of the dynamically compiled modules for big tests also!

Bunch of comments, praises, and suggestions.

Comment thread test/privacy_SUITE.erl Outdated
Comment thread test/json_formatter_SUITE.erl
Comment thread test/adhoc_SUITE.erl
Comment thread src/vcard/mod_vcard_ldap.erl
Comment thread src/mod_extdisco.erl
Comment thread big_tests/tests/mod_version_SUITE.erl
Comment thread big_tests/rebar.config Outdated
Comment thread src/jlib.erl
Comment thread src/jlib.erl
Comment thread src/jlib.erl Outdated
@mongoose-im

This comment was marked as resolved.

@mongoose-im

This comment was marked as outdated.

@NelsonVides NelsonVides left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last two commits, very good 👌🏽

@DenysGonchar
DenysGonchar marked this pull request as ready for review January 20, 2025 15:17
@mongoose-im

mongoose-im commented Jan 20, 2025 •

Copy link
Copy Markdown
Collaborator

elasticsearch_and_cassandra_27 / elasticsearch_and_cassandra_mnesia / da7225e
Reports root/ big
OK: 472 / Failed: 0 / User-skipped: 49 / Auto-skipped: 0


small_tests_26 / small_tests / da7225e
Reports root / small


small_tests_27 / small_tests / da7225e
Reports root / small


small_tests_27_arm64 / small_tests / da7225e
Reports root / small


ldap_mnesia_26 / ldap_mnesia / da7225e
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


ldap_mnesia_27 / ldap_mnesia / da7225e
Reports root/ big
OK: 2353 / Failed: 0 / User-skipped: 912 / Auto-skipped: 0


internal_mnesia_27 / internal_mnesia / da7225e
Reports root/ big
OK: 2495 / Failed: 0 / User-skipped: 770 / Auto-skipped: 0


dynamic_domains_mysql_redis_27 / mysql_redis / da7225e
Reports root/ big
OK: 4726 / Failed: 0 / User-skipped: 154 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_26 / pgsql_mnesia / da7225e
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


dynamic_domains_pgsql_mnesia_27 / pgsql_mnesia / da7225e
Reports root/ big
OK: 4761 / Failed: 0 / User-skipped: 119 / Auto-skipped: 0


pgsql_cets_27 / pgsql_cets / da7225e
Reports root/ big
OK: 4850 / Failed: 0 / User-skipped: 188 / Auto-skipped: 0


dynamic_domains_mssql_mnesia_27 / odbc_mssql_mnesia / da7225e
Reports root/ big
OK: 4756 / Failed: 0 / User-skipped: 124 / Auto-skipped: 0


pgsql_mnesia_26 / pgsql_mnesia / da7225e
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


mysql_redis_27 / mysql_redis / da7225e
Reports root/ big
OK: 5130 / Failed: 0 / User-skipped: 149 / Auto-skipped: 0


cockroachdb_cets_27 / cockroachdb_cets / da7225e
Reports root/ big
OK: 4855 / Failed: 1 / User-skipped: 188 / Auto-skipped: 0

pubsub_SUITE:dag+manage_subscriptions:retrieve_user_subscriptions_test
{error,
  {timeout_when_waiting_for_stanza,
    [{escalus_client,wait_for_stanza,
       [{client,
          <<"alice_retrieve_user_subscriptions_test_2935@localhost/res1">>,
          escalus_tcp,<0.103081.0>,
          [{event_manager,<0.103033.0>},
           {server,<<"localhost">>},
           {username,
             <<"alicE_retrieve_user_subscriptions_test_2935">>},
           {resource,<<"res1">>}],
          [{event_client,
             [{event_manager,<0.103033.0>},
            {server,<<"localhost">>},
            {username,
              <<"alicE_retrieve_user_subscriptions_test_2935">>},
            {resource,<<"res1">>}]},
           {resource,<<"res1">>},
           {username,
             <<"alice_retrieve_user_subscriptions_test_2935">>},
           {server,<<"localhost">>},
           {host,<<"localhost">>},
           {port,5222},
           {auth,{escalus_auth,auth_plain}},
           {wspath,undefined},
           {username,
             <<"alicE_retrieve_user_subscriptions_test_2935">>},
           {server,<<"localhost">>},
           {password,<<"matygrysa">>},
           {stream_id,<<"9f8a9eeeb8396293">>}]},
        5000],
       [{file,
          "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_client.erl"},
        {line,136}]},
     {pubsub_tools,receive_response,3,
       [{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
        {line,434}]},
     {pubsub_tools,receive_and_check_response,4,
       [{file,"/h...

Report log


pgsql_mnesia_27 / pgsql_mnesia / da7225e
Reports root/ big
OK: 5151 / Failed: 0 / User-skipped: 128 / Auto-skipped: 0


mssql_mnesia_27 / odbc_mssql_mnesia / da7225e
Reports root/ big
OK: 5146 / Failed: 0 / User-skipped: 133 / Auto-skipped: 0


small_tests_27 / small_tests / da7225e
Reports root / small

Comment thread src/mam/mod_mam_utils.erl
Comment on lines +530 to +535
Attrs = case QueryID =/= undefined andalso QueryID =/= <<>> of
true->
#{<<"queryid">> => QueryID};
false ->
#{}
end,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation and space before the arrow in true->

Comment thread src/jlib.erl
Comment thread src/jlib.erl
Comment thread src/jlib.erl
undefined -> [];
_ -> [{<<"from">>, jid:to_binary(FromJID)}]
undefined -> #{};
_ -> #{<<"from">> =>jid:to_binary(FromJID)}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_ -> #{<<"from">> =>jid:to_binary(FromJID)}
_ -> #{<<"from">> => jid:to_binary(FromJID)}

@NelsonVides NelsonVides left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's like two places where spacing is not ideal but screw it, we should have had a linter for this, this work is already not just enormous but also amazing, thank you so so much!

@NelsonVides NelsonVides changed the title Update exml big test Update exml 4.0.0 Jan 20, 2025
@NelsonVides
NelsonVides merged commit bf3f4b9 into master Jan 20, 2025
@NelsonVides
NelsonVides deleted the update_exml_big_test branch January 20, 2025 19:51
@jacekwegr jacekwegr added this to the 6.3.2 milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants