public TagList getStepInstanceTags(
      String workflowId,
      long workflowInstanceId,
      long workflowRunId,
      String stepId,
      String stepAttempt) {
    return getStepInstanceFieldByIds(
        StepInstanceField.INSTANCE,
        workflowId,
        workflowInstanceId,
        workflowRunId,
        stepId,
        stepAttempt,
        rs -> ObjectHelper.valueOrDefault(getInstance(rs).getTags(), Defaults.DEFAULT_TAG_LIST));
  }
@Test
  public void testGetStepInstanceTags() {
    TagList tags = stepDao.getStepInstanceTags(TEST_WORKFLOW_ID, 1, 1, "job1", "1");
    assertEquals(si.getTags(), tags);
    TagList latest = stepDao.getStepInstanceTags(TEST_WORKFLOW_ID, 1, 1, "job1", "latest");
    assertEquals(tags, latest);
  }