Skip to content

CsfyTask8565_Fix_the_issues_due_to_CmampTask10710_2#1203

Merged
Shayawnn merged 256 commits intomasterfrom
CsfyTask8565_Fix_the_issues_due_to_CmampTask10710_2
Apr 20, 2026
Merged

CsfyTask8565_Fix_the_issues_due_to_CmampTask10710_2#1203
Shayawnn merged 256 commits intomasterfrom
CsfyTask8565_Fix_the_issues_due_to_CmampTask10710_2

Conversation

@heanhsok
Copy link
Copy Markdown
Contributor

@heanhsok heanhsok commented Apr 13, 2026

Task https://github.com/causify-ai/csfy/issues/8565

Stack PR on top of #731 with the fixes

gpsaggese and others added 30 commits April 11, 2025 23:32
* HelpersTask553: Fix path

* HelpersTask553: Update doc
* HelpersTask553: Fix path

* HelpersTask553: Update doc

* HelpersTask553: Use tempfile
* HelpersTask530: Update contributor feedback doc

* HelpersTask530: Improve style

* HelpersTask530: Improve style
* HelpersTask464: changed code to use is_header instead of regex directly

* HelpersTask464: Fixed the comment and variable name

---------

Co-authored-by: Neomi <nsule@umd.edu>
Co-authored-by: Sonya Nikiforova <son.nik@mail.ru>
* First test case operation for test_hmarkdown.py

* Use assert_equal(dedent=True), set eg 4, 5, set tests 1-7 and removed test_no_code

* Removed additional functions

* Capitalized Python in comments and set code in inline

* Remove hprint.dedent() in test4 in test_hmarkdown.py

* Removed & and reduced content in test 3

* Change in comment for test6

---------

Co-authored-by: Sonya Nikiforova <son.nik@mail.ru>
* HelpersTask540: bare links capitalized in md files

* Updated nits

* Updated comments
* CmampTask11789: fix submodules

* CmampTask11789: path

* CmampTask11789: fix in the common_run_tests.yml

* CmampTask11789: depth

* CmampTask11789: ssh

* CmampTask11789: name

* CmampTask11789: swap names

* CmampTask11789: change var

* CmampTask11789: caller

* CmampTask11789: test secrets

* CmampTask11789: playing around

* CmampTask11789: one more token

* CmampTask11789: secrets

* CmampTask11789: fix submodules

* CmampTask11789: path

* CmampTask11789: fix in the common_run_tests.yml

* CmampTask11789: depth

* CmampTask11789: ssh

* CmampTask11789: name

* CmampTask11789: swap names

* CmampTask11789: change var

* CmampTask11789: caller

* CmampTask11789: test secrets

* CmampTask11789: playing around

* CmampTask11789: one more token

* CmampTask11789: secrets

* CmampTask11789: revert debug and change token

* CmampTask11789: fix token

* CmampTask11789: revert token

* CmampTask11789: script for PYTHONPATH

* CmampTask11789: delete ssh update pythonpath

* CmampTask11789: simplify

* CmampTask11789: recursive

* CmampTask11789: lint and delete script

* CmampTask11789: comment

* CmampTask11789: remove unnecessary comments

* CmampTask11789: comment

* CmampTask11789: echo

---------

Co-authored-by: vlady <v.yakovenko@crypto-kaizen.com>
Co-authored-by: Samarth KaPatel <samarth.kapatel5@gmail.com>
heanhsok added 20 commits April 13, 2026 19:09
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
Pre-commit checks:
All checks passed ✅
@heanhsok heanhsok requested review from Shayawnn and gpsaggese April 14, 2026 13:52
@heanhsok heanhsok added the PR for reviewers The PR needs to be reviewed by RPs label Apr 14, 2026
Copy link
Copy Markdown
Contributor

@Shayawnn Shayawnn left a comment

Choose a reason for hiding this comment

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

Looking good!

@Shayawnn Shayawnn merged commit 4d12dac into master Apr 20, 2026
7 checks passed
@Shayawnn Shayawnn deleted the CsfyTask8565_Fix_the_issues_due_to_CmampTask10710_2 branch April 20, 2026 16:49
Comment thread helpers/hserver.py
"""
if not has_docker():
return False
if not has_dind_support() and not use_docker_sibling_containers():
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.

@heanhsok could you ptal at the error below? I think because of this change, it does not work via AirFlow anymore.

error:

Traceback (most recent call last):
  File "/venv/bin/invoke", line 8, in <module>
    sys.exit(program.run())
             ^^^^^^^^^^^^^
  File "/venv/lib/python3.12/site-packages/invoke/program.py", line 398, in run
    self.execute()
  File "/venv/lib/python3.12/site-packages/invoke/program.py", line 583, in execute
    executor.execute(*self.tasks)
  File "/venv/lib/python3.12/site-packages/invoke/executor.py", line 140, in execute
    result = call.task(*args, **call.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/venv/lib/python3.12/site-packages/invoke/tasks.py", line 138, in __call__
    result = self.body(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/helpers_root/helpers/lib_tasks_print.py", line 92, in print_env
    henv.env_to_str(
  File "/app/helpers_root/helpers/henv.py", line 536, in env_to_str
    msg += get_system_signature()[0] + "\n"
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/helpers_root/helpers/henv.py", line 498, in get_system_signature
    txt_tmp = hserver.get_docker_info()
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/helpers_root/helpers/hserver.py", line 735, in get_docker_info
    docker_needs_sudo_ = docker_needs_sudo()
                         ^^^^^^^^^^^^^^^^^^^
  File "/app/helpers_root/helpers/hserver.py", line 645, in docker_needs_sudo
    assert False, "Failed to run docker"
           ^^^^^
AssertionError: Failed to run docker

log file: https://test.airflow.causify.ai/dags/test.europe.horizon.itsavvy.run_pipeline/grid?dag_run_id=manual__2026-04-20T20%3A08%3A22.375108%2B00%3A00&task_id=derived_to_base_part_mapping&tab=logs

@samarth9008 FYI

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@PomazkinG, could we try to add back in those 2 removed lines, release from a feature branch, and test on Airflow again, if it works as a quick fix? I will try to understand how this change affects other containerized workflows in detail.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR for reviewers The PR needs to be reviewed by RPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.