Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Mryashbhardwaj
Copy link
Member

@Mryashbhardwaj Mryashbhardwaj commented Jul 6, 2022

proton PR:: raystack/proton#155

Future plans : #443

Mryashbhardwaj and others added 27 commits May 30, 2022 15:06
@Mryashbhardwaj Mryashbhardwaj changed the base branch from main to job_monitoring July 6, 2022 01:32
@coveralls
Copy link

coveralls commented Jul 6, 2022

Pull Request Test Coverage Report for Build 2838115849

  • 76 of 105 (72.38%) changed or added relevant lines in 7 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.1%) to 75.816%

Changes Missing Coverage Covered Lines Changed/Added Lines %
compiler/job_asset_compiler.go 22 23 95.65%
compiler/job_input_render.go 0 1 0.0%
compiler/job_run_input_compiler.go 13 14 92.86%
service/monitoring_service.go 5 10 50.0%
api/handler/v1beta1/job_run.go 33 54 61.11%
Files with Coverage Reduction New Missed Lines %
job/external_dependency_resolver.go 1 79.75%
service/monitoring_service.go 1 74.36%
Totals Coverage Status
Change from base Build 2823967747: -0.1%
Covered Lines: 7408
Relevant Lines: 9771

💛 - Coveralls

@sravankorumilli
Copy link
Contributor

I think it is better to create another PR for deprecating the old admin build instance command and the corresponding api

Copy link
Member Author

@Mryashbhardwaj Mryashbhardwaj left a comment

Choose a reason for hiding this comment

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

ready for review

>>>>>>> 4e23e7628ddeb1cc952e104a34959ebaf8a19451

"scheduled_at" : current_schedule_date.strftime(TIMESTAMP_FORMAT),
"scheduled_at_ts" : datetime.timestamp(current_schedule_date),
Copy link
Contributor

Choose a reason for hiding this comment

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

this is still there

current_dag_run_id = context.get('dag_run').run_id
schedule_time = context.get('next_execution_date')
=======
"task_start_timestamp" : datetime.timestamp(context.get('task_instance').start_date),
Copy link
Contributor

Choose a reason for hiding this comment

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

task_start_timestamp too is still there


def execute(self, context):

log_start_event(context, EVENT_NAMES.get("TASK_START_EVENT"))
Copy link
Contributor

Choose a reason for hiding this comment

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

you should merge these commits into one

@sravankorumilli sravankorumilli merged commit 7d24318 into main Aug 12, 2022
@sravankorumilli sravankorumilli deleted the job_compiled_spec_api branch August 12, 2022 11:08
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.

Add api to get compiled job specs for a given schedule time

5 participants